ReferencestandardDeviation

<standardDeviation>

<standardDeviation> is a Math Operator component that renders the standard deviation of a list of enclosed data values according to the equation:

σ(x)=i=1n(xixˉ)2n1\sigma(x) = \sqrt{\frac{\sum_{i=1}^n (x_{i} - \bar x)^2}{n-1}}

In this equation, xˉ\bar x represents the mean of the sample and nn the number of data points. By default, the sample standard deviation is calculated. If instead, the population attribute is specified as “true”, the equation becomes:

σ(x)=i=1n(xixˉ)2n\sigma(x) = \sqrt{\frac{\sum_{i=1}^n (x_{i} - \bar x)^2}{n}}

Attributes and Properties

Attributes for <standardDeviation>
AttributeTypeValues
anchor = "…"point
createIntervals = "…"boolean"true" "false"
createVectors = "…"boolean"true" "false"
displayBlanks = "…"boolean"true" "false"
displayDecimals = "…"integer
displayDigits = "…"integer
displaySmallAsZero = "…"number
draggable = "…"boolean"true" "false"
expand = "…"boolean"true" "false"
forceNumeric = "…"boolean"true" "false"
forceSymbolic = "…"boolean"true" "false"
format = "…"text"text" "latex"
functionSymbols = "…"textList
layer = "…"number
padZeros = "…"boolean"true" "false"
parseScientificNotation = "…"boolean"true" "false"
population = "…"boolean"true" "false"
positionFromAnchor = "…"text"upperright" "upperleft" "lowerright" "lowerleft" "top" "bottom" "left" "right" "center"
referencesAreFunctionSymbols = "…"
renderMode = "…"text
simplify = "…"text"none" "full" "numbers" "numberspreserveorder"
splitSymbols = "…"boolean"true" "false"
unordered = "…"boolean"true" "false"
Props for <standardDeviation name="s">
PropertyType
$s.anchorpoint
$s.backgroundColortext
$s.createIntervalsboolean
$s.createVectorsboolean
$s.disabledboolean
$s.displayBlanksboolean
$s.displayDecimalsinteger
$s.displayDigitsinteger
$s.displaySmallAsZeronumber
$s.draggableboolean
$s.expandboolean
$s.fixedboolean
$s.fixLocationboolean
$s.forceNumericboolean
$s.forceSymbolicboolean
$s.formattext
$s.functionSymbolstextList
$s.hiddenboolean
$s.isNumberboolean
$s.isNumericboolean
$s.latexlatex
$s.layernumber
$s.list[ math ]
$s.matrix[ math ]
$s.matrixSizenumberList
$s.numbernumber
$s.numColumnsinteger
$s.numDimensionsinteger
$s.numListItemsinteger
$s.numRowsinteger
$s.padZerosboolean
$s.parseScientificNotationboolean
$s.populationboolean
$s.positionFromAnchortext
$s.renderModetext
$s.simplifytext
$s.splitSymbolsboolean
$s.texttext
$s.textColortext
$s.textStyleDescriptiontext
$s.unorderedboolean
$s.valuestandardDeviation
$s.vector[ math ]
$s.xmath
$s.ymath
$s.zmath

Example: <standardDeviation> of a list of numbers

The <standardDeviation> component is used without any additional attributes. Data is directly entered in the form of a list of numbers separated by spaces within the opening and closing tags.


Attribute Example: population

The <standardDeviation> component is used with the population attribute and the population standard deviation is calculated according the second equation shown above.