[R] small sample techniques
m_olshansky at yahoo.com
Wed Aug 8 03:05:06 CEST 2007
If the two populations are normal the t-test gives you
the exact result for whatever the sample size is (the
sample size will affect the number of degrees of
When the populations are not normal and the sample
size is large it is still OK to use t-test (because of
the Central Limit Theorem) but this is not necessarily
true for the small sample size.
You could use simulation to find the relevant
--- "Nair, Murlidharan T" <mnair at iusb.edu> wrote:
> If my sample size is small is there a particular
> switch option that I need to use with t.test so that
> it calculates the t ratio correctly?
> Here is a dummy example?
> á =0.05
> Mean pain reduction for A =27; B =31 and SD are
> SDA=9 SDB=12
> t.test(drgA.p,drgB.p) # what do I need to give as
> additional parameter here?
> I can do it manually but was looking for a switch
> option that I need to specify for t.test.
> Thanks ../Murli
> [[alternative HTML version deleted]]
> > ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained,
> reproducible code.
More information about the R-help