Hi all, I am a new user to STATA--can you help me loop the generate new variable command? Is there a way to loop this? Thanks!
gen d_20191001 = d_20180706
gen d_20191002 = d_20180823
gen d_20190601 = d_20180924
Related Posts with Loop for generating new variables
Test endogenity of instrumentsGoodmorning everyone, I am trying to use the command esttab in the following way: ivreg2 l_vkt_IH …
What is the T-Test in ARDL ECM used for?Hi, I am new to using STATA. For my Bachelors thesis I am analyzing the effect of income, own price…
First step regressionGood morning everyone, I have been asked to try to visualize a first step regression. Anyway, in or…
Inverse hyperbolic sinc transformationHi, I have been suggested to use hyperbolic sine transformation instead of log(0+1) I have tried '…
Complex recursive mixed-process models with cmpDear All, I would like to use the cmp command to do an instrumental variable regression. I read the…
Subscribe to:
Post Comments (Atom)
0 Response to Loop for generating new variables
Post a Comment