Sterr() returns the aggregated standard error (stdev/sqrt(n)) for a series of values represented by the expression iterated over a number of records as defined by a group by clause.
Return data type: numeric
|expr||The expression or field containing the data to be measured.|
|distinct||If the word distinct occurs before the expression, all duplicates will be disregarded.|
Text values, NULL values and missing values are disregarded.
Examples and results:
Add the example script to your app and run it. Then add, at least, the fields listed in the results column to a sheet in your app to see the result.
crosstable LOAD recno() as ID, * inline [
25|2 ] (delimiter is '|');
Sterr(Value) as MySterr
Resident Table1 Group By Type;
In a table with the dimensions Type and MySterr, the results of the Sterr() calculation in the data load script are: