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
Interpretation formulas of Poisson regression coefficient formula for percentages and logsDear Statalist members, I have done a Poisson fixed effects panel regression (Stata 13) regressing …
Update and paper on -reldist-The -reldist- package (relative distribution analysis) has been updated on SSC. Type Code: . ssc i…
Major update to -moremata-A new version of -moremata- is available from SSC. Type Code: . ssc install moremata, replace to i…
Identify value label names and storing in macroDear All, I have a dataset imported into STATA. While importing, variable names get changed to lowe…
Add Cohen's d effect size to esttab t-test tableHi Everyone, I am trying to create a (Latex) table in which I compare the means of two different su…
Subscribe to:
Post Comments (Atom)
0 Response to Loop for generating new variables
Post a Comment