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
Interaction term between categorical and continuousDear Statalisters, I would like to include an interaction term between categorical and continuous v…
the regression command with moderate variableHi all I am new using Stat and I have problem with multiple regression with a moderating variable. a…
"Decode" Command on Numeric Variables - Grave IssuesHello, I am appending several rounds/datasets from different demographic and health surveys. The va…
Graph Observed versus PredictedDear Statalisters, I work on prediction of outcome (neurological outcome 0 or 1) with a score which…
How to interpret goodness of fit for multivariate logistic regression modelDear STATA technicians, I am Hatem Ali, STATA user. Serial number: 301506305680 I am attaching to t…
Subscribe to:
Post Comments (Atom)
0 Response to anycount
Post a Comment