Each of the pdf files below provides programs and output in SAS, SUDAAN,
STATA, and WesVar for nine examples of variance estimation. These examples
are intended to cover many of the common types of variance estimation you
may do in your analyses. If you have any questions about any of these
examples, please e-mail the NSFG staff at nsfg@cdc.gov.
Example
1. Percent
of women using the oral contraceptive pill by age View/download
PDF753 KB
Example
2. Total
number of women using the oral contraceptive pill by age View/download
PDF346 KB
Example
3. Mean
numbers of children ever born (PARITY), by race and Hispanic origin for women 20-44
years of age View/download
PDF332 KB
Example
4. Linear
regression of PARITY on age, race and Hispanic origin, and education for
women 20-44
years of age View/download
PDF419 KB
Example
5. Percent
distribution of pregnancies by wantedness status, by race and Hispanic
origin, and age at pregnancy outcome View/download
PDF544 KB
Example
6. Percent
of male and female teenagers 15-19 years of age who have ever had sex, by gender and
race and Hispanic origin (combined male/female files) View/download
PDF227 KB
Example
7. Percent
of males 20-44 years of age who have ever fathered a child, by race and Hispanic origin View/download
PDF247 KB
Example
8. Percent
of males and females who strongly agree that "a young couple should not
live together unless they are married" by gender and age (combined
male/female files) View/download
PDF290 KB
Example
9. Logistic
regression for the probability of strongly agreeing that "a young couple
should not live together unless they are married" by age, gender, race
and Hispanic origin, and education (combined male/female files) View/download
PDF445 KB