Statistics, MATLAB in Statistics

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.

Posted Date: 10/22/2012 6:51:13 AM | Location : United States







Related Discussions:- Statistics, Assignment Help, Ask Question on Statistics, Get Answer, Expert's Help, Statistics Discussions

Write discussion on Statistics
Your posts are moderated
Related Questions
Location of a rectangle - graphics objects: The location of a rectangle is [x y w h], where x and y are the coordinates of the lower left point, here w is the width, and h is

Example of sorting strings: To sort a cell array of strings, also the sort function is used. The illustration is as follows, >> engcellnames = {'Chemical','Mechanical',.

Operation on file: We concentrate first on the fgetl function that reads strings from the file one line at a time. The fgetl functions afford more control over how the data is

Curve Fitting: The data is fundamentally either discrete or continuous. In most of the applications, data is sampled, for illustration, The temperature recorded every ho

Generic code for Reading from Files: The generic code to complete this is as shown below:   fid = fopen('filename'); if fid == -1    disp('File open not suc

Help function: Function is computing the two values, there are two output arguments in the function header (i.e., area & circum), that are placed in the square brackets [ ]. A

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

Variable packages: Variable packages are now the vector of structures, hence each and every element in the vector is a structure. To show one element in the vector, an index i

Polynomials: Simple curves are polynomials of various degrees, or orders. The degree is the integer of the highest exponent in the expression. The illustrations are as follows

Sequential Search: A sequential search is completed by looping through the vector element-by-element starting from the beginning, looking for the key. Usually the index of the