larch.ModelGroup.loglike_casewise#

ModelGroup.loglike_casewise(x=None, **kwargs)[source]#

Compute the log likelihood case-by-case for the group of models.

Parameters:

x (array-like or dict, optional) – New values to set for the parameters before evaluating the log likelihood. If given as array-like, the array must be a vector with length equal to the length of the parameter frame, and the given vector will replace the current values. If given as a dictionary, the dictionary is used to update the parameters.

Returns:

array-like