Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest answer for theoretical question #168

Open
junjunbaby123 opened this issue Feb 15, 2024 · 1 comment
Open

Suggest answer for theoretical question #168

junjunbaby123 opened this issue Feb 15, 2024 · 1 comment

Comments

@junjunbaby123
Copy link

Q: What if we want to build a model for predicting prices? Are prices distributed normally? Do we need to do any pre-processing for prices?


A: None of the models require independent or dependent variables follow normality assumption. The normality assumption is always on the error terms. We assume that after fitting the model, the error term are i.i.d. N(0, sigma2). 

Prediction of price could either be a time series forecast or cross-sectional forecast. In a time series forecast, we need to pre-process the price so that the time series is stationary. We can detect stationarity by using the ADF test. If it is not stationary, we use first-difference, second difference, ..., until the series is stationary. Sometimes we can use the log of price to resemble growth rate. Under the cross secitonal forecast, we can apply multivariate regression to predict price (such as house price forecast). Here we can also use the log of price, and we also need to engineer features and select features.
@junjunbaby123 junjunbaby123 changed the title update answer for theoretical question Suggest answer for theoretical question Feb 15, 2024
@Harshupadhyay221
Copy link

When building a model for predicting prices, it's important to consider several factors regarding the distribution of prices and any necessary preprocessing steps:
Distribution of Prices:
Preprocessing for Prices:
Feature Engineering:
Evaluation Metrics:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants