Statistics, MATLAB in Statistics

Assignment Help:

Statistics

There are numerous statistical analyses which can be executed on data sets. In MATLAB software, the statistical functions are in the data analysis help topic known as datafun.

In common, we will write a data set of n values as

x ={x1, x2, x3, x4, .  .  .  ,xn}

In MATLAB, this will usually be represented as a row vector known as x.

The Statistics can be used to characterize the properties of a data set. For illustration, consider a set of exam grades {33, 75, 77, 82, 83, 85, 85, 91, 100}. What is a "normal", or "average" or "expected", exam grade? There are many ways that this could be interpreted. Perhaps the most general is the mean grade that is found by summing the grades and dividing by the number of them (the answer would be 79). The other way of interpreting that would be the grade found the most frequent, that would be 85. The value in the middle of the list, 83, could also be used. The other property which is useful to know is how spread out the data values is in the data set.

This part will cover several simple statistics, as well as set operations which can be executed on data sets. A few statistical functions need that the data set be sorted; therefore sorting will also be covered. By using index vectors is a way of representing the data in order, with no physically sorting of the data set. Lastly, searching for values within a data set or database is also helpful.


Related Discussions:- Statistics

Example of median, Example of Median For the vector [1 4 5 9 12 33], th...

Example of Median For the vector [1 4 5 9 12 33], the median is the average of the 5 & 9 in the middle: >> median([1 4 5 9 12 33]) ans =     7

Use of function polyval, Use of function polyval: The better the curve...

Use of function polyval: The better the curve fit, the more exact these interpolated and extrapolated values will be. By using the subplot function, we can loop to display the

Reading from files, Reading from Files: There are many lower level fun...

Reading from Files: There are many lower level functions which read from files. The function fscanf reads the formatted data into a matrix, by using conversion formats like %s

Properties of the text box - graphics objects, Properties of the text box -...

Properties of the text box - graphics objects: By using get will show properties of the text box, the illustration is as shown below: >> get(thand)   BackgroundColor

Functions which return values versus printing, Functions which return Value...

Functions which return Values versus printing: Also, the function which computes and returns values (throughout the output arguments) does not generally print them; that is le

Illustration of tracing a error, Illustration of tracing a error: The ...

Illustration of tracing a error: The one way of following the flow of function, or tracing it, is to use the echo function. The echo function, that is a toggle, will show each

Roots function - polynomials, Roots function - Polynomials: The roots ...

Roots function - Polynomials: The roots function in MATLAB is used to find the roots of an equation represented by a polynomial. For illustration, for the mathematical functio

Function polyval - interpolation, Function polyval - interpolation: Th...

Function polyval - interpolation: The function polyval can then be used to compute the polynomial at particular values. For illustration, we could compute at every value in th

Illustration of customizing plots, Illustration of Customizing plots: ...

Illustration of Customizing plots: Illustration, the bar and barh functions by the default place a width of 0.8 between bars. Whenever called as bar(x,y), the width of 0.8 is

Editor and debugger, Editor/Debugger: The MATLAB has numerous useful f...

Editor/Debugger: The MATLAB has numerous useful functions for debugging, and debugging can also be completed through its editor, which is known as the Editor/Debugger. Typi

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd