standardError(A)

Returns the standard error of the entries in array A.

standardError(M)

Returns an array with the standard error of each column of matrix M.

The standard error is defined as the standard deviation divided by the square root of the sample size.


See also skewError standardDeviation 


Example


A=random(10,1,20)

( 2 4 19 6 14 11 2 11 9 13 )

standardError(A)

1.7667

M=randommatrix(10,4,1,20)

/ 10 18  4  8 \

| 16 12 17 17 |

|  5 17 19  4 |

| 19 11  1 17 |

|  9  5 17 19 |

| 20  4  9  7 |

|  9  3  2 12 |

| 12 17  5 10 |

| 15 14  7 16 |

\ 16 19  1 18 /

standardError(M)

( 1.538 1.9264 2.2201 1.6786 )