Learn R Programming

LogisticDx (version 0.3)

nhanes3: NHANES III data

Description

NHANES III data

Arguments

Format

A data.frame with \(17030\) observations (rows) and \(16\) variables (columns).

Details

A subset of data from the National Health and Nutrition Examination Study (NHANES) III. Subjects age >=20 are included.

A sample of 39,695 subjects was selected, representing more than 250 million people living in the USA. Data was collected 1988-1994.

49 pseudo strata were created with 2 pseudo-PSU's in each stratum (primary sampling units).

This is a subset of the original dataset.

Columns are:

SEQN

Respondent sequence number.

SDPPSU6

Pseudo-PSU (primary sampling unit).

SDPSTRA6

Pseudo stratum.

WTPFHX6

Statistical weight. Range \(225.93\) to \(139744.9\).

HSAGEIR

Age (years).

HSSEX

Gender (a factor):

0

female

1

male

DMARACER

Race (a factor):

1

white

2

black

3

other

BMPWTLBS

Body weight (lbs).

BMPHTIN

Standing height (inches).

PEPMNK1R

Average Systolic BP.

PEPMNK5R

Average Diastolic BP.

HAR1

Has respondent smoked >100 cigarettes in life (a factor):

1

yes

2

no

HAR3

Does respondent smoke cigarettes now? (a factor):

1

yes

2

no

SMOKE

Smoking (a factor):

1

never (HAR1 = 2)

2

>100 cigs (HAR1 = 1 & HAR3 = 2)

3

current (HAR1 =1 & HAR3 = 1)

TCP

Serum cholesterol (mg/100ml).

a
HBP

High blood pressure? (a factor):

1

yes (PEPMNK1R > 140)

2

no (PEPMNK1R <= 140)

References

H&L 2nd ed. Page 215. Table 6.3.

National Center for Health Statistics (US) and others 1996. NHANES III reference manuals and reports. National Center for Health Statistics. CDC (free)

Examples

Run this code
# NOT RUN {
## use simpler column names
data("nhanes3", package="LogisticDx")
n1 <- c("ID", "pStrat", "pPSU", "sWt", "age", "sex",
        "race", "bWt", "h", "sysBP", "diasBP", "sm100",
        "smCurr", "smok", "chol", "htn")
names(nhanes3) <- n1

# }

Run the code above in your browser using DataLab