Logo
HomeAboutBlogWorkshops
Contact us
Footer Icon

The Probabilistic AI
Consultancy

Home
About
Blog

Subscribe to our newsletter

Stay connected with the latest developments in Probabilistic AI Statistics and AI.

You can unsubscribe at any time. For more details, review ourPrivacy Policypage.

Contact

© 2025 PyMC Labs. All Rights Reserved.

Stochastic Volatility Model with PyMC

Blog

January 15, 2022

By Thomas Wiecki

Asset prices have time-varying volatility (variance of day over day returns). In some periods, returns are highly variable, while in others very stable. Stochastic volatility models model this with a latent volatility variable, modeled as a stochastic process. In this example, we compute the time-varying volatility based on daily returns of the S&P 500.

For the full example, see:
Stochastic Volatility Model with PyMC