update_d function

Update utility threshold increments

Update utility threshold increments

This function updates the utility threshold increments

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.

Returns

The updated value for d.