Hi,
Before I post my question, I would like to mention that I already looked through the forums here on using for loops to run multiple regression models (https://www.statalist.org/forums/for...-the-same-time, https://www.statalist.org/forums/for...le-regressions, https://www.statalist.org/forums/for...ssions-at-once). Unfortunately, the existing discussion posts don't quite answer my question.
My dependent variable is A. My independent variables are B,C,D,E,F,G,H. All these variables have been log transformed as well. So, I have ln_A and ln_B - ln_H. Now, I need to try different combinations of logged and non-logged variables and run multiple regressions. For instance,
Model 1: reg A ln_B ln_C D E F G ln_H
Model 2: reg ln_A B ln_C D ln_E F ln_G ln_H
and so on...
As you can tell, there are far too many combinations possible (P8,8 precisely?). I need to run at least a few different specifications. The reason for doing this exercise is to make sure that the polarity of the coefficients is not an artifact of the log-transformation. Is doing it manually the only way or is there a way to automate this? Please help!
Thanks in advance!
Sam
Related Posts with Running multiple regression models on different combinations of explanatory variables
twoway line - point connectionI trying to produce a twoway line graph that connects each point with a straight line. I'm getting a…
'pvarirf' and 'pvarfevd' invalid in 'pvar' packageHello, I use the 'pvar' command to test the Pecking Order Theory for natural resource firms. It wor…
Help exporting to excelHi everyone, I am previously an R-user and finding the functionality of STATA frustrating. I want to…
Pooled cross sectional regression analysisHi all, I have a dataset that looks like Code: * Example generated by -dataex-. To install: ssc …
-order(c.(A C B)#c.X) option does not work with esttab?Dear all, I use the following commands to make a table: eststo: reg Y c.(A B C)#c.X esttab, order(…
Subscribe to:
Post Comments (Atom)
0 Response to Running multiple regression models on different combinations of explanatory variables
Post a Comment