Hi, first post on stata forum here: Hello. I have a survey dataset with lots of -5, -4, -3, -2, -1 for failed surveys (not at home, unanswered etc). How do I replace those numbers with missing values so that when I average over them with Collapse they won't register as zeros.
Related Posts with Cleaning data
Why might Clopper Pearson CIs differ in Stata vs SAS output?Hello, I am currently using Stata to replicate an analysis with complex svy data to obtain weighted…
Lagged non-linear independent variablesI came across a paper that write the following: The first set of independent variables, REPRESSION(1…
Teffect psmatch with sample weightsI am using propensity score matching on data that requires using sample weights. The data comes from…
Teffect psmatch with sample weightsI am using propensity score matching on data that requires using sample weights. The data comes from…
Is there a good way to test whether explanatory power among variables varies across populations?Let's imagine I want to assess whether the explanatory power of daily calories, minutes of exercise,…
Subscribe to:
Post Comments (Atom)
0 Response to Cleaning data
Post a Comment