Statistics - Hypothesis Testing Flashcards
what type of situations would you apply hypothesis testing
is a population parameter different from a predicted value, difference between two observations on each of the elements of a population (paired measurements), difference between two groups of a population
what is a hypothesis
a statement about the value of a population parameter or probability distribution
what is H0 and what does it typically indicate
the null hypotheses which typically indicates no difference
what is H1 and what does it typically indicate
the alternative hypothesis which typically indicates some difference eg <, >, ≠
what is the test idea
take a random sample, test if there is sufficient evidence to reject the null hypothesis in favour of the alternative hypothesis
what is a type I error
rejecting H0 when it should have been accepted
what is a type II error
accepting H0 when it should have been rejected
what is the meaning of the confidence level in hypothesis testing
α is the maximum probability with which we are willing to risk a type I error, ie rejecting H0 when it is correct
what are the seven general steps to a hypothesis test
- decide null hypothesis
- decide alternative hypothesis
- decide significance level
- calculate observed value of test statistic
- find tabulated test statistic
- compare values from 4 and 5
- state conclusion
what is μ0
the predicted mean
for a one sample t-test what is the calculated test statistic Calc T
(xbar - μ0)/(s/sqrt(n))
for a one sample t-test what is the tabulated test statistic Tab T for one sided tests
tn-1;α
for a one sample t-test what is the tabulated test statistic for a two sided test
tn-1;α/2
for a one sided t-test what is the rejection criteria for H0 if H1 is μ > μ0
Calc T>Tab T
for a one sided t-test what is the rejection criteria for H0 if H1 is μ < μ0
Calc T<-Tab T
for a two sided t-test what is the rejection criteria for H0 if H1 is μ ≠ μ0
|Calc T|>Tab T
what is the p-value of the test
assuming H0 is true, the probability that the calculated test statistic will take on values as extreme or more extreme than the observed test statistic computed from the sample data
a small p-value computed from the sample data shows
strong evidence against H0