Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Power calculation

Status
Not open for further replies.

isma786

Technical User
Apr 7, 2004
31
US
Hi

Does anyone know to derive the non-centrality parameter in SAS probability functions.

Thanks
 
This probably will not help you ,but I found this in google groups.

Written on 4/24/2001 by a Dale McLerran.

****
Noncentrality parameters represent the population value of a statistic. As such, they cannot be computed, only estimated and later assumed. Obviously, the estimation of a noncentrality parameter depends on the model being investigated.

Generally, the noncentrality parameter finds its way into statistics when computing power for some test statistic. There, you compute power given noncentrality parameter theta. Theta is unknown, but assumed to be of a certain magnitude based on previous research or based on what would be of real world interest.
***

I found this at the following location:

I also found in the SAS Online docs the following formula for non-centrality > 0.

(This is from the documentation of the FINV function.)
***
The FINV function returns the pth quantile from the F distribution with numerator degrees of freedom ndf, denominator degrees of freedom ddf, and noncentrality parameter nc. The probability that an observation from the F distribution is less than the quantile is p. This function accepts noninteger degrees of freedom parameters ndf and ddf.

If the optional parameter nc is not specified or has the value 0, the quantile from the central F distribution is returned. The noncentrality parameter nc is defined such that if X and Y are normal random variables with means µ and 0, respectively, and variance 1, then (x**2/y**2) has a noncentral F distribution with nc = µ**2.

CAUTION:
For large values of nc,the algorithm could fail; in that case, a missing value is returned.
Note: FINV is the inverse of the PROBF function.
EX.
These statements compute the 95th quantile value of a central F distribution with 2 and 10 degrees of freedom and a noncentral F distribution with 2 and 10 degrees of freedom and a noncentrality parameter equal to 3.2:


q1 = finv(.95,2,10); --> 4.1028210151
q2 = finv(.95,2,10.3,2); --> 7.583766024


***

The above is located at the following location:

You may need a userid:eek:nlinedoc pwd:sas

I hope that this helped you.
Klaz
 
KLAZ,

thanks for your reply, will have a look at this..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top