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
Problems merging dataHi all, I have been trying to merge my data using key variables but error I keep getting is : " key…
Drop all observations featuring a particular value of a variable if any one observation with that value meets a separate criteriaHello all, I've seen the helpful responses here and since I can't quite seem to find the right solu…
georoute troubleshootingI'm trying to generate travel distances using georoute in Stata but getting different error messages…
Marginal effects using dydx for panel data regression using country fixed effects and a time-invariant variable in the interaction term.Dear Statalisters, I am new to the forum and I have tried to find a solution for my problem. I coul…
Subtract over a particular pair of monthsI have a problem with my panel data ( which is organised by month and municipality) were I want to t…
Subscribe to:
Post Comments (Atom)
0 Response to Want Missing+Nonmissing= Missing
Post a Comment