A bootstrap sample from the “Survey of Consumer Finances”.
data(cfb)
A data frame with 1000 observations on the following 14 variables.
Weights to comensate for undersampling. Not applicable
Age of participants
Education level (number of years) of participant
Income in year 2001 of participant
Amount in checking account for participant
Amount in savings accounts
Total directly-held mutual funds
Amount held in stocks
Total financial assets
Value of all vehicles (includes autos, motor homes, RVs, airplanes, boats)
Total home equity
Other financial assets
Total debt
Total net worth
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.
# NOT RUN {
data(cfb)
attach(cfb)
mean(INCOME)
# }
Run the code above in your browser using DataLab