ll_ordered: Log-likelihood in the ordered probit model

View source: R/RcppExports.R

ll_orderedR Documentation

Log-likelihood in the ordered probit model

Description

This function computes the log-likelihood value given the threshold increments d.

Usage

ll_ordered(d, y, mu, Tvec)

Arguments

d

A numeric vector of threshold increments.

y

A matrix of the choices.

mu

A matrix of the systematic utilities.

Tvec

The element Tvec in sufficient_statistics.

Value

The log-likelihood value.

Examples

ll_ordered(c(0,0,0), matrix(1), matrix(1), 1)

RprobitB documentation built on May 29, 2024, 7:59 a.m.