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
Help with Stata recognizing numbers between 0 and 1Hello, I am doing a Stata analysis using the variable; agriculture land use (agriculture land/total…
generating a new variable using bysort in panel datasetHi there, I am currently using StataMP 15.1. I am trying to generate a new variable for the freque…
extracting observations with several conditionsHi I am a stata beginner. I want to extract observations satisfying several conditions but it is re…
-margins,predict(pr)- after -ivprobit- yields opposite sign from coefficientsDear colleagues, I am interested in the marginal effect of the continuous endogenous regressor X1 o…
Relative changes between different levels and in different periodsHi I want to measure how many patients which, in period T, were in one of the levels of disease mov…
Subscribe to:
Post Comments (Atom)
0 Response to Running multiple regression models on different combinations of explanatory variables
Post a Comment