calc_trunc_gauss_mix_neg_log_lik: Calculate the negative log-likelihood of a truncuated...

View source: R/max_lik_fitting_functions.R

calc_trunc_gauss_mix_neg_log_likR Documentation

Calculate the negative log-likelihood of a truncuated Gaussian mixture fit

Description

The input parameter vector is the parameter vector without the first mixture weight. The minimum and maximum calendar dates are assumed to be the minumum and maximum values of the sampling grid, tau.

Usage

calc_trunc_gauss_mix_neg_log_lik(th_reduced, M, tau, s_min = 0)

Arguments

th_reduced

The paramater vector without the first mixture weight

M

The measurement matrix (see calc_meas_matrix)

tau

The sampling grid

s_min

A minimum value for the mixture standard deviations (default: 0)

Value

The negative log-likelihood

See Also

calc_meas_matrix()


eehh-stanford/baydem documentation built on June 3, 2024, 5:46 p.m.