Site Title

var

Syntax

var(expOrList, varOrFreqList)

Description

Calculates the variance of a continuous or discrete distribution. This function has the same parameters as sd.

Warning

This function does not work for all possible inputs. In particular it won't work for the normal distribution.

Parameters

expOrList
An expression (for a continuous distribution) or a list (for a discrete distribution) that defines the distribution.
varOrFreqList
For a continuous distribution this should be the variable in expOrList. For a discrete distribution this can either be a frequency list describing how often each element in expOrList occurs or void. Elements of the frequency list can be any real number. If varOrFreqList is void each element is assumed to have occurred once.

Return Value

The variance.

Examples

TI-Nspire Screen 0