Hello Stata users,
I am using bysort egen total() and want to know if there is any way I can make missing+nonmissing=missing.
I know that total(), missing command returns missing when all are missing. But I could not figure out how to make it missing if at least one of the observations are missing.
I pasted example in the reply! Please refer to that.
Best regards,
Ed
Related Posts with Want Missing+Nonmissing= Missing
T test between coefficients in categorical variablesHello there, my regression is: WageHour Var1##Var2 I want to check all the p-values between the…
How to store rho's and sigma2 in selmlog?I'm using selmlog and want to store the rho's and sigma2 reported in its output. I've tried storing …
Comparing dates in 2 variables and 2 observationsHello, Beginner Stata user here. So I have two date variables in 13Nov2019 type format, which are a…
Converting string values to numericI would appreciate a hand with concise code to convert variable values that are listed alphabeticall…
Labelling groupsCan someone please tell me why this is an invalid syntax and I can't label my age groups please? ge…
Subscribe to:
Post Comments (Atom)
0 Response to Want Missing+Nonmissing= Missing
Post a Comment