Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Using STATA to analyze complex national datasets (NAMCS, etc)

From   "Sayer, Bryan" <>
To   "''" <>
Subject   st: RE: Using STATA to analyze complex national datasets (NAMCS, etc)
Date   Mon, 3 Feb 2003 16:01:25 -0500

I'm pretty sure someone else has tried this, as I think I looked up the
documentation for them.  Basically, the answer is no.  Stata does only one
level of sample design.  So unless you can reduce a more complex sample
design down to one level, it is not possible in Stata.  One issue in
simplifying the sample design is that you can get increased variability in
the variance.  So it isn't as simple as just using the highest level.
Perhaps if enough people lean on NCHS, they might come up with something.

Of course, not all NCHS datasets are like this.  NHIS is useable in Stata
for instance.

Bryan Sayer
Statistician, SSS Inc.

-----Original Message-----
From: LeMaster, Joseph W. []
Sent: Monday, February 03, 2003 3:35 PM
Subject: st: Using STATA to analyze complex national datasets (NAMCS,


A group of us here at the University of Missouri would like to use STATA to
analyze data from the National Ambulatory Medical Care Survey (NAMCS). The
National Center for Health Statistics provides variable and value label
information using SAS code, and SAS code to import the ASCII formatted data
into SAS. It is assumed that the user will use SUDAAN (free-standing or
called from within SAS) to analyze the data. 

I was under the impression that STATA could be used to analyze this data,
but I'm not sure how. -svyset- allows for the specification of multiple
strata and primary sampling unit identifiers, but I cannot see immediately
how well it deals with multiple levels of nesting in the pasu's and strata,
which are (I gather) present in the NAMCS etc data. 

We'd very much appreciate corresponding (or even collaborating!) with anyone
who has used STATA to analyze this data. A few of us here are regular STATA
users, but this is completely unfamiliar territory.

from the desk of:
Joseph W. LeMaster, MD MPH
Assistant Professor
Department of Family and Community Medicine
M239 Health Sciences Center, DC032.00
University of Missouri, Columbia
Columbia, MO 65212
Phone: 573-882-4991

*   For searches and help try:
*   For searches and help try:

© Copyright 1996–2019 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index