Statistics, MATLAB in 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
Logical errors: The Logical errors are more complicated to locate, as they do not result in any error message. The logical error is a mistake in reasoning by the programmer, b

fopen function - file function: The fopen opens the file for reading. The fscanf then reads each line one double and one character, and put each pair in individual columns in

Persistent Variables: Generally, whenever a function stops executing, then the local variables from that function are cleared. That means that each and every time a function i

Graphics objects: The objects involve graphics primitives like lines and text, and also the axes used to orient the objects. These objects are organized hierarchically, and the

Example of Vectorizing: Likewise, for an operation on a matrix, a nested loop would be needed; for illustration, supposing a matrix variable mat: [r c] = size(mat); for

Core Objects: The Core Objects in MATLAB are the very fundamental graphics primitives. The description can be found under the MATLAB Help: Under the Contents tab, click the Ha

Illustration of Input in a for loop: In this illustration, the loop variable iv iterates through the values 1 through 3, therefore the action is repeated three times. The acti

#qYou will need to examine two of the nine sections of data: one section of qualitative data (choose either Gender or Position) one section of quantitative data (choose either Intr

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

Working of Editor and debugger: Editor/Debugger, or commands can be typed from Command Window. For illustration, the dbstop command below will set a breakpoint in the fifth li