Hello!
It has been a while since I have used Stata and I need a bit of help.
I have a wide dataset with variables activ1-active27. Across these variables, the values I am interested in are 3001-3008 (these values represent specific categories of activities a participant has engaged in).
I would like to count:
1) the unique appearance of 3001-3008 across activ1-active27 for each idpriv
2) the total count of any value within the range 3001-3008 across activ1-activ27 for each idpriv
I have tried a number of loops without success. While I would love to try -egenmore-, I cannot add packages because I am working on a disconnected server.
Related Posts with Count unique appearance of values across multiple variables in wide format
Clogit with Additional Dummy VariablesHi, I am estimating a non-linear model by using clogit. My group variable is "industry by year". I …
desperately in need of helping with exporting sum stats tableI am desperately looking for the solution on exporting the summary stats tables. I typed commands as…
difference in difference with cem matching and clusteringHi Statalist users I have a panel data with project panel observations. However, each project has o…
moderation with quantile regressionDear all i hope you are doing good i'm working on my research paper and i want to try the moderate…
Problem regarding the creation of an independent variableHi all, For my Master thesis, I used Qualtrics for an online experiment and within this experiment …
Subscribe to:
Post Comments (Atom)
0 Response to Count unique appearance of values across multiple variables in wide format
Post a Comment