R Dataset / Package wooldridge / pntsprd
On this R-data statistics page, you will find information about the pntsprd data set which pertains to pntsprd. The pntsprd data set is found in the wooldridge R package. You can load the pntsprd data set in R by issuing the following command at the console data("pntsprd"). This will load the data into a variable called pntsprd. If R says the pntsprd 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 pntsprd R data set. The size of this file is about 15,520 bytes.
pntsprd
Description
Data loads lazily. Type data(pntsprd) into the console.
Usage
data(pntsprd)
Format
A data.frame with 553 rows and 12 variables:
-
favscr. favored team's score
-
undscr. underdog's score
-
spread. las vegas spread
-
favhome. =1 if favored team at home
-
neutral. =1 if neutral site
-
fav25. =1 if favored team in top 25
-
und25. =1 if underdog in top 25
-
fregion. favorite's region of country
-
uregion. underdog's region of country
-
scrdiff. favscr - undscr
-
sprdcvr. =1 if spread covered
-
favwin. =1 if favored team wins
Source
https://www.cengage.com/cgi-wadsworth/course_products_wp.pl?fid=M20b&product_isbn_issn=9781111531041
Examples
str(pntsprd)
Dataset imported from https://www.r-project.org.