Dear all
I would like to count the number of values across 5 numeric variables. I tried using "anycount", but there is a wide range of values for me to list all of them in the option statement and the syntax wont allow me to specify range:
2 syntaxes I tried below:
egen sum_xy = anycount (x y z v w), value (1,2,3,4......1000)
egen sum_xy = anycount (x y z v w), value (1-1000)
Related Posts with anycount
Variable transformation for SEMHi Statalisters, I am trying to do a SEM on my data (SEM was chosen because my hypothesis involves …
Loop over files and rename variable with dataset nameHi there, I have multiple .dta datasets and they all contain the same variable labeled "Q". I want …
Create scale break in coefplotHi everyone, I am trying to graph the coefficients I generated from a multilevel linear regression …
How do you conduct a difference-in-difference analysis for a binary outcome?Hello, I have to conduct a DID analysis to examine the effect of an intervention/treatment on the p…
Create scale break in coefplotHi everyone, I am trying to graph the coefficients I generated from a multilevel linear regression …
Subscribe to:
Post Comments (Atom)
0 Response to anycount
Post a Comment