| |
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Why does one command "lose" observations compared to another command?
From |
Richard Williams <[email protected]> |
To |
[email protected] |
Subject |
Re: st: Why does one command "lose" observations compared to another command? |
Date |
Sun, 22 Jan 2006 13:02:29 -0500 |
At 11:56 AM 1/22/2006, Suzy wrote:
Dear Stata Listmembers:
I have come across a problem that I can't figure out. I don't know
why I am "losing" 873 observations with one stata command versus the other -
for mean age by race, if age>=18. Both age and race are 100% present
in the total dataset - total (N=21004) and for age>=18 (N=11,441).
This is complex survey data and of course, I would use the survey
commands for analysis, but it still doesn't make sense why the
non-survey command would use less observations (even so, the point
estimates are identical.
Any insight into this would be greatly appreciated.
* Is the data svyset using mecwt4?
* Make sure you have the latest update of Stata. There have been
some patches in the last two weeks, some of which affect svy-related commands.
-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
FAX: (574)288-4373
HOME: (574)289-5227
EMAIL: [email protected]
WWW (personal): http://www.nd.edu/~rwilliam
WWW (department): http://www.nd.edu/~soc
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/