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
Statistically compare two proportions on multiply imputed dataDear all, I calculated two proprtions based on 50 multiply imputed datasets and received the follow…
Dropping data framesHello All, just a quick question: is there any deep underlying reason why I can do Code: drop var1…
Record-to-date value in a time series or panelI will illustrate my question with an example. Say I have a variable called Temperature for 100 yea…
Merging Refinitiv ESG data with Compustat dataHi Stata experts, I am trying to merge Refinitiv ESG data Compustat data. ESG data has 8 digit cusi…
Event Study errorsHi all!! I just started using STATA and I'm learning how to use the software on my own - which is n…
Subscribe to:
Post Comments (Atom)
0 Response to Loop for generating new variables
Post a Comment