View source: R/hmm_logistic_diffusion.R
hmm_logistic_diffusion | R Documentation |
Define a hidden Markov model by discretizing logistic diffusion process.
hmm_logistic_diffusion(times, sigma0)
times |
vector specifying observation times |
sigma0 |
diffusivity parameter |
a list with objects such as:
xdimension
is the dimension of the latent process;
ydimension
is the dimension of the observation process;
theta_dimension
is the dimension of the parameter space;
construct_discretization
outputs a list containing stepsize, nsteps, statelength and obstimes;
construct_successive_discretization
outputs lists containing stepsize, nsteps, statelength, obstimes for fine and coarse levels,
and coarsetimes of length statelength_fine indexing time steps of coarse level;
sigma
is the diffusion coefficient of the process;
rinit
to sample from the initial distribution;
rtransition
to sample from the Markov transition;
dtransition
to evaluate the transition density;
dmeasurement
to evaluate the measurement density;
functional
is the smoothing function to compute gradient of log-likelihood.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.