Professional Documents
Culture Documents
Chapter 12 - Lecture 2 Inferences About Regression Coefficient
Chapter 12 - Lecture 2 Inferences About Regression Coefficient
Introduction
Confidence interval and Hypothesis testing using slope
Tests based on correlation
Exercises
Chapter 12 - Lecture 2
Inferences about regression coefficient
Andreas Artemiou
Introduction
Review
Facts about slope
Confidence interval and Hypothesis testing using slope
Test Statistic
Confidence interval
Hypothesis testing
Test using ANOVA Table
Example
Tests based on correlation
Review
Estimation
Tests
Example
Other inferences concerning
Exercises
Andreas Artemiou Chapter 12 - Lecture 2 Inferences about regression coefficient
Outline
Introduction
Review
Confidence interval and Hypothesis testing using slope
Facts about slope
Tests based on correlation
Exercises
Review
Slope facts
I E (1 ) = 1
2
I Var (1 ) =
Sxx
I What can we say about the distribution of 1 when n is large?
I So using this fact we can use a test statistic to make inference
about the slope of the regression line. What test statistic can
we use?
I What is a problem with the test statistic above?
Test statistic
1 1 1 1
T = =
S S1
Sxx
I Can you find the distribution of the above?
1 tn2,/2 S1
Hypothesis test
I Null Hypothesis: H0 : 1 = 10
1 10
I Test statistic: t = tn2
s1
I Rejection Regions:
I t tn2, if HA : 1 > 10
I t tn2, if HA : 1 < 10
I t tn2,/2 and t tn2,/2 if HA : 1 6= 10
ANOVA Table
Example
I I want to find the regression line that relates the scores on the
two Midterms in Stat 319. I randomly select five students and
the score they had in Midterm 1 are 50, 70, 75, 80, 95 and in
the same order the scores they had in Midterm 2 is 40, 65, 95,
90, 100.
I Find a 95% Confidence Interval for the regression slope.
I Make a test using a t-test to see if there is a relationship
between the scores of the two midterms at significance level
0.02
I Make a test using an F-test to see if there is a relationship
between the two scores at significance level 0.02.
Hypothesis testing
Example
I I want to find the regression line that relates the scores on the
two Midterms in Stat 319. I randomly select five students and
the score they had in Midterm 1 are 50, 70, 75, 80, 95 and in
the same order the scores they had in Midterm 2 is 40, 65, 95,
90, 100.
I Perform a hypothesis testing procedure to test if there is
significance evidence of positive relationship between the two
scores at significance level 0.05
I Last test we have seen about can be used only for the null
H0 : = 0.
I What happens if we want to test for the null H0 : = 0
when 0 6= 0?
I We will use Fisher transformation and random variable:
1 1+R
V = log
2 1R
Distribution
Hypothesis testing
I Null hypothesis: H0 : = 0
I Test statistic:
1 1+r 1 1 + 0
log log
2 1r 2 1 0
z= N(0, 1)
1
n3
I Rejection Regions:
I z z if HA : > 0
I z z if HA : < 0
I z z/2 and z z/2 if HA : 6= 0
Example
I I want to find the regression line that relates the scores on the
two Midterms in Stat 319. I randomly select five students and
the score they had in Midterm 1 are 50, 70, 75, 80, 95 and in
the same order the scores they had in Midterm 2 is 40, 65, 95,
90, 100.
I Make a hypothesis test at significance level 0.05 to see if
there is significant evidence that the correlation coefficient is
different than 0.5.
I Find a 99% confidence interval for .
Exercises