© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
J. AnderssonStatistical Analysis with Swifthttps://doi.org/10.1007/978-1-4842-7765-2_4

4. Predicting House Sale Prices with Linear Regression

Jimmy Andersson1  
(1)
Västra Frölunda, Sweden
 

So far, we have looked at statistics from the point of describing data. We have tried to find ways of distilling important properties of a potentially massive data set into one or a few numbers. While this approach is undoubtedly practical, we would also like to use the data to look into the future. Thus, we want to look at some sample points that have already happened and use them to predict what happens next. This chapter looks at one way of doing so – this chapter is all ...

Get Statistical Analysis with Swift: Data Sets, Statistical Models, and Predictions on Apple Platforms now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.