Skip to contents

This function updates the utility threshold increments

Usage

update_d(d, y, mu, ll, zeta, Z, Tvec)

Arguments

d

The current vector of utility threshold increments.

y

A matrix of the choices.

mu

A matrix of the systematic utilities.

ll

Current log-likelihood value.

zeta

The mean vector of the normal prior for d.

Z

The covariance matrix of the normal prior for d.

Tvec

The element Tvec in sufficient_statistics.

Value

The updated value for d.