Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Luke Gotszling - Prediction Using Python

Luke Gotszling - Prediction Using Python

This is a quick introduction to prediction using Python.

Avatar for NewCircle Training

NewCircle Training

September 19, 2013
Tweet

More Decks by NewCircle Training

Other Decks in Technology

Transcript

  1. Introduction to Prediction Luke Gotszling Co-founder & CEO at fina"y.io

    luke@fina"y.io @lmgtwit September 11, 2013 | SFPython | San Francisco 1
  2. Linear regression Benefits: We" supported and straightforward calculation Built-in estimate

    of the degree of fit: R2 (“coefficient of determination”) Problems: Doesn’t handle cycles Questions about parameters (e.g. amount of entries used for regression and steps of extrapolation) 5
  3. EMA (exponential moving average / exponential smoothing / Holt-Winters) Image

    citation: http://lorien.ncl.ac.uk/ming/filter/filewma.htm 6
  4. EMA Benefits: More recent data weighed more heavily Seasonality can

    be taken into account Problems: Relies on reversion to mean Divergence and multiple seasons in data Weighting options 8
  5. Other approaches Higher dimensional polynomial fits (and exponential) Fourier transforms

    Machine learning: neural networks... Bayesian RSI (relative strength index) and other methods used in technical analysis in finance 9