Illustration of standard deviation, MATLAB in Mathematics

Illustration of Standard Deviation

The less spread out the numbers are, therefore smaller the standard deviation will be, as it is a way of determining the spread of the data. Similarly, the more spread out the numbers are, the bigger the standard deviation will be. For illustration here are two data sets which have similar number of values and also the similar mean, but the standard deviations are quite dissimilar:

>> x1 = [9 10 9.4 9.6];

>> mean(x1)

ans =

    9.5000

>> std(x1)

ans =

    0.4163

>> x2 = [2 17 -1.5 20.5];

>> mean(x2)

ans =

    9.5000

>> std(x2)

ans =

    10.8704

Posted Date: 10/22/2012 7:02:04 AM | Location : United States







Related Discussions:- Illustration of standard deviation, Assignment Help, Ask Question on Illustration of standard deviation, Get Answer, Expert's Help, Illustration of standard deviation Discussions

Write discussion on Illustration of standard deviation
Your posts are moderated
Related Questions
The variance is generally defined in terms of the arithmetic mean as: At times, though, the denominator is defined as n instead of n - 1. The default definition used by t

sprintf function: The sprintf function works precisely like the fprintf function, but rather than printing it generates a string. Here are some illustrations in which the outp

Illustration of Writing variables to a file: For illustration, in the below session in the Command Window, 3 variables are generated; these are then exhibited using who. Then,

Illustration of Advanced file input and output: For illustration, to refer to the third number in the first element of the cell array: >> subjdata{1}(3) ans =

bar and barh functions: For a matrix, the bar and barh functions will group altogether the values in each and every row. The illustration is as shown: rm = randint(2,4,[1

Illustration of a recursive function: illustration is of a recursive function which does not return anything, but simply prints. The below function prtwords receives a sentenc

strvcat function - concatenation: The function strvcat will concatenate it vertically, that means that it will generate a column vector of the strings.   >> strvcat(fir

Three-dimensional pie and bar: For the bar3 function, x & y vectors are passed and the function displays three-dimensional bars as shown in figure: Figure: Three-dimen

Error-Checking for Integers: As MATLAB uses the type double by default for all the values, to check to make confirm that the user has entered an integer, the program have to c

Minimum and Maximum Value The MATLAB has built-in functions for numerous statistics. For illustration, min and max to find the minimum or maximum value in a data set. >> x