Lecture Notes on Simple Linear Regression Model | STAT 224, Exams of Statistics

Material Type: Exam; Class: Introductory Statistics for Engineers; Subject: STATISTICS; University: University of Wisconsin - Madison; Term: Spring 2005;

Typology: Exams

Pre 2010

Uploaded on 09/02/2009

koofers-user-dj5
koofers-user-dj5 🇺🇸

9 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
STAT 224-3 Discussion # 05/07/07 TA: Quoc, Tran
Simple Linear Regression Model
Simple Linear Regression Model
yi=α+βxi+ǫi, i = 1,2,···n
where ǫiare noise terms which are distributed as N(0, σ2).
Note that yiN(α+βxi, σ 2).
Three important sum squares:
SXY =X(xi¯x)(yi¯y) = XxiyiPxiPyi
n
SXX =X(xi¯x)2=Xx2
i(Pxi)2
n
SY Y =X(yi¯y)2=Xy2
i(Pyi)2
n
Least Square Estimates: b=ˆ
β=SXY
SXX
,a= ˆα= ¯yb¯x
Fitted(predicted) values: ˆyi=a+bxi
Residuals: ˆǫi=yiˆyi
ANOV A table for simple linear regression
Source df SS MS F
Regression 1 SSR MSR=SSR/1 F = MSR/MSE
Error n-2 SSE MSE=SSE/(n-2)
Total n-1 SST
where
SST =SY Y =
n
X
i=1
(yi¯y)2=
n
X
i=1
y2
i(
n
X
i=1
yi)2/n
SSE =SY Y bSX Y =X
i
(yiˆyi)2
,
SSR =S2
XY
SXX
Estimate of σ2:s2= ˆσ2=MSE =SSE
n2. Here n2is the degree of freedom of residuals.
Standard error of residuals: s=M S E
Email: [email protected] 1 Rm B248D, MSC
pf2

Partial preview of the text

Download Lecture Notes on Simple Linear Regression Model | STAT 224 and more Exams Statistics in PDF only on Docsity!

STAT 224-3 Discussion # 05/07/07 TA: Quoc, Tran

Simple Linear Regression Model

  • Simple Linear Regression Model

yi = α + βxi + ǫi, i = 1, 2 , · · · n

where ǫ i

are noise terms which are distributed as N(0, σ

2 ).

Note that yi ∼ N(α + βxi, σ

2

).

  • Three important sum squares:

S

XY

(x i

− x¯)(y i

− y¯) =

x i

y i

x i

y i

n

S

XX

(x i

− x¯)

2

=

x

2

i

x i

2

n

SY Y =

(yi − y¯)

2

=

y

2

i

y i

2

n

  • Least Square Estimates: b =

β =

S

XY

S

XX

, a = ˆα = ¯y − b¯x

  • Fitted(predicted) values: yˆi = a + bxi
  • Residuals: ˆǫ i

= y i

− yˆ i

  • ANOV A table for simple linear regression

Source df SS MS F

Regression 1 SSR MSR=SSR/1 F = MSR/MSE

Error n-2 SSE MSE=SSE/(n-2)

Total n-1 SST

where

SST = SY Y =

n ∑

i=

(yi − y¯)

2

=

n ∑

i=

y

2

i

n ∑

i=

yi)

2

/n

SSE = S

Y Y

− bS XY

i

(y i

− yˆ i

2

SSR =

S

2

XY

S

XX

  • Estimate of σ

2 : s

2 = ˆσ

2 = MSE =

SSE

n − 2

. Here n − 2 is the degree of freedom of residuals.

  • Standard error of residuals: s =

MSE

Email: [email protected] 1 Rm B248D, MSC

STAT 224-3 Discussion # 05/07/07 TA: Quoc, Tran

  • Coefficient of determination, r

2

= 1 −

SSE

SST

SSR

SST

It is interpreted as the proportion of observed y variation that can be explained by the simple regression

model.

  • Inferences on the slope parameter β - The estimated standard deviation of

β: s ˆ β

s

n

i=

(x i

− x¯)

2

- A 100(1 − α)% CI for β

β ± t α/ 2 ,n− 2

s ˆ β

- Hythothesis testing for H 0 : β = β 0

test statistic t =

β − β 0

sˆ β

∼ tn− 2 under Ho.

Alternative Hypo. Reject. Reg. at level α P-value

H

a

: β > β 0

t ≥ t α,n− 2

P (T

n− 2

t)

H

a

: β < β 0

t ≤ −t α,n− 2

P (T

n− 2

< t)

H

a

: β 6 = β 0

Either t ≥ t α/ 2 ,n− 2

or t ≤ −t α/ 2 ,n− 2

2 P (T

n− 2

|t|)

- Model Utility test is the test of H 0

: β = 0 vs. H a

: β 6 = 0, in which case the test statistic value is

t =

β/sˆ β

  • Inferences on μ Y • x

- Point Estimate of μ Y • x

∗ = a + bx

- A 100(1 − α)% CI for the mean response at x

a + bx

± t α/ 2 ,n− 2

s

n

(x

∗ − ¯x)

2

n

i=

(x i

− x¯)

2

- A 100(1 − α)% Prediction Interval(PI) for a future Y at x = x

a + bx

± t α/ 2 ,n− 2

s

n

(x

∗ − x¯)

2

n

i=

(x i

− ¯x)

2

Email: [email protected] 2 Rm B248D, MSC