R Dataset / Package wooldridge / jtrain

On this R-data statistics page, you will find information about the jtrain data set which pertains to jtrain. The jtrain data set is found in the wooldridge R package. You can load the jtrain data set in R by issuing the following command at the console data("jtrain"). This will load the data into a variable called jtrain. If R says the jtrain 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 jtrain R data set. The size of this file is about 91,544 bytes.

jtrain

Description

Data loads lazily. Type data(jtrain) into the console.

Usage

data(jtrain)

Format

A data.frame with 471 rows and 30 variables:

  • year. 1987, 1988, or 1989

  • fcode. firm code number

  • employ. # employees at plant

  • sales. annual sales, $

  • avgsal. average employee salary

  • scrap. scrap rate (per 100 items)

  • rework. rework rate (per 100 items)

  • tothrs. total hours training

  • union. =1 if unionized

  • grant. = 1 if received grant

  • d89. = 1 if year = 1989

  • d88. = 1 if year = 1988

  • totrain. total employees trained

  • hrsemp. tothrs/totrain

  • lscrap. log(scrap)

  • lemploy. log(employ)

  • lsales. log(sales)

  • lrework. log(rework)

  • lhrsemp. log(1 + hrsemp)

  • lscrap_1. lagged lscrap; missing 1987

  • grant_1. lagged grant; assumed 0 in 1987

  • clscrap. lscrap - lscrap_1; year > 1987

  • cgrant. grant - grant_1

  • clemploy. lemploy - lemploy[_n-1]

  • clsales. lavgsal - lavgsal[_n-1]

  • lavgsal. log(avgsal)

  • clavgsal. lavgsal - lavgsal[_n-1]

  • cgrant_1. cgrant[_n-1]

  • chrsemp. hrsemp - hrsemp[_n-1]

  • clhrsemp. lhrsemp - lhrsemp[_n-1]

Source

https://www.cengage.com/cgi-wadsworth/course_products_wp.pl?fid=M20b&product_isbn_issn=9781111531041

Examples

 str(jtrain)

Dataset imported from https://www.r-project.org.

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-wooldridge-jtrain.html" width="100%" height="100%" style="border:0px"></iframe>