sclr_log_likelihood: Log-likelihood

Description Usage Arguments

View source: R/likelihood.R

Description

Computes the log-likelihood of the scaled logit model at a given set of parameter estimates (or the MLE if pars is not supplied). Either fit or x, y and pars need to be supplied.

Usage

1
sclr_log_likelihood(fit = NULL, x = NULL, y = NULL, pars = NULL)

Arguments

fit

An object returned by sclr. Or a list with parameters, x and y entries corresponding to the parameter matrix, model matrix and model response.

x

Model matrix. Will be taken from fit if fit is provided.

y

Model response. Will be taken from fit if fit is provided.

pars

A named vector of parameter values. Will be taken from fit if fit is provided.


khvorov45/dunmle documentation built on March 4, 2020, 7:16 p.m.