R Dataset / Package wooldridge / twoyear

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 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 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.

Attachments: csv, json

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