Power - Independent Samples t-test


Notes and Considerations

 
See "NOTES Indep Samples t-test Sample Size Derivation.pdf" attached.



Data Set

 



Analysis or Script File


Examples using Statistica
  • Cephas Latex MEC Sample Size.doc (attached)
  • Cephas Sample Size.stw (attached)


Example Using R software

library(TeachingDemos)

?TeachingDemos
?power.examp

#-------------------------
# one interactive graphical demo
#-------------------------
power.examp(n = 1, stdev = 1, diff = 1, alpha = 0.05, xmin = -2, xmax = 4)
run.power.examp.old()
#-------------------------

#-------------------------
# another interactive graphical demo
#-------------------------
run.power.examp(hscale=1.5, vscale=1.5, wait=FALSE)
#-------------------------



library(TeachingDemos)

power.t.test


Comments