Skip to content

ldhmm

Hidden Markov Model for Financial Time-Series Based on Lambda Distribution

v0.6.1 · Dec 10, 2023 · Artistic-2.0

Description

Hidden Markov Model (HMM) based on symmetric lambda distribution framework is implemented for the study of return time-series in the financial market. Major features in the S&P500 index, such as regime identification, volatility clustering, and anti-correlation between return and volatility, can be extracted from HMM cleanly. Univariate symmetric lambda distribution is essentially a location-scale family of exponential power distribution. Such distribution is suitable for describing highly leptokurtic time series obtained from the financial market. It provides a theoretically solid foundation to explore such data where the normal distribution is not adequate. The HMM implementation follows closely the book: "Hidden Markov Models for Time Series", by Zucchini, MacDonald, Langrock (2016).

Downloads

230

Last 30 days

19868th

619

Last 90 days

2.4K

Last year

Trend: +4.6% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies gnorm optimx xts zoo moments scales ggplot2 yaml ldhmm

Version History

new 0.6.1 Mar 10, 2026
updated 0.6.1 ← 0.5.1 diff Dec 10, 2023
updated 0.5.1 ← 0.4.5 diff Dec 4, 2019
updated 0.4.5 ← 0.4.2 diff Feb 27, 2018
updated 0.4.2 ← 0.4.1 diff Aug 4, 2017
updated 0.4.1 ← 0.1.0 diff Jun 2, 2017
new 0.1.0 Apr 12, 2017