Hello everyone,
I have tried to find a way to know how many candidates repeat and don't repeat in the same place through time. The thing is I have an append with lots of observations and these observations can be the same id in a different year.
I do not know whether this is a correct way to count: egen countnum=count( id ), by( year place )
Could anybody lend me a hand?
Thank you
Array
Related Posts with To count observations based on another variables
Stata overrides the command for which level to omit in a regressionHi Statalist, I would like to seek help for a problem I encountered. I tried to estimate a regressi…
Calculating 95% CI of difference in AUCArray After running 2 different logistic regressions with the predict command and then running rocco…
technical inefficiency with determinants and marginal effectsI am doing research in tax efficiency. I would like to determine tax effort (persistent and transien…
Accessing ado files (icalc) to save to a newer computerHi, This is a basic question (for which I apologise), but it's tripping me up. I'm trying to access…
Help manipulating data groupsHello, I am currently working with data about initial operations and subsequent readmissions which a…
Subscribe to:
Post Comments (Atom)
0 Response to To count observations based on another variables
Post a Comment