PDB_Stat_100_Lecture_24_Printable

# PDB_Stat_100_Lecture_24_Printable - STA 100 Lecture 24 Paul...

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

STA 100 Lecture 24 Paul Baines Department of Statistics University of California, Davis March 4th, 2011

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

View Full Document
Admin for the Day I No more homework! I Project Proposals feedback completed I Office Hours today – project questions please! I Extra office hours Monday – 9.30-11.30am, 3.00-4.30pm I Please stop by on Monday with any questions! References for Today: Rosner, Ch 11 (7th Ed.) References for Monday: Rosner, Ch 11 (7th Ed.)
Linear Regression Last time we saw that we can investigate the relationship between two variables using linear regression: Y i N ( α + β X i , σ 2 ) Another way of writing this is: Y i = ( α + β x i ) + i , i iid N (0 , σ 2 ) I Given explanatory variable x i the expected value of Y i is α + β x i . I As we vary x i this traces out a straight-line relationship between x and y . I Variations above and below the straight-line should be normally distributed with variance σ 2 .

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

View Full Document
Key Assumptions There are five very fundamental assumptions we make: 1. The mean of Y is a linear function of X : This describes the core of the relationship between X and Y i.e., the straight line. 2. The variability of the data points around the line around follows a normal distribution: This describes one aspect of how the points are allowed to vary around the line. 3. The variability of the data points around the line around does not vary as X changes (i.e., it is just σ 2 ): This describes another aspect of how the points are allowed to vary around the line. 4. Conditional on X , the Y ’s are independent: This describes another aspect of how the points are allowed to vary around the line. 5. The explanatory variable X is observed without error: Everything we do here is conditional on the X ’s.
Diagnosing Problems The more complex the model we build, the more things there are that can go wrong. For linear regression, we really to need to know what our assumptions mean, so that we can know what warning signs to look for. . . Last time we looked at some examples to see if we could tell when assumptions were wrong, and when they were reasonable.

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

View Full Document
Example 1 1 2 3 4 5 6 -8 -6 -4 -2 0 2 4 6 Example where linearity is not true x y Mean of y = a + bx + cx^2 + dx^3
Example 2 1 2 3 4 5 6 1 2 3 4 5 6 Example where all assumptions are correct x y Mean of y = a + bx

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

View Full Document
Example 3
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