Programming 15-29
Stat-One and Stat-Two commands
The following commands are used for analysis of one-
variable and two-variable statistical data.
Stat-One commands
DO1VSTATS Calculates STATS using datasetname and stores the results in
the corresponding variables: NΣ, TotΣ, MeanΣ, PVarΣ,
SVarΣ, PSDev, SSDev, MinΣ, Q1, Median, Q3, and MaxΣ.
Datasetname can be H1, H2, ..., or H5. Datasetname must
define at least two data points.
DO1VSTATS datasetname
SETFREQ Defines datasetname frequency according to column or value.
Datasetname can be H1, H2,..., or H5, column can be C0–C9
and value can be any positive integer.
SETFREQ datasetname;column
or
SETFREQ definition;value
SETSAMPLE Defines datasetname sample according to column.
Datasetname can be H1–H5, and column can be CO–C9.
SETSAMPLE datasetname;column
Stat-Two commands
DO2VSTATS Calculates STATS using datasetname and stores the results in
corresponding variables: MeanX, ΣX, ΣX2, MeanY, ΣY,
ΣY2, ΣXY, Corr, PCov, SCov, and RELERR. Datasetname
can be SI, S2,..., or S5. Datasetname must define at least four
pairs of data points.
DO2VSTATS datasetname
SETDEPEND Defines datasetname dependent column. Datasetname can be
S1, S2, …, or S5 and column can be C0–C9.
SETDEPEND datasetname;column
SETINDEP Defines datasetname independent column. Datasetname can
be S1, S2,…, or S5 and column can be C0–C9.
SETINDEP datasetname;column