pow.ana.gen.decision: pow.ana.gen.decision function

Description Usage Arguments Details Value Note References Examples

View source: R/WSeedCode2.R

Description

This function determines how powerful the test is (description)

Usage

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)

Arguments

mean.prob1, mean.prob2, effn.subsam1, effn.subsam2, N.rep, boot.rep

(arguments here)

Details

(details here; DIU)

Value

c(mean(out[,1]),sd(out[,1]),sum(out[,3]<.05)/N.rep) (return value here)

Note

(notes here; DIU)

References

(references here; DIU)

Examples

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)

miv5219/Stapleton_Lab documentation built on Nov. 4, 2019, 6:56 p.m.