"Jason Wilcox"
"Aug 7th 2018"
How to determine what really is the value of your home when there are so many things to consider
Housing prices has a large range of values with the mean price around $163,000
Min. 1st Qu. Median Mean 3rd Qu. Max. NA's
34900 129925 163000 180933 214000 755000 1459
Using a correlation plot, I was able to quickly see the most important variables for determining SalePrice
Houses had a given quality rating, 1-10
As expected, there is a very strong correlation between the size of a house and its price.
Some neighborhoods have significantly larger average house values
Neighborhoods compared by house size
Comparing using age of the house shows the opposite
I will be using a linear regression model to predict housing prices. Using the accuracy() command, I'll be checking the different model's ability to predict the values that we already know and compare with root mean squared error (RMSE) and mean average percent error (MAPE)
round(accuracy(prediction, trueValues), 3)
ME RMSE MAE MPE MAPE
Test set 0.003 20975.7 14563.54 -0.546 8.749