R Dataset / Package wooldridge / injury
On this R-data statistics page, you will find information about the injury data set which pertains to injury. The injury data set is found in the wooldridge R package. You can load the injury data set in R by issuing the following command at the console data("injury"). This will load the data into a variable called injury. If R says the injury 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 injury R data set. The size of this file is about 1,196,594 bytes.
injury
Description
Data loads lazily. Type data(injury) into the console.
Usage
data(injury)
Format
A data.frame with 7150 rows and 30 variables:
-
durat. duration of benefits
-
afchnge. =1 if after change in benefits
-
highearn. =1 if high earner
-
male. =1 if male
-
married. =1 if married
-
hosp. =1 if inj. required hosp. stay
-
indust. industry
-
injtype. type of injury
-
age. age at time of injury
-
prewage. previous weekly wage, 1982 $
-
totmed. total med. costs, 1982 $
-
injdes. 4 digit injury description
-
benefit. real dollar value of benefit
-
ky. =1 for kentucky
-
mi. =1 for michigan
-
ldurat. log(durat)
-
afhigh. afchnge*highearn
-
lprewage. log(wage)
-
lage. log(age)
-
ltotmed. log(totmed); = 0 if totmed < 1
-
head. =1 if head injury
-
neck. =1 if neck injury
-
upextr. =1 if upper extremities injury
-
trunk. =1 if trunk injury
-
lowback. =1 if lower back injury
-
lowextr. =1 if lower extremities injury
-
occdis. =1 if occupational disease
-
manuf. =1 if manufacturing industry
-
construc. =1 if construction industry
-
highlpre. highearn*lprewage
Source
https://www.cengage.com/cgi-wadsworth/course_products_wp.pl?fid=M20b&product_isbn_issn=9781111531041
Examples
str(injury)
Dataset imported from https://www.r-project.org.