House Price Indexes
Hedonic model approach with weighted estimator
Specific method for hpi modeling (hed) approach)
Wrapper to estimate model approaches (generic method)
Specific method for hpi modeling (hed) approach)
Specific method for hpi modeling (rt approach)
hpiR: A package for house price indexes
Helper function to make KFold data
Helper function to make KFold data
Helper function to make KFold data
Convert model results into a house price index
Plot method for hpi object
Plot method for hpiaccuracy object
Plot method for hpiindex object
Plot method for indexvolatility object
Create a full index object by repeat transaction approach
Repeat transaction model approach with base estimator
Plot method for seriesaccuracy object
Plot method for serieshpi object
Plot method for seriesrevision object
Create a full index object by random forest approach
Random forest model approach with pdp estimator
Estimate random forest model for index creation
Create simulation data for Random forest approach
Create transaction data for rt approach
Create the row IDs for forecast accuracy (hed approach)
Create the row IDs for forecast accuracy
Create the row IDs for forecast accuracy (rt approach)
Calculate the accuracy of an index
Calculate the forecast accuracy of series of indexes
Calculate index errors in sample (hed approach)
Calculate index errors in sample
Calculate index errors in sample (rt approach)
Calculate index error with FKold (out of sample)
Calculate revision values of an index
Calculate the accuracy of a series of indexes
Calculate volatility of a series of indexes
Calculate index volatility
Validate the date argument
Create data for KFold error test
Create data for KFold error test (rt approach)
Create a series of indexes
Convert dates to a relative period
Create data for hed approach
Create a full index object by hedonic approach
Hedonic model approach with base estimator
Estimate hedonic model for index creation
Hedonic model approach with robust estimator
Estimate repeat transaction model for index creation
Repeat transaction model approach with robust estimator
Repeat transaction model approach with weighted estimator
Create model matrix for repeat transaction approach
Smooth an index
Smooth all indexes in a series
Compute house price indexes and series using a variety of different methods and models common through the real estate literature. Evaluate index 'goodness' based on accuracy, volatility and revision statistics. Background on basic model construction for repeat sales models can be found at: Case and Quigley (1991) <https://ideas.repec.org/a/tpr/restat/v73y1991i1p50-58.html> and for hedonic pricing models at: Bourassa et al (2006) <doi:10.1016/j.jhe.2006.03.001>. The package author's working paper on the random forest approach to house price indexes can be found at: <http://www.github.com/andykrause/hpi_research>.