r/learnmath • u/Ok_Ebb5360 New User • 1d ago
TOPIC Learn Stochastic Processes (Theory, Application, Code)
Repo: https://github.com/JulianChaoul16/Stochastic_Processes_Independent_Study-.git
Last spring, I spent the semester doing an independent study in stochastic processes; it was a good mixture of applied and theoretical work.
The goal of the study was to learn the topics while building small projects to show real applications of the project. I also built a final project and a final presentation that I presented to a panel.
Some topics I covered:
- Random walks: drift and entropy
- Markov chains: transition matrices, stationary distributions, plus an n-gram sentence generator (it does a pretty good Batman impression)
- Martingales: fair games vs roulette, and why the doubling strategy fails
- Brownian motion: built as the limit of a random walk, then extended to geometric Brownian motion (GBM)
- Continuous-time Markov chains: birth-death processes and SIR epidemic models
- Poisson processes: taxi arrivals, with Exponential and Gamma waiting times
- Time series: AR/MA models and hidden-Markov regime switching
- Final project: 7 progressively more complex models of Microsoft's stock price, backtested on 2018
While I do not suggest this be a substitute for a traditional textbook or course, it is a good first look at the realm of stochastic processes. The repo is split into code, visuals, and the theory itself.
I'd love feedback, especially on anything I explained wrong. Also, if you could think of another cool application of these topics, that would be awesome.