Regression, Correlation and Hypothesis Testing Flashcards
Linear regression with coding data
Substitute the coding formulas into the given equation and rearrange
Regression line of x on y
x = my + c
Finding PMCC or regression line on calculator
Stat Type data into table Graph Click calc and X ax+b a and b are given, r is PMCC
PMCC range
|r| <= 1
1 is a straight line with positive gradient, -1 with negative gradient
PMCC Hypothesis testing test statistic
r - the calculated PMCC of the sample
PMCC Hypothesis testing parameter
ρ - the PMCC of the population
PMCC Hypothesis testing null hypothesis
H0 - always that ρ = 0
State whether one tailed or two tailed
PMCC Hypothesis testing one-tailed vs two-tailed
One tailed is testing for positive or negative correlation specifically (ρ>0 or ρ<0)
Two-tailed is testing that there is a correlation (ρ != 0)
PMCC Hypothesis testing alternative hypothesis
H1 - ρ > 0 or ρ < 0 (one-tailed) or ρ != 0 (two-tailed)
Hypothesis testing significance level
α - the percentage chance that there isn’t a correlation
Will be decimal in the formula book
Half for two-tailed
Hypothesis testing method
note n, r, H0, H1, α, critical value and whether one or two-tailed
Compare r to critical value for n and α in formula book table
Make conclusion
Hypothesis testing conclusion
Compare r to α, state if there is enough evidence to reject H0 and state the significance level
Critical region
The set of all values of the test statistic that would cause you to reject the null hypothesis
Binomial hypothesis testing (one-tailed)
let p = the probability of success H0: p = what the probability should be H1: p > or < what it should be Let X be the number of successes X~B(n,p) p = P(x<= or >= actual value) α = significance level if α > p, we can reject H0 at the significance level
Two-tailed binomial hypothesis test
Half the significance level
Find np for the significance level and use P(X<=expected value) if the number you are checking is less than that, otherwise P(X>=expected value)