In: Statistics and Probability
How do we determine whether the actual slope of the regression line is not zero?
For this we used testing of hypothesis
State the Hypotheses
If there is a significant linear relationship between the independent variable X and the dependent variable Y, the slope will not equal zero.
Ho: Β1 = 0
Ha: Β1 ≠ 0
Formulate an Analysis Plan
The analysis plan describes how to use sample data to accept or reject the null hypothesis. The plan should specify the following elements.
Analyze Sample Data
Using sample data, find the standard error of the slope, the slope of the regression line, the degrees of freedom, the test statistic, and the P-value associated with the test statistic.
SE = sb1 = sqrt [ Σ(yi - ŷi)2 / (n - 2) ] / sqrt [ Σ(xi - x)
DF = n - 2
where n is the number of observations in the sample.t = b1 / SE
where b1 is the slope of the sample regression line, and SE is the standard error of the slope.Interpret Results
If the sample findings are unlikely, given the null hypothesis, the researcher rejects the null hypothesis. Typically, this involves comparing the P-value to thesignificance level, and rejecting the null hypothesis when the P-value is less than the significance level.
If we reject null hypothesis then we get B1 is not equal to zero