The log-likelihood function in terms of the fitted mean response.
Parameters: | endog : array
mu : array
freq_weights : array-like
scale : float
|
---|---|
Returns: | llf : float
|
Notes
This is defined for each family. endog and mu are not restricted to endog and mu respectively. For instance, the deviance function calls both loglike(endog,endog) and loglike(endog,mu) to get the likelihood ratio.