Simple Linear Regression, Slides of Statistics

FOUNDATIONAL CONCEPTS Model Specification: What is SLR? y = β₀ + β₁x + ε Response vs. predictor variable What does the line represent? (conditional mean) Slope interpretation. Intercept interpretation.

Typology: Slides

2024/2025

Uploaded on 06/26/2026

az-fin
az-fin 🇺🇸

7 documents

1 / 9

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Regression Analysis
Simple Linear Regression & ANOVA
Nicoleta Serban, Ph.D.
Professor
Simple Linear Regression:
Statistical Inference
School of Industrial and Systems Engineering
About This Lesson
Learning Objectives:
Explore the distributional
properties of the model parameters
in simple linear regression
Apply statistical inference on the
regression coefficients to a data
example in R
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Simple Linear Regression and more Slides Statistics in PDF only on Docsity!

Regression Analysis

Simple Linear Regression & ANOVA

Nicoleta Serban, Ph.D.

Professor

Simple Linear Regression:

Statistical Inference

School of Industrial and Systems Engineering

About This Lesson

Learning Objectives:

  • Explore the distributional

properties of the model parameters

in simple linear regression

  • Apply statistical inference on the

regression coefficients to a data

example in R

= 0

Regression Estimators: Properties

For the slope parameter β 1

, we can show

$ β 1

=

∑ x i

" x Y i

S xx

= c i

Y i

but x i

fixed →

x

i

−"x

S xx

= c i

fixed

Ε

$ β 1

= Ε 5

i=

n

c i

y i

= 5

i=

n

c i

Ε y i

= 5

i=

n

c i

β 0

+β 1

x i

= β 0

5

i=

n

c i

  • β 1

5

i=

n

c i

x i

= β 1

→ Ε

$ β 1

= β 1

= 1

E(

β 1

) = β 1

Var(

β 1

2 / S xx

I’m unbiased! J

Furthermore, is a linear combination of {Y 1

,…,Y

n

}. If we assume that

e i

~ Normal (0, A

!

) , then is also distributed as

B

C

"

&

' '

!!

B

C

"

= D

i=

m

c i

Y

i

a linear combination of normally distributed random variables

B

C

"

~ Normally distributed

B

C

"

Regression Estimators: Properties

B

C

"

− C

"

MSE

S

$$

~ R

%&!

t–interval for C "

"

± t&

'

,&'$

MSE

S

xx

Estimate

of 9

t-critical

point

Standard

Deviation/Error of

: 9

Sampling

distribution

of

: 9

is t n−

1 - α

Confidence

interval

V

: 9

=

σ

2

S xx

σ

2 ← MSE

Confidence Interval Derivation

One way we can test statistical significance is to use the t-test for

H

o

: β 1

= 0 vs. H a

: β 1

We reject H o

if |t-value| is large. If the null hypothesis is rejected, we

interpret this as β

being statistically significant.

Testing Significance of Regression

t−value =

B

C

"

A [

! / ''

B

C

"

\

''

A [

Testing Significance of Regression (cont’d)

  • A regression model is useful if the

relationship between ] and ^ is

significant.

  • To judge this significance, we test

_

`

(

: C

"

`

"

: C

"

  • If there is no relationship, then

C

"

= 0. It means we cannot

express ] in terms of ^.

Testing Significance of Regression: Review

  • Hypothesis: A

B !

: 9 "

= 0

B "

: 9 "

≠ 0

  • Test Statistic: t−value = H !

=

$ !

%!

"#$

%&&

=

$ !

se

$ !

~H ('%()

(“se” means “standard error”)

  • Critical Region: t−value > H'

(

('%()

⟹ Reject B !

  • P-value: p = 2 × Pr H '%(

> H !

< R ⟹ Reject B !

How will the procedure change if we test:

`

: C

"

= 0 versus `

: C

"

OR

`

: C

"

= 0 versus `

: C

"

What if we want to test for positive relationship

`

: C

"

≤ 0 versus `

: C

"

P-value = P(T n- 2

> t-value)

What if we want to test for negative relationship

`

: C

"

≥ 0 versus `

: C

"

P-value = P(T n- 2

< t-value)

Testing Regression at Different Levels (cont’d)

Inference for Intercept Parameter

!

!

"

$

$

%

&

= +

!!

"

#

$

%&'

!

!

"

$

%

Confidence interval :

B

C

(

− R,

!

,%&!

MSE

j

^

!

\

''

B

C

(

+ R,

!

,%&!

MSE

j

^

!

\

''

)

"

m

B

C

(

= m

n o − m(

B

C

"

) ^̅= C

(

Linear Regression: Example in R

A company, which sells medical supplies to hospitals, clinics, and doctor's

offices, had considered the effectiveness of a new advertising program.

Management wants to know if the advertisement is related to sales. This

company intends to increase the sales with an effective advertising

program.

What inferences can be made on the regression coefficients?

Example in R: Inference

a. What is the estimate of the coefficient C "

and its variance? What is its

sampling distribution?

b. What is the estimate of the coefficient C (

and its variance?

c. Is the coefficient C "

statistically significant? What is the p-value of the test?

Interpret.

d. Is the coefficient C "

statistically positive? What is the p-value of the test?

Interpret.

e. Obtain the 99% confidence interval for C "

f. What is the p-value of a hypothesis testing procedure?