Abstract
Predictive modeling has gotten sophisticated over the years. It is a major discipline of data science and includes some of the most sophisticated mathematics and statistical engineering found anywhere. That being said, some of the tools for prediction are straightforward. We can start with the package prophet, graciously given to the world by Facebook. If you compare prophet to some of the older time series prediction methods, you will be impressed with its simplicity. It has all the trending, seasonality, and other mathematical patterns of older systems but does not force you to “get involved.” You can just enter a dataframe with one column of dates and another column of some numeric value (birds per square mile, prisoners in Alabama, rain forest size, etc.) and then predict future values. The most time-consuming part is getting the dates and column headers in the format prophet requires. After prophet, I’ll present an older method, Holt-Winters (time series) and multivariate regression, where one or more variables (predictors) are used to estimate some variable of interest, termed the response.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2021 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature
About this chapter
Cite this chapter
Yarberry, W. (2021). Simple Prediction Methods. In: CRAN Recipes. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-6876-6_17
Download citation
DOI: https://doi.org/10.1007/978-1-4842-6876-6_17
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-6875-9
Online ISBN: 978-1-4842-6876-6
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)