R Dataset / Package wooldridge / hprice3
On this R-data statistics page, you will find information about the hprice3 data set which pertains to hprice3. The hprice3 data set is found in the wooldridge R package. You can load the hprice3 data set in R by issuing the following command at the console data("hprice3"). This will load the data into a variable called hprice3. If R says the hprice3 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 hprice3 R data set. The size of this file is about 49,705 bytes.
hprice3
Description
Data loads lazily. Type data(hprice3) into the console.
Usage
data(hprice3)
Format
A data.frame with 321 rows and 19 variables:
-
year. 1978, 1981
-
age. age of house
-
agesq. age^2
-
nbh. neighborhood, 1-6
-
cbd. dist. to cent. bus. dstrct, ft.
-
inst. dist. to interstate, ft.
-
linst. log(inst)
-
price. selling price
-
rooms. # rooms in house
-
area. square footage of house
-
land. square footage lot
-
baths. # bathrooms
-
dist. dist. from house to incin., ft.
-
ldist. log(dist)
-
lprice. log(price)
-
y81. =1 if year = 1981
-
larea. log(area)
-
lland. log(land)
-
linstsq. linst^2
Source
https://www.cengage.com/cgi-wadsworth/course_products_wp.pl?fid=M20b&product_isbn_issn=9781111531041
Examples
str(hprice3)
Dataset imported from https://www.r-project.org.