Sponsored links: Algebra eBooks ### The Maxima on-line user's manual

Algebra Calculator

#### Search: #### Var

Function: var (<list>) Function: var (<matrix>) This is the sample variance, defined as n ==== 2 1 \ _ 2 s = - > (x - x) n / i ==== i = 1

Example:

```          (%i1) load (descriptive)\$
(%i2) s1 : read_list (file_search ("pidigits.data"))\$
(%i3) var (s1), numer;
(%o3)                   8.425899999999999```

See also function `var1`.

There are also some inexact matches for `var`. Try `?? var` to see them.

```(%o1)                                true
(%i2) ```

### Related Examples

var: "var";

Calculate

##### var

var (p, q, l, fx, e, ...

eq1: nx=p+q*x;

Calculate

##### var

var([0,1,2,3,4]);

Calculate

##### var

var (p, q, l, fx, e, ...

Calculate

var: rand(10);

Calculate

var: "var";

Calculate

var: rand(10);

Calculate

##### var

var (p, q, l, fx, e, ...

eq1: nx=p+q*x;

eq2: sx=nx/fx;

Calculate

? tr_state_var;

Calculate

##### var

var (p, q, l, fx, e, ...

Calculate 