R Dataset / Package wooldridge / jtrain2
On this R-data statistics page, you will find information about the jtrain2 data set which pertains to jtrain2. The jtrain2 data set is found in the wooldridge R package. You can load the jtrain2 data set in R by issuing the following command at the console data("jtrain2"). This will load the data into a variable called jtrain2. If R says the jtrain2 data set is not found, you can try installing the package by issuing this command install.packages("wooldridge") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the jtrain2 R data set. The size of this file is about 37,044 bytes.
jtrain2
Description
Data loads lazily. Type data(jtrain2) into the console.
Usage
data(jtrain2)
Format
A data.frame with 445 rows and 19 variables:
-
train. =1 if assigned to job training
-
age. age in 1977
-
educ. years of education
-
black. =1 if black
-
hisp. =1 if Hispanic
-
married. =1 if married
-
nodegree. =1 if no high school degree
-
mosinex. # mnths prior to 1/78 in expmnt
-
re74. real earns., 1974, $1000s
-
re75. real earns., 1975, $1000s
-
re78. real earns., 1978, $1000s
-
unem74. =1 if unem. all of 1974
-
unem75. =1 if unem. all of 1975
-
unem78. =1 if unem. all of 1978
-
lre74. log(re74); zero if re74 == 0
-
lre75. log(re75); zero if re75 == 0
-
lre78. log(re78); zero if re78 == 0
-
agesq. age^2
-
mostrn. months in training
Source
https://www.cengage.com/cgi-wadsworth/course_products_wp.pl?fid=M20b&product_isbn_issn=9781111531041
Examples
str(jtrain2)
Dataset imported from https://www.r-project.org.