Sample SAS and SUDAAN codes and documentation for variance estimation of complete NHAMCS-ED data.
Step 1
Since the two variables, “CSTRATM” & “CPSUM”, for variance estimation is not included in data files before 2002. The following program is needed to calculate them from existing variables from the public use data file. This code needs to be included in a SAS data step.
Step 2
Sample SAS and SUDAAN codes for variance estimation
Special Projects Branch
Office of Analysis and Epidemiology
NCHS, Centers for Disease Control and Prevention
Mailstop P08
nchsinjury@cdc.gov
National Center for Health
Statistics
3311 Toledo Road
Hyattsville, MD 20782
Phone: 1-800-232-4636
nchsquery@cdc.gov
Centers for Disease Control and Prevention, 1600 Clifton Rd, Atlanta, GA 30333, U.S.A
Tel: (404) 639-3311 / Public Inquiries: (404) 639-3534 / (800) 311-3435