Sib-pair Command: power


ClassGlobal Utility
Namepower
Arguments [[ncp] <ncp>] [p <alpha>] [df <degrees of freedom>] [number <nobs>]

Calculate power for a likelihood ratio test assuming the given noncentrality parameter, degree of freedom, and alpha level. If desired, a multiplier (number) for the NCP can be specified, and multiple number keyword-value pairs can be specified.

Example:

>> power 0.02  n 50 n 100

 Crit Chi-sq     df   Alpha       NCP          N   Power
------------ ------ ---------- ------------ ------ ------
        3.84      1  0.500E-01       0.0200     50 0.1702  
        3.84      1  0.500E-01       0.0200    100 0.2931  


<< (pchisq)Up to index>> (qchisq)