Std Function

Contents Index


The Std function returns the standard deviation of argument variables which have nonmissing values. The divisor is n()-1. Examples:

sdev=Std(x, y, z);
sdev=Std(of x1-x10);
sdev=Std(of x y z);

The first and last example assign sdev the standard deviation of the variables x, y, and z which have nonmissing values. Note the differences in syntax. The last example returns the standard deviation of the variables among x1, ..., x10 which have nonmissing values.


Contents Index

Copyright © 1997 by Jerry Alan Veeh. All rights reserved.