Description Usage Format Details Source References Examples
Obs: 1000 observations (subset of cps4.dat)
1 | data("cps4_small")
|
A data frame with 1000 observations on the following 12 variables.
wage
earnings per hour
educ
years of education
exper
post education years experience
hrswk
usual hours worked per week
married
= 1 if married
female
= 1 if female
metro
= 1 if lives in metropolitan area
midwest
= 1 if lives in midwest
south
= 1 if lives in south
west
= 1 if lives in west
black
= 1 if black
asian
= 1 if asian
Note on education variable. CPS reports educational attainment by category. For the purpose of illustrations in this book, we assign the following numerical values for "educ"
00 .Less than 1st grade 03 .1st,2nd,3rd,or 4th grade 03 .5th or 6th grade 08 .7th and 8th grade 09 .9th grade 10 .10th grade 11 .11th grade 12 .12th grade no diploma 12 .High school graduate – high school diploma or equivalent 13 .Some college but no degree 14 .Associate degree in college - occupation/vocation program 14 .Associate degree in college - academic program 16 .Bachelor's degree (for example: BA,AB,BS) 18 .Master's degree (for example:MA,MS,MENG,MED,MSW, MBA) 21 .Professional school degree (for example: MD,DDS,DVM,LLB,JD) 21 .Doctorate degree (for example: PHD,EDD)
http://principlesofeconometrics.com/poe4/poe4.htm
Dr. Kang Sun Lee, Louisiana Department of Health and Human Services
1 2 | data(cps4_small)
## maybe str(cps4_small) ; plot(cps4_small) ...
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.