Package: smmR 1.0.5

Nicolas Vergne

smmR: Simulation, Estimation and Reliability of Semi-Markov Models

Performs parametric and non-parametric estimation and simulation for multi-state discrete-time semi-Markov processes. For the parametric estimation, several discrete distributions are considered for the sojourn times: Uniform, Geometric, Poisson, Discrete Weibull and Negative Binomial. The non-parametric estimation concerns the sojourn time distributions, where no assumptions are done on the shape of distributions. Moreover, the estimation can be done on the basis of one or several sample paths, with or without censoring at the beginning or/and at the end of the sample paths. Reliability indicators such as reliability, maintainability, availability, BMP-failure rate, RG-failure rate, mean time to failure and mean time to repair are available as well. The implemented methods are described in Barbu, V.S., Limnios, N. (2008) <doi:10.1007/978-0-387-73173-5>, Barbu, V.S., Limnios, N. (2008) <doi:10.1080/10485250701261913> and Trevezas, S., Limnios, N. (2011) <doi:10.1080/10485252.2011.555543>. Estimation and simulation of discrete-time k-th order Markov chains are also considered.

Authors:Vlad Stefan Barbu [aut], Florian Lecocq [aut], Corentin Lothode [aut], Nicolas Vergne [aut, cre]

smmR_1.0.5.tar.gz
smmR_1.0.5.tar.gz(r-4.7-arm64)smmR_1.0.5.tar.gz(r-4.7-x86_64)smmR_1.0.5.tar.gz(r-4.6-arm64)smmR_1.0.5.tar.gz(r-4.6-x86_64)
smmR_1.0.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
smmR/json (API)
NEWS

# Install 'smmR' in R:
install.packages('smmR', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/corentin-dev/smmr/issues

Pkgdown/docs site:https://lmrs.pages.math.cnrs.fr

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

openblascpp

4.16 score 145 scripts 191 downloads 34 exports 21 dependencies

Last updated from:8fdf003b71. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK148
linux-devel-x86_64OK151
source / vignettesOK188
linux-release-arm64OK141
linux-release-x86_64OK185
wasm-releaseOK121

Exports:availabilityconvolutionfailureRatefitmmfitsmmget.fget.Hget.Kparget.limitDistributionget.Niujget.Pget.psiget.Pyget.qyget.stationaryDistributiongetKernelgetProcessesis.mmis.mmfitis.smmis.smmfitis.smmnonparametricis.smmparametricmaintainabilitymatrixConvolutionmeanRecurrenceTimesmeanSojournTimesmmmttfmttrreliabilitysetSeedsmmnonparametricsmmparametric

Dependencies:ade4codetoolsdigestDiscreteWeibullfuturefuture.applyglobalslatticelistenvMASSnlmenumDerivparallellypixmapRcppRcppArmadilloRsolnpsegmentedseqinrsptruncnorm

Introduction to smmR

Rendered fromsmmR.Rmdusingknitr::rmarkdownon Jun 05 2026.

Last update: 2025-11-07
Started: 2025-11-07

Textile-Factory

Rendered fromTextile-Factory.Rmdusingknitr::rmarkdownon Jun 05 2026.

Last update: 2025-11-07
Started: 2021-03-04

Readme and manuals

Help Manual

Help pageTopics
smmR : Semi-Markov Models, Markov Models and ReliabilitysmmR-package smmR
BMP-Failure Rate Function.failureRateBMP
Availability Functionavailability
Discrete-time convolution product of f and g (See definition 2.2 p. 20)convolution
Failure Rate FunctionfailureRate
Maximum Likelihood Estimation (MLE) of a k-th order Markov chainfitmm
Maximum Likelihood Estimation (MLE) of a semi-Markov chainfitsmm
Method to get the conditional sojourn time distribution fget.f
Function to compute the value of the sojourn time cumulative distribution Hget.H
Method to get the number of parameters of a Markov or semi-Markov chainget.Kpar
Method to get the limit (stationary) distributionget.limitDistribution
Function giving the value of the counting process Niuj used in the estimation of the kernel and the transition matrix of censored and non-parametric semi-markov chains (cf. article Exact MLE and asymptotic properties for nonparametric semi-Markov models)get.Niuj
Method to compute the value of Pget.P
Function to compute the value of the matrix-valued function psiget.psi
Method to compute the value of P_{Y}get.Py
Method to get the semi-Markov kernel q_{Y}get.qy
Method to get the stationary distributionget.stationaryDistribution
Method to get the semi-Markov kernel qgetKernel
Function to compute processes based on a list of sequencesgetProcesses
Function to check if an object is of class 'mm'is.mm
Function to check if an object is of class 'mmfit'is.mmfit
Function to check if an object is of class 'smm'is.smm
Function to check if an object is of class 'smmfit'is.smmfit
Function to check if an object is of class 'smmnonparametric'is.smmnonparametric
Function to check if an object is of class 'smmparametric'is.smmparametric
Maintainability Functionmaintainability
Discrete-time matrix convolution product (See definition 3.5 p. 48)matrixConvolution
Method to get the mean recurrence times mumeanRecurrenceTimes
Mean Sojourn Times FunctionmeanSojournTimes
Markov model specificationmm
Mean Time To Failure (MTTF) Functionmttf
Mean Time To Repair (MTTR) Functionmttr
Plot function for an object of class smmplot.smm
Plot function for an object of class smmfitplot.smmfit
Reliability Functionreliability
Set the RNG Seed from within RcppsetSeed
Simulates k-th order Markov chainssimulate.mm
Simulates Markov chainssimulate.mmfit
Simulates semi-Markov chainssimulate.smm
Simulates semi-Markov chainssimulate.smmfit
Non-parametric semi-Markov model specificationsmmnonparametric
Parametric semi-Markov model specificationsmmparametric