Description Usage Arguments Value
View source: R/segmentation_gibbs_functions.R
An internal function that is used to calculate the log marginal likelihood of
models for the current and proposed sets of breakpoints. Called within
samp_move
.
1 | log_marg_likel(alpha, summary.stats, nbins, ndata.types)
|
alpha |
numeric. A single value used to specify the hyperparameter for
the prior distribution. A standard value for |
summary.stats |
A matrix of sufficient statistics returned from
|
nbins |
numeric. A vector of the number of bins used to discretize each movement variable. |
ndata.types |
numeric. The length of |
The log marginal likelihood is calculated for a model with a given set of breakpoints and the discretized data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.