R Dataset / Package wooldridge / wage1
On this R-data statistics page, you will find information about the wage1 data set which pertains to wage1. The wage1 data set is found in the wooldridge R package. You can load the wage1 data set in R by issuing the following command at the console data("wage1"). This will load the data into a variable called wage1. If R says the wage1 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 wage1 R data set. The size of this file is about 40,032 bytes.
wage1
Description
Data loads lazily. Type data(wage1) into the console.
Usage
data(wage1)
Format
A data.frame with 526 rows and 24 variables:
-
wage. average hourly earnings
-
educ. years of education
-
exper. years potential experience
-
tenure. years with current employer
-
nonwhite. =1 if nonwhite
-
female. =1 if female
-
married. =1 if married
-
numdep. number of dependents
-
smsa. =1 if live in SMSA
-
northcen. =1 if live in north central U.S
-
south. =1 if live in southern region
-
west. =1 if live in western region
-
construc. =1 if work in construc. indus.
-
ndurman. =1 if in nondur. manuf. indus.
-
trcommpu. =1 if in trans, commun, pub ut
-
trade. =1 if in wholesale or retail
-
services. =1 if in services indus.
-
profserv. =1 if in prof. serv. indus.
-
profocc. =1 if in profess. occupation
-
clerocc. =1 if in clerical occupation
-
servocc. =1 if in service occupation
-
lwage. log(wage)
-
expersq. exper^2
-
tenursq. tenure^2
Source
https://www.cengage.com/cgi-wadsworth/course_products_wp.pl?fid=M20b&product_isbn_issn=9781111531041
Examples
str(wage1)
Dataset imported from https://www.r-project.org.