
































Étudies grâce aux nombreuses ressources disponibles sur Docsity
Gagnz des points en aidant d'autres étudiants ou achete-les avec un plan Premium
Cette page n'est pas visible dans l'aperçu
Ne manques pas les parties importantes!

































(^1) The Linear Regression Model
2 The OLS Estimation Method for a Linear Regression Model
(^3) The Algebraic Properties of the OLS Estimator
(^4) Measures of Fit
(^5) The Least Squares Assumptions
6 Sampling Distribution of the OLS Estimators
In statistics, regression analysis focus on the conditional mean of the dependent variable given the independent variables, which is a function of the values of independent variables. A very simple functional form of a conditional expectation is a linear function. That is, we can model the conditional mean as follows,
E(Y | X = x) = f (x) = β 0 + β 1 x (1) The above equation is a simple linear regression function.
Let’s introduce a regression analysis with the application of test scores versus class sizes in California school districts. Can reducing class sizes increase students’ test scores?
How can we answer this question?
Compute the expected values of test scores, given the different class sizes.
E(TestScore|ClassSize = 20 ) E(TestScore|ClassSize = 22 )
The effect of class size on test scores is
E(TestScore|ClassSize = 20 ) − E(TestScore|ClassSize = 22 )
We use a linear regression function to describe the relationship between test scores and class sizes. The population regression function or the population regression line
E(TestScore|ClassSzie) = β 0 + β 1 ClassSize (2)
A population regression function It’s a deterministic relation between class size and the expectation of test scores. However, we cannot compute the exact value of the test score of a particular observation. A population regression model It’s a complete description of a data generating process (DGP). The association between test scores and class size is not deterministic, depending on the value of other factors.
Denote ∆TestScore and ∆ClassSize to be their respective change. Holding other factors constant, we have
∆TestScore = β 1 ∆ClassSize
where β 0 is removed because it is a constant. Then, we get
β 1 = ∆TestScore ∆ClassSize That is, β 1 measures the change in the test score resulting from a one-unit change in the class size.
When TestScore and ClassSize are two continuous variable, we can write β 1 as
β 1 = dTestScore dClassSize We often call β 1 as the marginal effect of the class size on the test score.
β 0 is the intercept in the model. Sometimes it bears real meanings, but sometimes it merely represents an intercept. In regression model of test scores on class sizes, β 0 is the test score when the class size and other factors are all zero, which is obviously nonsensical.
Consider two random variables Y and X. For both, there are n observations so that each observation i = 1 , 2 , 3 ,... is associated with a pair of values of (Xi , Yi ). Then a simple linear regression model that associates Y with X is
Yi = β 0 + β 1 Xi + ui , for i = 1 ,... , n (4) Yi is called the dependent variable, the regressand, or the LHS (left-hand side) variable. Xi is called the independent variable, the regressor, or the RHS (right-hand side) variable.
The OLS Estimation Method for a Linear Regression Model
We use the ordinary least squares (OLS) estimation method to estimate the simple linear regression model. Yi = β 0 + β 1 Xi + ui , for i = 1 ,... , n