Learn R Programming

UsingR (version 2.0-7)

cfb: Bootstrap sample from the Survey of Consumer Finances

Description

A bootstrap sample from the “Survey of Consumer Finances”.

Usage

data(cfb)

Arguments

Format

A data frame with 1000 observations on the following 14 variables.

WGT

Weights to comensate for undersampling. Not applicable

AGE

Age of participants

EDUC

Education level (number of years) of participant

INCOME

Income in year 2001 of participant

CHECKING

Amount in checking account for participant

SAVING

Amount in savings accounts

NMMF

Total directly-held mutual funds

STOCKS

Amount held in stocks

FIN

Total financial assets

VEHIC

Value of all vehicles (includes autos, motor homes, RVs, airplanes, boats)

HOMEEQ

Total home equity

OTHNFIN

Other financial assets

DEBT

Total debt

NETWORTH

Total net worth

Details

The SCF dataset is a comprehensive survey of consumer finances sponsored by the United States Federal Reserve, https://www.federalreserve.gov/pubs/oss/oss2/2001/scf2001home.html.

The data is oversampled to compensate for low response in the upper brackets. To compensate, weights are assigned. By bootstrapping the data with the weights, we get a “better” version of a random sample from the population.

Examples

Run this code
# NOT RUN {
data(cfb)
attach(cfb)
mean(INCOME)
# }

Run the code above in your browser using DataLab