Description Fields Methods See Also
StatMRHLP contains all the statistics associated to a MRHLP model. It mainly includes the E-Step of the EM algorithm calculating the posterior distribution of the hidden variables, as well as the calculation of the log-likelhood at each step of the algorithm and the obtained values of model selection criteria..
pi_ikMatrix of size (m, K) representing the prior/logistic probabilities π_{k}(x_{i}; Ψ) = P(z_{i} = k | x; Ψ) of the latent variable z_{i}, i = 1,…,m.
z_ikHard segmentation logical matrix of dimension (m, K) obtained by the Maximum a posteriori (MAP) rule: z_ik = 1 if z_ik = arg max_s π_{s}(x_{i}; Ψ); 0 otherwise, k = 1,…,K.
klasColumn matrix of the labels issued from z_ik. Its elements are
klas(i) = k, k = 1,…,K.
tau_ikMatrix of size (m, K) giving the posterior probability that the observation Y_{i} originates from the k-th regression model.
polynomialsArray of size (m, d, K) giving the values of the estimated polynomial regression components.
weighted_polynomialsArray of size (m, d, K) giving the values
of the estimated polynomial regression components weighted by the prior
probabilities pi_ik.
ExMatrix of size (m, d). Ex is the curve expectation
(estimated signal): sum of the polynomial components weighted by the
logistic probabilities pi_ik.
loglikNumeric. Observed-data log-likelihood of the MRHLP model.
com_loglikNumeric. Complete-data log-likelihood of the MRHLP model.
stored_loglikNumeric vector. Stored values of the log-likelihood at each EM iteration.
stored_com_loglikNumeric vector. Stored values of the Complete log-likelihood at each EM iteration.
BICNumeric. Value of BIC (Bayesian Information Criterion).
ICLNumeric. Value of ICL (Integrated Completed Likelihood).
AICNumeric. Value of AIC (Akaike Information Criterion).
log_piik_fikMatrix of size (m, K) giving the values of the logarithm of the joint probability P(y_{i}, z_{i} = k | x, Ψ), i = 1,…,m.
log_sum_piik_fikColumn matrix of size m giving the values of log ∑_{k = 1}^{K} P(y_{i}, z_{i} = k | x, Ψ), i = 1,…,m.
computeLikelihood(reg_irls)Method to compute the log-likelihood. reg_irls is the value of
the regularization part in the IRLS algorithm.
computeStats(paramMRHLP)Method used in the EM algorithm to compute statistics based on
parameters provided by the object paramMRHLP of class
ParamMRHLP.
EStep(paramMRHLP)Method used in the EM algorithm to update statistics based on parameters
provided by the object paramMRHLP of class ParamMRHLP
(prior and posterior probabilities).
MAP()MAP calculates values of the fields z_ik and klas
by applying the Maximum A Posteriori Bayes allocation rule.
z_{ik} = 1 if z_ik = arg max_{s} π_{k}(x_{i}; Ψ); 0 otherwise
ParamMRHLP
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.