Learn R Programming

PHSMM (version 1.0)

Penalised Maximum Likelihood Estimation for Hidden Semi-Markov Models

Description

Provides tools for penalised maximum likelihood estimation of hidden semi-Markov models (HSMMs) with flexible state dwell-time distributions. These include functions for model fitting, model checking and state-decoding. The package considers HSMMs for univariate time series with state-dependent gamma, normal, Poisson or Bernoulli distributions. For details, see Pohle, J., Adam, T. and Beumer, L.T. (2021): Flexible estimation of the state dwell-time distribution in hidden semi-Markov models. .

Copy Link

Version

Install

install.packages('PHSMM')

Monthly Downloads

257

Version

1.0

License

GPL-3

Maintainer

Jennifer Pohle

Last Published

February 9th, 2021

Functions in PHSMM (1.0)

muskox

Muskox movement data
Bernoulli distribution

Bernoulli distribution
n2wHSMM

Parameter transformation from natural to working parameters
decodeHSMM

State decoding
nll_Rcpp

Negative log-likelihood evaluation
pseudoResHSMM

HSMM pseudo-residuals
tpmHMM

Tranistion probability matrix of the HMM representation
npllHSMM

negative penalised HSMM log-likelihood function
w2nHSMM

Parameter transformation from working to natural parameters
plotDw

Plot of the estimated HSMM dwell-time distributions.
pmleHSMM

HSMM penalised maximum likelihood estimation