sem

Syntax

sem(X)

Arguments

X is a numeric vector/matrix/table.

Details

Return unbiased (normalized by N-1) standard error of the mean over X .

  • If X is a matrix, calculate the standard error for each column and return a vector.

  • If X is a table, calculate the standard error of each column and return a table.

Examples

[1,4,9,10,20,32].sem();
// output
4.688046

[1,4,9,10,NULL,20,32].sem();
// output
4.688046