CRAN/E | ldhmm

ldhmm

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

Installation

About

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).

papers.ssrn.com/sol3/papers.cfm?abstract_id=2979516 https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3435667
papers.ssrn.com/sol3/papers.cfm?abstract_id=2979516 https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3435667

Key Metrics

Version 0.6.1
R ≥ 4.2.0
Published 2023-12-11 140 days ago
Needs compilation? no
License Artistic-2.0
CRAN checks ldhmm results

Downloads

Yesterday 4 0%
Last 7 days 55 +17%
Last 30 days 180 -6%
Last 90 days 581 -40%
Last 365 days 2.623 -15%

Maintainer

Maintainer

Stephen H-T. Lihn

stevelihn@gmail.com

Authors

Stephen H-T. Lihn

aut / cre

Material

NEWS
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

ldhmm archive

Depends

R ≥ 4.2.0

Imports

stats
utils
gnorm
optimx
xts ≥ 0.10-0
zoo
moments
parallel
graphics
scales
ggplot2
grid
yaml
methods

Suggests

knitr
testthat
depmixS4
roxygen2
R.rsp
shape