effe10 function

Auxiliary function for the log-likelihood estimation of CUB models

Auxiliary function for the log-likelihood estimation of CUB models

Compute the opposite of the scalar function that is maximized when running the E-M algorithm for CUB models with covariates for the uncertainty parameter.

effe10(bet, esterno10)

Arguments

  • bet: Vector of the starting values for the parameters to be estimated
  • esterno10: A matrix binding together the matrix of the selected covariates (accounting for an intercept term) and a vector (whose length equals the number of observations) of the posterior probabilities that each observation has been generated by the first component distribution of the mixture

Details

It is called as an argument for optim within CUB function for models with covariates for uncertainty or for both feeling and uncertainty

  • Maintainer: Rosaria Simone
  • License: GPL-2 | GPL-3
  • Last published: 2024-02-23

Useful links