# note14 - STAT5044 Regression and Anova Inyoung Kim Outline...

This preview shows pages 1–7. Sign up to view the full content.

STAT5044: Regression and Anova Inyoung Kim

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Outline 1 One regression model using data from two sources 2 Segmented regression
Data from two sources Example Female salary Y i = α 0 + α 1 x i + σε i , j=1,...,n Male salary Y j = γ 0 + γ 1 x j + σε j , j=n+1,n+2,...,n+m and { ε i } , i=1,...,n and { ε j } , j=1,...,m, are N(0,1) Main Question: How to make one model using these two models?

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Case1: same slope between two models Consider the simplest case when slopes are same. Y i = α 0 + α 1 x i + σε i Y j = γ 0 + α 1 x i + σε i Question1: How to write the two regression as one
Case1 Model Y 1 Y 2 . . . Y n Y n + 1 . . . Y n + M = 1 x 1 0 . . . . . . . . . 1 x n 0 1 x n + 1 1 . . . . . . . . . 1 x n + m 1 α 0 α 1 γ 0 - α 0 y j = α 0 + α 1 x j +( γ 0 - α 0 )+ ε j = [ 1 n + m x 1 x 2 ] β + ε j x 2 : indicator variable, x 2 j = ( 0 j 1 st group 1 j 2 nd group β = α 0 α 1 ( γ 0 - α 0 )

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Case1 Model Y ( n + m ) × 1 = X ( n + m ) × 3 β 3 × 1 + ε β 0 β
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern