Next: findpower()
Up: Design Macros Help File
Previous: ffdesign2()
Contents
Usage:
findncp(means,nis,sigma2) means a REAL vector, nis a vector of positive
integers, sigma2 a positive REAL; means and nis must be the same length.
|
Keywords:
design
Usage
findncp(means,nis,sigma2) computes the noncentrality for the F-test in
the one-way anova testing the null hypothesis of no treatment
differences when the means, sample sizes, and error variance are as
given. Arguments means and nis must be vectors of the same length
(one element for each treatment). Argument nis must be postive
integers and sigma2 must be a postive REAL.
Examples
Here we have three treatment groups with means 2.2, 2.8, and 3.1, and
sample sizes 2, 2, and 8 respectively. The error variance is 2, and
the noncentrality parameter is found to be .66
Cmd> findncp(vector(2.2,2.8,3.1),vector(2,2,8),2)
(1) 0.66
Gary Oehlert
2006-01-30