Skip to main content

Simple Prediction Methods

  • Chapter
  • First Online:
CRAN Recipes
  • 540 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics