Implements the maximization step of the EM algorithm based on a ridge-stabilized version of the Newton-Raphson algorithm, see Goldfeld et al. (1966).
newton_raphson_mstep(y, X, b, w, maxNR = 5, R0 = 0.1, method = 5, verbose = FALSE)coefficients
theta values
log-likelihood.
count data matrix
design matrix (including const).
coefficients of the multinomial logit mixture
mixing proportions
threshold
inital value for the parameter that controls the step-size of the update.
set to 5. Always.
Boolean.
Panagiotis Papastamoulis
Goldfeld, S. M., Quandt, R. E., and Trotter, H. F. (1966). Maximization by quadratic hill-climbing. Econometrica: Journal of the Econometric Society, 541-551.