gamma_ADFun: Create a 'TMB::ADFun' object for the gamma likelihood.

View source: R/gamma_ADFun.R

gamma_ADFunR Documentation

Create a TMB::ADFun object for the gamma likelihood.

Description

Create a TMB::ADFun object for the gamma likelihood.

Usage

gamma_ADFun(x)

Arguments

x

Vector of observations.

Value

A list as returned by TMB::MakeADFun representing the negative loglikelihood of a gamma distribution.


mlysy/TMBtools documentation built on April 1, 2022, 6:18 p.m.