Dear Statalist Users,
I have regression models in which have country and years dummy, when I check for vif, it comes more than 10 especially for country dummies (please see table below):
My question, do I need to account for country and years dummies' vif , and if no, how I can write the code to calculate the vif for the main variables in the model without calculating the vif for years and country dummies. Thank you
I have regression models in which have country and years dummy, when I check for vif, it comes more than 10 especially for country dummies (please see table below):
My question, do I need to account for country and years dummies' vif , and if no, how I can write the code to calculate the vif for the main variables in the model without calculating the vif for years and country dummies. Thank you
Code:
. vif Variable | VIF 1/VIF -------------+---------------------- UK | 411.49 0.002430 Canada | 334.33 0.002991 RuleofLaw | 237.65 0.004208 Australia | 207.76 0.004813 Sweden | 192.97 0.005182 Finland | 191.48 0.005222 Norway | 185.83 0.005381 France | 179.49 0.005571 Netherland | 151.43 0.006604 Denmark | 118.09 0.008468 Switzerland | 110.84 0.009022 Spain | 100.39 0.009961 Ireland | 100.05 0.009995 Belgium | 70.60 0.014164 Crisis | 11.53 0.086711 PostCrisis | 9.11 0.109751 WidelyHel~20 | 8.73 0.114535 Year_2012 | 8.15 0.122679 Year_2011 | 8.12 0.123100 Year_2010 | 7.88 0.126908 Year_2009 | 7.66 0.130602 Italy | 7.48 0.133657 FamilyCon~20 | 7.01 0.142677 Industry_5 | 5.39 0.185422 Industry_1 | 4.54 0.220200 Industry_6 | 4.32 0.231591 Industry_3 | 4.32 0.231726 StateCont~20 | 4.25 0.235516 Industry_2 | 3.66 0.273000 Industry_9 | 3.38 0.295897 PropertyPl~t | 2.91 0.343936 -------------+---------------------- Mean VIF | 60.62 .
Comment