calculate_hedonic_imputation {cbsREPS}R Documentation

Calculate imputation averages with the 1st period as base period

Description

Prices are estimated based on a provided Hedonic model The model values are calculated for each period in the data With these values, new prices of base period observations are estimated. With this function, imputations according to the Laspeyres and Paasche method can be estimated.

Usage

calculate_hedonic_imputation(
  dataset_temp = dataset,
  period_temp = "period_var_temp",
  dependent_variable_temp = dependent_variable,
  independent_variables_temp = independent_variables,
  number_of_observations_temp = number_of_observations,
  period_list_temp = period_list
)

Arguments

dataset_temp

table with data

period_temp

'period'

dependent_variable_temp

usually the sale price

independent_variables_temp

vector with quality determining variables

period_list_temp

list with all available periods

Value

Table with imputation averages per period

Author(s)

Farley Ishaak


[Package cbsREPS version 0.1.0 Index]