|
UNIFORM CHISQUAREName:
where
<SUBSET/EXCEPT/FOR qualification> where <y> is the response variable; <a> is a parameter where the computed statistic is saved; and where the <SUBSET/EXCEPT/FOR qualification> is optional.
LET A = UNIFORM CHISQUARE Y1 SUBSET TAG > 2
LET Y = UNIFORM RANDOM NUMBERS FOR I = 1 1 1000
LET Y1 X1 = BINNED Y
LET Y = NORMAL RANDOM NUMBERS FOR I = 1 1 1000
LET Y2 X2 = BINNED Y
LET Y = EXPONENTIAL RANDOM NUMBERS FOR I = 1 1 1000
LET Y3 X3 = BINNED Y
LET A1 = UNIFORM CHISQUARE Y1
LET A2 = UNIFORM CHISQUARE Y2
LET A3 = UNIFORM CHISQUARE Y3
SET WRITE DECIMALS 4
PRINT A1 A2 A3
The following output is generated.
PARAMETERS AND CONSTANTS--
A1 -- 32.1920
A2 -- 793.6520
A3 -- 1691.2492
|
Privacy
Policy/Security Notice
NIST is an agency of the U.S.
Commerce Department.
Date created: 06/23/2014 | ||||||||||