Tuesday, June 7, 2011

CHAPTER 10: MULTICOLLINEARITY: WHAT HAPPENS IF THE REGRESSORS ARE CORRELATED?

ü  The Nature of Multicollinearity
Multicollinearity – the existence of a “perfect”, or exact, linear relationship among some or all explanatory variables for a regression model.
Why does the classical linear regression model assume that there is no multicollinearity among the X’s?
If multicollinearity is perfect, the regression coefficients of the X variables are indeterminate and their standard errors are infinite. If multicollinearity is less than perfect, the regression coefficients, although determinate, possess large standard errors, which means the coefficient cannot be estimated with great passion or accuracy.
Sources of Multicollinearity
1.      The data collection method employed.
2.      Constraints on the model or in the population being sampled.
3.      Model specification.
4.      An overdetermined model.
ü  Practical Consequences of Multicollinearity
1.      Although BLUE, the OLS estimators have large variances and covariances, making precise estimation difficult.
2.      Because of consequence 1, the confidence intervals tend to be much wider, leading to the acceptance of the “zero null hypothesis”.
3.      Also because of consequence 1, the t ratio of one or more coefficients tend to be statistically insignificant.
4.      Although the t ratio of one or more coefficients is statistically insignificant, R2, the overall measure of goodness of fit, can be very high.
5.      The OLS estimators and their standard errors can be sensitive to small changes in the data.
ü  Large Variances and Covariances of OLS Estimators

var(β2) =
                  ∑X2i(1 – r23)

var(β3) =
                  ∑X3i(1 – r23)

cov(β2, β3) =         -r23
                        (1 – r23)   ∑X2i∑X3i
ü  Detection of Multicollinearity
1.      High R2 but few significant t ratios.
2.      High pair-wise correlations among regressors.
3.      Examinations of partial correlations.
4.      Auxiliary regressions.
5.      Eigenvalues and condition index.


CI =  Maximum eigenvalue =    k
         Minimum eigenvalue

6.      Tolerance and variance inflation factor
ü  Remedial Measures
·         Do Nothing
·         Rule-of-Thumb Procedures
1)      A priori information.
2)      Combining cross-sectional and time series data.
3)      Dropping a variable(s) and specification bias.
4)      Transformation of variables.
5)      Additional or new data.
6)      Reducing collinearity in polynomial regressions.
7)      Other methods of remedying multicollinearity.







CHAPTER 9: DUMMY VARIABLE REGRESSION MODELS

ü  The Nature of Dummy Variable
Dummy variables – such variables are thus essentially a device to classify data into mutually exclusive categories such as male or female.
ü  Caution in the Use of Dummy Variables
1.      If a qualitative variable has m categories, introduce only (m – 1) dummy variables.
For each qualitative regressor the number of dummy variables introduced must be one less than the categories of that variable.
2.      The category for which no dummy variable is assigned is known as the base, benchmark, control, comparison, reference, or omitted category.
3.      The intercept value (β1) represents the mean value of the benchmark category.
4.      The coefficients attached to the dummy variables are known as the differential intercept coefficients because they tell how much the value of the intercept that receives the value of 1 differs from the intercept coefficient of the benchmark category.
5.      If a qualitative variable has more than one category, the choice of the benchmark category is strictly up to the researcher.
6.      There is a way to circumvent this trap by introducing as many dummy variables as the number of categories of that variable, provided we do not introduce the intercept in such a model.
7.      Which is a better method of introducing a dummy variable: (1) introduce a dummy for each category and omit the intercept term or (2) include the intercept term and introduce only (m – 1) dummies.
ü  The Dummy Variable Alternative to the Chow Test
Four possibilities:
1.      Both the intercept and the slope coefficients are the same in the two regressions. This, the case of coincident regressions.
2.      Only the intercepts in the two regressions are different but the slopes are the same. This is the case of parallel regressions.
3.      The intercepts in the two regressions are the same, but the slopes are different. This is the situation of concurrent regressions.
4.      Both the intercepts and slopes in the two regressions are different. This is the case of dissimilar regressions.
ü  The Use of Dummy Variables in Seasonal Analysis
Note that to avoid the dummy variable trap, we are assigning a dummy to each quarter of the year, but omitting the intercept term.
ü  Topics for Further Study
Several topics related to dummy variables are discussed in the literature that are rather advanced, including random, or varying, parameters models, switching regression models and disequilibrium models.

Monday, June 6, 2011

CHAPTER 8: MULTIPLE REGRESSION ANALYSIS: THE PROBLEM OF INFERENCE

ü  Hypothesis Testing in Multiple Regression: General Comments
1.      Testing hypotheses about an individual partial regression coefficient.
2.      Testing the overall significance of the estimated multiple regression model, that is, finding out all the partial slope coefficients are simultaneously equal to zero.
3.      Testing that two or more coefficients are equal to one another.
4.      Testing that the partial regression coefficients satisfy certain restrictions.
5.      Testing the stability of the estimated regression model over time in different cross-sectional units.
6.      Testing the functional form of regression models.
ü  Testing the Overall Significance of a Multiple Regression: the F-test
Decision Rule: Given the k-variable regression model:

Yi = β1 + β2X2i + β3X3i + ……….+ βkXki + ui
To test the hypothesis
H0: β2 = β3 = ………. = βk = 0

H1: Not all slope coefficients are simultaneously zero
compute

F = ESS/df   =   ESS/(k – 1)
      RSS/df        RSS/(n – k)
If F>Fα(k – 1, n – k), reject H0: otherwise you do not reject it, where Fα(k – 1, n – k) is the critical F value at the α level of significance and (k – 1) numerator df and (n – k) denominator df. Alternatively, if the p value of F is sufficiently low, one can reject H0.
ü  Testing the Overall Significance of a Multiple Regression in terms of R2
Decision Rule: Testing the overall significance of a regression in terms of R2. Alternative but equivalent test.
Given the k-variable regression model
Yi = β1 + β2X2i + β3X3i + ……….+ βkXki + ui
To test the hypothesis
H0: β2 = β3 = ………. = βk = 0
versus
H1: Not all slope coefficients are simultaneously zero
compute

F = R2/ (k – 1)
            (1 – R2)/(n – k)
If F>Fα(k – 1, n – k), reject H0; otherwise you may accept H0 where Fα(k – 1 , n – k) is the critical F value at the α level of significance and (k – 1) numerator df and (n – k) denominator df. Alternatively, if the p value of F obtained is sufficiently low, reject H0.



ü  The “Incremental” or “Marginal” Contribution of an Explanatory Variable

F = Q2/df
      Q4/df

   = ESSnew – ESSold/ number of new regressors
      RSSnew/df( =n – number of parameters in the new model)

·         When to Add a New Variable
It can be shown that R2 will increase if the t value of the coefficient of the newly added variable is larger than 1 in absolute value. R2 will increase with the addition of an extra explanatory variable only if the F(= t2) value of that variable exceeds 1.
·         When to Add a Group of Variables
If adding (dropping) a group of variables to the model gives an F value greater (less) than 1, R2 will increase (decrease).
ü  Testing the Equality of Two Regression Coefficients
ü  Testing for Structural or Parameter Stability of Regression Models: The Chow Test
Assumptions of Chow Test:
1.      u1t      N(0,      ) and u2t       N(0,      )
2.      The two error terms u1t and u2t are independently distributed.
The mechanics of the Chow test are as follows:
1.      Estimate regression which is appropriate if there is no parameter instability, and obtain RSS3 with df = (n1 + n2 – k), where k is the number of parameters estimated, 2 in the present case.
2.      Estimate and obtain its residual sum of squares RSS1 with df = (n1 – k).
3.      Estimate and obtain its residual sum of squares, RSS2, with df = (n2 – k).
4.      Since the two sets of samples are deemed independent, we can add RSS1 and RSS2 to obtain what may be called unrestricted residual sum of squares (RSSUR), that is, obtain:

RSSUR = RSS1 + RSS2   with df = (n1 + n2 – 2k)
5.      There is no structural change, then the RSSR and RSSUR should not be statistically independent.
6.      Therefore, we do not reject the null hypothesis of parameter stability if the computed F value in an application does not exceed the critical F value obtained from the F value at the chosen level of significance.
There are some caveats about the Chow test that must be kept in mind:
1.      The assumptions underlying the test must be fulfilled.
2.      The Chow test will tell us only if the two regressions are different, without telling us whether the difference is on account of the intercepts, or the slopes, or both.
3.      The Chow test assumes that we know the point(s) of structural break.

ü  Testing the Functional Form of Regression Choosing Between Linear and Log-Linear Regression Models
The MacKinnon, White, Davidson Test involves the following steps
Step 1: Estimate the linear model and obtain the estimated Y values.
Step 2: Estimate the log-linear model and obtain the estimated ln Y values.
Step 3: Obtain z1 = (lnYf – lnf)
Step 4: Regress Y on X’s and Z1 obtained in Step 3.
Step 5: Obtain z2 = (antilog of lnf – Yf)
Step 6: Regress log of Y on the logs of X’s and z2.




CHAPTER 7: MULTIPLE REGRESSION ANALYSIS: THE PROBLEM OF ESTIMATION

ü  The Three-Variable Model Notation and Assumptions

Yi = β1 + β2X2i + β3X3i + ui
β2 and β3 are called the partial regression coefficients.
Assumptions:
1.      Zero mean value of ui or
       E(ui  X2i, X3i) = 0 for each i
2.      No serial correlation, or
cov(ui, uj) = 0         i   j
3.      Homoscedasticity, or
var(ui) = 
4.      Zero covariance between ui and each X variable, or
cov(ui, X2i) = cov(ui, X3i) = 0
5.      No specification bias, or
The model is correctly specified
6.      No exact collinearity between the X variables, or
No exact linear relationship between X2 and X3.
ü  Interpretation of Multiple Regression Equation

E(Yi  X2i, X3i) = β1 + β2X2i + β3iX3i
The conditional mean or expected value of Y conditional upon the given or fixed values of X2 and X3.
ü  The Meaning of Partial Regression Coefficients
β2 and β3 are known as partial regression or partial slope coefficients. β2 measures the change in the mean value of Y, E(Y), per unit change in X2, holding the value of X3 constant. Put differently, it gives the “direct” or “net” effect of a unit change in X2 on the mean value of Y, net of any effect that X3 may have on mean Y. Likewise, β3 measures the change in the mean value of Y per unit change in X3, holding the value of X2 constant. That is, it gives the “direct” or “net” effect of a unit change in X3 on the mean value of Y, net of any effect that X2 may have on mean Y.
ü  OLS and ML Estimation of the Partial Regression Coefficients
ü  OLS Estimators
OLS  estimator of the population intercept β1

β1 = Y – β2X2 – β3X3
OLS  estimator of the population intercept β2

β2 = (∑YiX2i)(∑X3i) – (∑YiX3i)(∑X2iX3i)
                    (∑X2i)(∑X3i) – (∑X2i3i)2




OLS  estimator of the population intercept β3

β3 = (∑YiX3i)(∑X2i) – (∑YiX2i)(∑X2iX3i)
                     (∑X2i)(∑X3i) – (∑X2i3i)2

Notation:
1)      Equations of β2 and β3 are symmetrical in nature because one can be obtained from the other by interchanging the roles of X2 and X3.
2)      The denominators of these two equations are identical.
3)      The three-variable case is a natural extension of the two-variable case.
ü  Variances and Standard Errors of OLS Estimators

var(β1) =  1   +     X2∑X3i + X3∑X2i - 2X2X3∑X2iX3i
                   n               ∑X2i∑X3i – (∑X2iX3i)2

se(β1) =   +   var(β1)

var(β2) =                ∑X3i
                  (∑X2i)(∑X3i) – (∑X2iX3i)2

or equivalently,

var(β2) =     
                 ∑X2i(1 – r23)

var(β3) =         ∑X2i
                 (∑X2i)(∑X3i) – (∑X2iX3i)2

se(β2) =   +    var(β2)

se(β3) =   +    var(β3)

cov(β2, β3) =        -r23
                        (1 – r23)  X2i   X3i
ü  Properties of OLS Estimators
1)      The three-variable regression line passes through the means Y, X2 and X3.
2)      The mean value of the estimated Yi(= Yi) is equal to the mean value of the actual Yi.
3)      ∑ui = u =0
4)      The residuals ui are uncorrelated with X2i and X3i, that is, ∑uiX2i = ∑uiX3i = 0
5)      The residuals ui are uncorrelated with Yi, that is, ∑uiYi = 0
6)      The correlation coefficient between X2 and X3 increases toward 1, the variances of β2 and β3 increase for given values of        and ∑X2i or ∑X3i.
ü  The Multiple Coefficient of Determination R2 and the Multiple Coefficient of Correlation R
r2 = measure the goodness of fit of the regression equation; that is, it gives the proportion or percentage, of the total variation in the dependent variable Y explained by the explanatory variable X.

R2 = RSS
        TSS

R2 = β2∑YiX2i + β3YiX3i
        ∑Yi2
ü  Simple Regression in the Context of Multiple Regression: Introduction to Specification Bias
Observe several things about this regression compared to the “true” multiple regression.
1.      In absolute terms, the PGNP coefficient has increased.
2.      The standard errors are different.
3.      The intercept values are different.
4.      The r2 values are dramatically different.
ü  Interpretation of Simple and Partial Correlation Coefficients
1.      Even if r12 = 0, r123 will not be zero unless r13 or r23 or both are zero.
2.      If r12 = 0 and r13 and r23 are nonzero and are of the same sign, r123 will be negative, whereas if they are of the opposite signs, it will be positive.
3.      In terms of r123 and r12 need not have the same sign.
4.      In the two-variable case we have seen that r2 lies between 0 and 1.
5.      The coefficient of partial determination may be interpreted as the proportion of the variation in Y not explained by the variable X3 that has been explained by the inclusion of X3 into the model.