lecture 15, 16, 17 Flashcards
Large sample about population proportion
case 1: Ho: p=p0 vs Ha: p<p0 (reject H0 if z<-za)
case 2: H0: p=p0 vs Ha: p>p0 (reject H0 if z>za)
case 3: H0: p=p0 vs Ha: p (not=) p0 (reject H0 if z>za/2)
test stat for proportion
z= p(hat)-p/sqrt (pq/n)
conditions for large sample test for p
1: a random sample is selected form a binomial population
2: the sample size n is large. this condition will be satisfied if both np0>15 + nq0>15
goal of difference of means tests
mean1-mean2=0
standard error of statistic
sigma(x1-x2)= sqrt(sigma21/n1 + sigma22/n2)
one sided and two sided tests and rejection regions
u1-u2=0 vs u1-u2>0
z>za
u1-u2=0 vs u1-u2<0
z<-za
u1-u2=0 vs u1-u2 (not equal) 0
z>za/2
test stat
z=(x1-x2)-Do/ sqrt(s21/n1 + s22/n2)
conditions
2 samples are randomly selected in an independent manner from 2 target populations
n1>30 n2>30
on calculator
2-SampZtest or Ttest
conditions for the pooled sample thing
both populations are normal and sigma1 and sigma2 are equal (creates pooled sample estimator of variance)
what is s2p
minimum variance unbiased estimator of variance when variance1 and variance2= standard variation
what is pooled sample estimator of variance
simply a weighted average of 2 sample variances with height given each variance proportional to its degrees of freedom (n1+n2-2)
(n1-1)s21 + (n2-1)s22/ n1+n2-2
one sided tests and two sided tests for small samples
u1-u2=0 vs u1-u2>0
t>ta
u1-u2=0 vs u1-u2<0
t<-ta
u1-u2=0 vs u1-u2 not equal to 0
t>ta/2
calc functions for small sample
2-SampTint for confidence interval
2-SampTtest for p value
blocking
making comparisons within groups of similar experimental units