# Is house price prediction a regression or a time series problem?

I have a dataset of house prices from 2000 to 2016 from several U.S.A. cities. From this I want to predict the price of similar houses at the current date, is this better addressed as a regression problem or as a time series problem. An important point is that the data I have till now is rather sparse, just few thousand of records.

While the other answer is correct that the response variable can be modelled as a linear regression - you are dealing with house prices. As such, your dataset will likely suffer from what is called time series induced heteroscedasticity.

What this basically means is that since your houses will vary by age - i.e. some houses could be one year old, others over thirty years old, then you will have an unconstant variance across your residuals.

If you see this abstract titled "Heteroscedasticity in hedonic house price models", you will note that using Generalised Least Squares was indicated to remove the heteroscedasticity with forecast errors of a lower standard deviation that would be obtained through standard Ordinary Least Squares.

In summary to your question, your data can be modelled using regression analysis, but you do need to watch out for heteroscedasticity and also serial correlation. Moreover, you might find that your distribution (run a qqPlot to check) may not be normal, and your analysis might be better served through first converting your data to that of a normal distribution using a Box-Cox transformation.

You needn't choose one or the other. Price can be modeled as a function both of its own past values and of independent variables. The latter may themselves have lagged values that additionally help predict price.

• Your answer implies one could use time series procedures to analyze these data. That doesn't seem likely: because the houses sell at whenever times they will, not at regular intervals, most datasets of housing prices are not time series.
– whuber
Feb 26, 2017 at 23:26

Your response variable - house price, and predictors - year, city. Am I correct on this? You could model this as a linear regression and predict the house price.

• Yes, but there are more independent variables besides year and city. Feb 26, 2017 at 22:40
• You can use multiple linear regression, but make sure the key assumptions are met (linearity, normality, collinearity and homoscedasticity) using residual plots, and pp or qq plot. Feb 26, 2017 at 23:05