Hi there. Is it possible to generate a newvar that counts up the number of particular values for a varlist but excludes the missing values? How do I make sure that the 0 does not include missing (.) values?
Related Posts with missing values with egen anycount
how to do reg3 postestimation for simultaneous equations (cross-section data)I want to get the Hansen-Sargan test, after 3SLS, how to do it ? equations: Y1=F(Y2, Y3, X1, X2, X3,…
Generating duplicate observations with one variable changedI am working with data containing observations for patients undergoing a surgical procedure that is …
Questions with the mixlogit and lclogit commandHello everyone, I am really new to Stata, and when I use the mixlogit command by Arne R. Hole, I ge…
mlogit not concave when year dummies are includedDear Statalisters, I am running a mlogit regression. When I include year dummies in the regression, …
Orthogonalize lagged values of an independent variableDear all, I am running an xtlogit with a lagged independent variable (the variable is stationary), b…
Subscribe to:
Post Comments (Atom)
0 Response to missing values with egen anycount
Post a Comment