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
Strings as matrix: The matrix can be generated, that consists of strings in each row. Therefore, essentially it is created as a column vector of strings, but the final result

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

Plot types: Besides plot and bar, there are another plot types like stem plots, histograms, stem plots, area plots and pie charts, and also other functions which customize the

Example of Symbolic Expression When there is more than one variable, the MATLAB selects which to solve for. In the illustration below, the equation ax 2 + bx = 0 is solved. Th

Program of built-in factorial function: Calling this function yields similar result as the built-in factorial function: >> fact(5) ans =   120 >> factorial(

Give the formula for a rational function that has a hole at x=7 & vertical asmptote at x=-3/2

Writing to Files: There are many lower level functions which can write to files. We will focus on the fprintf function that can be used to write a file and also to append to a

Built-in function for Differentiation: The MATLAB has a built-in function, diff that returns the differences between consecutive elements in a vector. For illustration, >>

Illustration of nested function: The output arguments are distinct from variables. The scope of an output argument is merely the nested function; and it cannot be used in the

Example of Minimum and Maximum Value For matrices, the functions min and max operate column wise by the default: >> mat = randint(2,4,[1 20]) mat =    9   10   1