R Dataset / Package wooldridge / nbasal
On this R-data statistics page, you will find information about the nbasal data set which pertains to nbasal. The nbasal data set is found in the wooldridge R package. You can load the nbasal data set in R by issuing the following command at the console data("nbasal"). This will load the data into a variable called nbasal. If R says the nbasal 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 nbasal R data set. The size of this file is about 32,934 bytes.
nbasal
Description
Data loads lazily. Type data(nbasal) into the console.
Usage
data(nbasal)
Format
A data.frame with 269 rows and 22 variables:
-
marr. =1 if married
-
wage. annual salary, thousands $
-
exper. years as professional player
-
age. age in years
-
coll. years played in college
-
games. average games per year
-
minutes. average minutes per year
-
guard. =1 if guard
-
forward. =1 if forward
-
center. =1 if center
-
points. points per game
-
rebounds. rebounds per game
-
assists. assists per game
-
draft. draft number
-
allstar. =1 if ever all star
-
avgmin. minutes per game
-
lwage. log(wage)
-
black. =1 if black
-
children. =1 if has children
-
expersq. exper^2
-
agesq. age^2
-
marrblck. marr*black
Source
https://www.cengage.com/cgi-wadsworth/course_products_wp.pl?fid=M20b&product_isbn_issn=9781111531041
Examples
str(nbasal)
Dataset imported from https://www.r-project.org.