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

Logical built-in functions, Logical Built-In Functions: There are buil...

Logical Built-In Functions: There are built-in functions in the MATLAB which are useful in conjunction with vectors or matrices of all logical true or false values; two of the

Generic code for reading from files, Generic code for Reading from Files: ...

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

Advanced file input and output, Advanced File Input and Output: In tha...

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 mode, Illustration of Mode When there is more than one ...

Illustration of Mode When there is more than one value with similar (highest) frequency, then the smaller value is mode. In the case below, as 3 and 8 appear twice in the vecto

Create a custom chi-square function in matlab, Introduction and Purpose ...

Introduction and Purpose In the lectures and tutorials you have been introduced to a number of probability distributions. You have also learned that modelling any system (such

Run-time or execution-time error, Run-time or execution-time error: Th...

Run-time or execution-time error: The Run-time, or execution-time, errors are found whenever a script or function is executing. With most of the languages, an illustration of

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

If statement - matlab programming, The IF Statement: The if statement ...

The IF Statement: The if statement selects whether or not the other statement, or group of statements, is executed. The common form of the if statement is as shown below: i

Advanced file input and output, Advanced File Input and output: Where ...

Advanced File Input and output: Where 'format' involves the conversion characters much like those used in the fprintf function. For illustration, to read the file 'subjexp.dat

Illustration of median, Illustration of Median When the vector is not 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

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