Estimate hpi models with rt approach
# S3 method for rtdata
hpiModel(hpi_df, estimator = "base", log_dep = TRUE,
trim_model = TRUE, ...)
Dataset created by one of the *CreateTrans() function in this package.
Type of estimator to be used ('base', 'weighted', 'robust')
default TRUE, should the dependent variable (change in price) be logged?
default TRUE, should excess be trimmed from model results ('lm' or 'rlm' object)?
Additional Arguments
hpimodel object consisting of:
Type of estimator
Data.frame of coefficient
class `rtmodel` or `hedmodel`
Full model specification
Binary: is the dependent variable in logged format
Mean price in the base period
`data.frame` of periods
Type of model used