Description Usage Arguments Details Value Note References Examples
This function determines how powerful the test is (description)
1 2 3 | pow.ana.gen.decision(mean.prob1 = c(0.8, 0.2, 0.5), mean.prob2 = c(0.8,
0.2, 0.5), effn.subsam1 = c(5, 5, 5, 5), effn.subsam2 = c(5, 5, 5,
5), N.rep = 10^3, boot.rep = 10^3)
|
mean.prob1, mean.prob2, effn.subsam1, effn.subsam2, N.rep, boot.rep |
(arguments here) |
(details here; DIU)
c(mean(out[,1]),sd(out[,1]),sum(out[,3]<.05)/N.rep) (return value here)
(notes here; DIU)
(references here; DIU)
1 2 3 | fn.rep<-10^3
num.fold<-1
pow.ana.gen.decision(mean.prob1=c(.8,.2,.5),mean.prob2=c(.4,.3,.2),N.rep=10^2, boot.rep=10^3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.