Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Practical Machine Learning Cookbook

You're reading from   Practical Machine Learning Cookbook Supervised and unsupervised machine learning simplified

Arrow left icon
Product type Paperback
Published in Apr 2017
Publisher Packt
ISBN-13 9781785280511
Length 570 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Atul Tripathi Atul Tripathi
Author Profile Icon Atul Tripathi
Atul Tripathi
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Introduction to Machine Learning FREE CHAPTER 2. Classification 3. Clustering 4. Model Selection and Regularization 5. Nonlinearity 6. Supervised Learning 7. Unsupervised Learning 8. Reinforcement Learning 9. Structured Prediction 10. Neural Networks 11. Deep Learning 12. Case Study - Exploring World Bank Data 13. Case Study - Pricing Reinsurance Contracts 14. Case Study - Forecast of Electricity Consumption

Markov chains - the stocks regime switching model

In the last few decades, a lot of studies have been conducted on the analysis and forecasting of volatility. Volatility is the degree of variation of a trading price series over time as measured by the standard deviation of returns. Models of stock returns assume that the returns follow a geometric Brownian motion. This implies that over any discrete time interval, the return on stocks is log normally distributed and that returns in non-overlapping intervals are independent. Studies have found that this model fails to capture extreme price movements and stochastic variability in the volatility parameter. Stochastic volatility takes discrete values, switching between these values randomly. This is the basis of the regime-switching lognormal process (RSLN).

Getting ready

In order to perform the Markov chains regime switching model we shall be using data collected from the Stock's dataset.

Step 1 - collecting and describing the data

The dataset...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image