A random sample of 1,728 homes taken from public records from the Saratoga County (http://www.saratogacountyny.gov/departments/real-property-tax-service-agency/). Collected by Candice Corvetti (Williams College '07) for her senior thesis.
data(Houses_for_sale)
A dataframe with 1728 cases, each of which is a house for sale.
These data are part of a case study developed by Prof. Dick de Veaux at Williams. They are available from the American Statistical Association's Stat 101 collection of case studies and included in this package for convenience.
Dick De Veaux (2015) "How much is a fireplace worth?" Stats 101: A resource for teaching introductory statistics, American Statistical Association
mod_1 <- lm(price ~ fireplaces, data = Houses_for_sale) mod_2 <- lm(price ~ fireplaces + living_area, data = Houses_for_sale) mod_effect(mod_1, ~ fireplaces)#> slope fireplaces to_fireplaces #> 1 66698.82 1 1.4#> slope fireplaces to_fireplaces living_area #> 1 8962.44 1 1.4 1600