hpiR0.3.2 package

House Price Indexes

hedModel.weighted

Hedonic model approach with weighted estimator

hpiModel.hed

Specific method for hpi modeling (hed) approach)

hpiModel

Wrapper to estimate model approaches (generic method)

hpiModel.rf

Specific method for hpi modeling (hed) approach)

hpiModel.rt

Specific method for hpi modeling (rt approach)

hpiR

hpiR: A package for house price indexes

matchKFold.heddata

Helper function to make KFold data

matchKFold

Helper function to make KFold data

matchKFold.rtdata

Helper function to make KFold data

modelToIndex

Convert model results into a house price index

plot.hpi

Plot method for hpi object

plot.hpiaccuracy

Plot method for hpiaccuracy object

plot.hpiindex

Plot method for hpiindex object

plot.indexvolatility

Plot method for indexvolatility object

rtIndex

Create a full index object by repeat transaction approach

rtModel.base

Repeat transaction model approach with base estimator

plot.seriesaccuracy

Plot method for seriesaccuracy object

plot.serieshpi

Plot method for serieshpi object

plot.seriesrevision

Plot method for seriesrevision object

rfIndex

Create a full index object by random forest approach

rfModel.pdp

Random forest model approach with pdp estimator

rfModel

Estimate random forest model for index creation

rfSimDf

Create simulation data for Random forest approach

rtCreateTrans

Create transaction data for rt approach

buildForecastIDs.heddata

Create the row IDs for forecast accuracy (hed approach)

buildForecastIDs

Create the row IDs for forecast accuracy

buildForecastIDs.rtdata

Create the row IDs for forecast accuracy (rt approach)

calcAccuracy

Calculate the accuracy of an index

calcForecastError

Calculate the forecast accuracy of series of indexes

calcInSampleError.heddata

Calculate index errors in sample (hed approach)

calcInSampleError

Calculate index errors in sample

calcInSampleError.rtdata

Calculate index errors in sample (rt approach)

calcKFoldError

Calculate index error with FKold (out of sample)

calcRevision

Calculate revision values of an index

calcSeriesAccuracy

Calculate the accuracy of a series of indexes

calcSeriesVolatility

Calculate volatility of a series of indexes

calcVolatility

Calculate index volatility

checkDate

Validate the date argument

createKFoldData

Create data for KFold error test

createKFoldData.rtdata

Create data for KFold error test (rt approach)

createSeries

Create a series of indexes

dateToPeriod

Convert dates to a relative period

hedCreateTrans

Create data for hed approach

hedIndex

Create a full index object by hedonic approach

hedModel.base

Hedonic model approach with base estimator

hedModel

Estimate hedonic model for index creation

hedModel.robust

Hedonic model approach with robust estimator

rtModel

Estimate repeat transaction model for index creation

rtModel.robust

Repeat transaction model approach with robust estimator

rtModel.weighted

Repeat transaction model approach with weighted estimator

rtTimeMatrix

Create model matrix for repeat transaction approach

smoothIndex

Smooth an index

smoothSeries

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>.