effe01: Auxiliary function for the log-likelihood estimation of CUB...

View source: R/effe01.R

effe01R Documentation

Auxiliary function for the log-likelihood estimation of CUB models

Description

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

Usage

effe01(gama, esterno01, m)

Arguments

gama

Vector of the starting values of the parameters to be estimated

esterno01

A matrix binding together the vector of the posterior probabilities that each observation has been generated by the first component distribution of the mixture, the ordinal data and the matrix of the selected covariates accounting for an intercept term

Details

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


CUB documentation built on May 29, 2024, 5:23 a.m.