checkdist | R Documentation |
Using simulation, check the operating characteristics of two sample pooled and unpooled t tests, under various assumptions on the ratio of group standard deviations.
checkdist(m, n, nsamp = 10000, nrat = 5)
m |
number of independent observations in first group. |
n |
number of independent observations in second group. |
nsamp |
number of samples. |
nrat |
number of standard deviation ratios to explore, beginning at 1, ending at 10 |
A list with components out a matrix with nrat rows and two columns giving counts of samples with type I errors. rat the vector of sd ratios nsamp copy of the input nsamp m copy of the input m n copy of the input n
a<-checkdist(4,4,nsamp=1000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.