Dear All,
How to generate a new variable that equals the number of variables generated after split? I need to record the number each time I run split for a different variable in a loop. Thanks a lot!
Vivian
Related Posts with how to count the number of variables after split?
Place labels on boxplots with asyvars optionI generate a hbox with Code: clear set obs `=9 * 2 * 5' set seed 2803 gen y = rnormal() egen x1…
Adjusting for missing observations in a weighted standardized indexHi, I'm working with individual-level pooled cross-sectional National Health Interview Survey (NHIS…
Crossed effects models with covariatesHi, I'm relatively new to STATA, and am struggling to understand a particular code that explains ho…
Interpretation of Negative Binomial Regression Model with Panel DataDear All, I am using Stata 14 and investigating the impact of Corporate Venture Capital Investment …
TestCode Test Code: xtreg ff.logny02a i.phase1##i.regulated i.phase2##i.regulated c.logfixedassets i.n…
Subscribe to:
Post Comments (Atom)
0 Response to how to count the number of variables after split?
Post a Comment