Hi Everyone,
I estimate a linear model with OLS. I have two independent variables, x1 and x2. When I run regress y x1, I find that x1 is significant. When I run regress y x1 x2, x1 loses statistical significance as I expect since I argue that x2 matters for the changes in y not x1. Althoug the correlation between x1 and x2 is -0.25, (so there is no multicollinearity problem), I was suggested to orthogonalize two variables to make sure that actually x2 significantly explains y, not x1. When I orthognalize x2 and x1 (orthog x2 x1, gen (newx2 newx1)), t values remain almost same. When I orthognalize x1 and x2 (orthog x1 x2, gen (newx1_alt newx2_alt)), the coefficient on x1 becomes significant again. Can anyone help me how interpret these results? Should I use orthog here and if so, which order I should rely on? I read the help file but couldn't understand which one fits into my case better.
Thanks in advance.
Best,
Ulas
Related Posts with Orthogonalizing Two Variables in a Linear Regression
Newey-West regressionHi, I am trying to run a Newey-West regression, however I do not quite understand how should I choos…
comparing two timelines and converting date from 1960 to 2020I have multiple timelines I am attempting to analyse. After converting the dates to a numerical form…
How to get concise regression tables from Stata?I wanted to know what is the best way to export regression results table in the most concise/smalles…
Attempting to export two-way cross-tabulations using tab2xl - having issues in exporting it in the format I need it to be.* I am pasting my do-file here using a common data set. ***data for question webuse auto codebook f…
Meta regression: Random and Fixed effects / reg and aregDear all, I have a question that is probably specific to meta regression analyses. I refer to Feld…
Subscribe to:
Post Comments (Atom)
0 Response to Orthogonalizing Two Variables in a Linear Regression
Post a Comment