STATA 4 Multicollinearity-1

docx

School

Indiana University, Bloomington *

*We aren’t endorsed by this school

Course

MISC

Subject

Economics

Date

Feb 20, 2024

Type

docx

Pages

3

Uploaded by EarlNightingale4120

Report
STATA Handout #4 Multicollinearity NOTE: Please submit your STATA handout via Canvas. Also, please print a copy and bring to class on the due date as we will be using this STATA output in our class discussion. NOTE: Please read the data dictionary before doing the analysis. It is very important that you are familiar with the variables in the data set to fully understand the analysis. You want to use the EXCEL data file indiana2016 . MULTICOLLINEARITY This Stata assignment involves learning how to determine whether your estimated OLS model suffers from multicollinearity. The data file indiana2016 will be used for this assignment. Example #1: Estimate Model Use the OLS to estimate the following model: y= inctotal and x’s= age gender educ marst hrswork healthins Commands/Code: drop if inctotal<1000 regress inctotal age gender educ marst hrswork healthins 1
Example #2: Correlation Coefficients Find the correlation coefficients for the variables used in the model Commands/Code: correlate inctotal age gender educ marst hrswork healthins Example #3: Calculate Variance Inflation Factors (VIFs) Estimate models to find R 2 ’s to calculate VIFs. Commands/Code: regress age gender educ marst hrswork healthins regress educ age gender marst hrswork healthins 2
regress hrswork age gender educ marst healthins Calculate the VIFs for age, educ, and hrswork 3
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help