R Dataset / Package wooldridge / twoyear

Documentation

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


twoyear

Description

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

Usage

data(twoyear)

Format

A data.frame with 6763 rows and 23 variables:

  • female. =1 if female

  • phsrank. percent high school rank; 100 = best

  • BA. =1 if Bachelor's degree

  • AA. =1 if Associate's degree

  • black. =1 if African-American

  • hispanic. =1 if Hispanic

  • id. ID Number

  • exper. total (actual) work experience

  • jc. total 2-year credits

  • univ. total 4-year credits

  • lwage. log hourly wage

  • stotal. total standardized test score

  • smcity. =1 if small city, 1972

  • medcity. =1 if med. city, 1972

  • submed. =1 if suburb med. city, 1972

  • lgcity. =1 if large city, 1972

  • sublg. =1 if suburb large city, 1972

  • vlgcity. =1 if very large city, 1972

  • subvlg. =1 if sub. very lge. city, 1972

  • ne. =1 if northeast

  • nc. =1 if north central

  • south. =1 if south

  • totcoll. jc + univ

Source

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

Examples

 str(twoyear)
--

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

Title Authored on Content type
OpenIntro Statistics Dataset - dream August 9, 2020 - 12:25 PM Dataset
OpenIntro Statistics Dataset - winery_cars August 9, 2020 - 2:38 PM Dataset
R Dataset / Package HSAUR / toothpaste March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HSAUR / pottery March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HistData / Guerry March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-46603.csv 658.97 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0

This documentation is licensed under GPLv3 or later.