Hi everyone,
I have one dependent variable Y, four independent variables X1 X2 X3 X4, 12 control variables C1 C2 .....C12 (please note that independent and control variables are in random forms and not in any order)
Now, I want to loop regression to select a set of control variables from my 12 ones that can make the coefficient of my 4 independent variables(X1 X2 X3 X4) significant, which in my case the p-value of the four coefficients should be less than 10%( the smaller the better).
Please note the set of control variables that I want to pick out can contain from just 1 control variable to as much as 12 ones, which means it can be just C1 or just C2 or just C7 and it can also be a combination like(C1, C7, C10, C12). If my calculation is correct, there should be ( 2^12-1=4095) combinations and correspondently 4095 times of looping regression.
And when the set of control variables satisfied the significance request is detected, I'd love it to be output so that I can see which sets are available.
Thank you for your help
Related Posts with Looping regression to determine one set of control variables that make models significant
Dropping Variables Based on Other Variable, Student ProjectHey there,
I'm a student working with Stata and have a data set that contains a variable associated…
Binary regression and dummies variablesHi everyone,
I want to estimate the coefficient of the following regression : y = Alpha0 + Theta* d…
Creating graphs for logistic regressionHello Everyone,
I am currently working on my master thesis and finishing my quantitative analysis.
…
Bootstrapped standard errors in panel data with sample weightsHello there,
I am working with a panel collected from the Panel Study of Income Dynamics (survey da…
combine variables panel data graphsHi I'm working with panel data, trade among 10 countries in the past 27 years. I want to add and gra…
Subscribe to:
Post Comments (Atom)
0 Response to Looping regression to determine one set of control variables that make models significant
Post a Comment