R Dataset / Package wooldridge / cement
On this R-data statistics page, you will find information about the cement data set which pertains to cement. The cement data set is found in the wooldridge R package. You can load the cement data set in R by issuing the following command at the console data("cement"). This will load the data into a variable called cement. If R says the cement 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 cement R data set. The size of this file is about 78,861 bytes.
cement
Description
Data loads lazily. Type data(cement) into the console.
Usage
data(cement)
Format
A data.frame with 312 rows and 30 variables:
-
year. 1964-1989
-
month. 1-12
-
prccem. BLS ppi for cement
-
ipcem. industrial prod. index, cement
-
prcpet. ppi for crude petroleum
-
rresc. real residential construction
-
rnonc. real nonres. construction
-
ip. aggregate index of indus. prod.
-
rdefs. real defense spending
-
milemp. military employment
-
gprc. log(prccem) - log(prccem[_n-1])
-
gcem. log(ipcem) - log(ipcem[_n-1])
-
gprcpet. log(prcpet) - log(prcpet[_n-1])
-
gres. log(rresc) - log(rresc[_n-1])
-
gnon. log(rnonc) - log(rnonc[_n-1])
-
gip. log(ip) - log(ip[_n-1])
-
gdefs. log(rdefs) - log(rdefs[_n-1])
-
gmilemp. log(milemp) - log(milemp[_n-1])
-
jan. =1 if month == 1
-
feb. =1 if month == 2
-
mar. =1 if month == 3
-
apr. =1 if month == 4
-
may. =1 if month == 5
-
jun. =1 if month == 6
-
jul. =1 if month == 7
-
aug. =1 if month == 8
-
sep. =1 if month == 9
-
oct. =1 if month == 10
-
nov. =1 if month == 11
-
dec. =1 if month == 12
Source
https://www.cengage.com/cgi-wadsworth/course_products_wp.pl?fid=M20b&product_isbn_issn=9781111531041
Examples
str(cement)
Dataset imported from https://www.r-project.org.