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
Example of Functions which complete a task: For illustration, the function below just prints the number arguments passed to it in a sentence format: As this function i

Illustration of Median When the vector is not in sorted order to start with, the median function will still return the right answer (it will sort the vector automatically). For

Vectors of nested structures: The Combining vectors and nested structures are possible to have a vector of structures in which several fields are structures themselves. Here i

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 a

Nested Functions: We have seen that the loops can be nested, that means that one inside of the other, functions can be nested. The terminology for nested functions is that an

Program of Persistent variables: The program below elaborates this. The script calls a function func1 that initializes a variable count to 0, then increment it, and print the

function sortrows - sorting strings: The function sortrows sorts each and every row as a block, or group, and it also will work on numbers. Here in this illustration the rows

Functions which complete a task without returning Values: Most of the functions do not compute values, but instead of accomplish a task like printing formatted output. As thes

Advanced File Input and Output: In that section, we saw how to read the values entered by user using the input as well as the output functions disp and fprintf, that shows inf

Illustration of Nested loops: Running the script shows the output: >> printstars ***** ***** ***** The variable rows identifies the number of rows to print, and