R Dataset / Package wooldridge / jtrain

Documentation

On this Picostat.com 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. 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.

Title Authored on Content type
R Dataset / Package psych / bfi March 9, 2018 - 1:06 PM Dataset
OpenIntro Statistics Dataset - scotus_healthcare August 9, 2020 - 2:38 PM Dataset
R Dataset / Package psych / withinBetween March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Stat2Data / Kids198 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / Wages1 March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-28166.csv 89.4 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0