<< weighted_quartiles Probas Stats Sets >>

Scilab Scholar module for schools >> Probas Stats > weighted_std_deviation

weighted_std_deviation

weighted standard deviation (standard deviation for frequency distribution)

Calling sequence

s = weighted_std_deviation(v,n)

Arguments

v

vecor of real numbers

n

vector of positive real numbers

s

real number

Description

weighted_std_deviation(v,n) returns the standard deviation of the vector of numbers v weighted by the vector of numbers n with v and n of the same dimension and n a vector of positive numbers or zeros but not all zeros

Examples

v=[8,10,11]
n=[3,5,1]
weighted_std_deviation(v,n)

See Also

<< weighted_quartiles Probas Stats Sets >>