single measurement to a population
Z: (x-mu)/stdev
P: 2* norm.dist(-abs(Z),0,1,1)
sample to population, given mu and stdev
Z: (xbar-mu)/(stdev/(sqrt n))
P: 2*norm.dist(-abs(Z),0,1,1)
sample to population, given only mu
T: (xbar - mu)/(Sx/(sqrt n))
*Sx: sample stdev*
P: t.dist.2t(abs(T),df)
sample to sample, correlated
P: t.test(sample1,sample2, 2, 1)
sample to sample, uncorrelated
P: t.test(sample1,sample2, 2, 2)
many samples
ANOVA