From | "Richard. Williams" <[email protected]> |
To | [email protected] |
Subject | Re: st: appended datasets and trying to drop variables |
Date | Tue, 09 Aug 2005 13:38:30 -0500 |
At 01:24 PM 8/9/2005, Suzy wrote:
Dear Statalistmembers,The first question is, did you append correctly? Do the same identical cases appear in both data sets, hence leading to your duplicated observations? If so, it seems like you need to clean that up. Does the 2nd data set really have all missing values on the variable or variables, or did it just become that way when you did the append? I'm wondering whether you actually appended or did some kind of merge. Unless you expect things to be happening the way you are describing, you may want to double-check what you did.
I've appended 2 datasets with identical variables (columns). I'm trying to drop certain variables, but notice that it duplicates my observations/IDs. Although both datasets have identical variables, the second dataset has only (.) missing values of the variable. I'm not sure if that should affect my ability to drop variables. Is there a quick fix with this? I'm using Stata 9.0.
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |