Lecture 7 Flashcards
Hypothesis Testing with One Sample
What are the steps in a hypothesis test?
- identify needed values (n, p-hat, p, s, x-bar, etc)
- set up null/alt, level of sig, and type of tail
- choose test statistic
- calculate test statistic
- based on tail test/alpha, determine crit. value
- compare test stat to crit.value and conclude
What is a two tailed test?
critical region is split into 2 ends (H1 not equal x)
Why are two tail tests preferred?
Because the rejection region is split in 2 (smaller area of rejection) thus are less likely to reject null/make accurate decision about rejecting null (less error)
What is a right tailed (upper) test?
critical region to the RIGHT end (H1>x)
What is a left tailed (lower) test?
critical region to the LEFT end (H1<x)
What is the significance level?
represents how much error is able to be held within the values of X% CI
Why are smaller p-values better?
a smaller p-value means there’s less error
When something is statistically significant, is the null rejected or accepted?
rejected
What two scenarios is the null rejected?
- when crit. value falls in crit.region
- when p-value is LESS than 0.05 (investigator’s findings are true)
What are the two types of error in hypothesis testing?
- type I error (null is true even though rejected, false positive)
- type II error (null is really false even though accepted, false negative)
How can type II error be minimized?
with a larger sample size
What does the p-value represent?
the probability of making a type I error
What is the test statistic for a single sample PROPORTION compared to a population?
z= p-hat - p / root (p*q/n)
- p-hat = x/n (sample proportion)
- p = population proportion in null
What two calculations are ran to assume the sample is normally distributed?
np and nq >= 5
How does one determine a P-value?
find where the calculated test statistic would hypothetically fit in the crit.values in the row of DF and determine if it would be found > or < of a certain confidence level