jacobiansimplex: jacobiansimplex takes an unconstrained vector of length K -...

View source: R/Simplex.R

jacobiansimplexR Documentation

jacobiansimplex takes an unconstrained vector of length K - 1, and calculates the determinate of the jacobian, not this relates to density. You will need to log it for log-likelihood contributions

Description

jacobiansimplex takes an unconstrained vector of length K - 1, and calculates the determinate of the jacobian, not this relates to density. You will need to log it for log-likelihood contributions

Usage

jacobiansimplex(yk)

Arguments

yk

vector of length K - 1 takes unconstrained values

Details

if you want the value that casal2 returns you need to log and take the negative, this function evaluates change in variable based on the denisty, but Casal2's objective function is with respect to negative log-likelihood.

Value

xk unit vector of length K


Craig44/stockassessmenthelper documentation built on April 14, 2023, 10:57 a.m.