Learn R Programming

eggCounts (version 0.4-1)

modeCurvature_phi: Numerically compute mode and curvature at the mode of a full conditional for $\phi$ of form -(n*phi+a-1)*log(phi) + n*lgamma(phi) + n*phi*log(mu)- (phi-1)*logprodmu + phi*(summu.mu+b)

Description

Numerically compute mode and curvature at the mode of a full conditional for $\phi$ of form -(n*phi+a-1)*log(phi) + n*lgamma(phi) + n*phi*log(mu)- (phi-1)*logprodmu + phi*(summu.mu+b)

Usage

modeCurvature_phi(n, mu, logprodmu, summu.mu, a, b)

Arguments

n
n
mu
mu
logprodmu
logprodmu
summu.mu
summu.mu
a
a
b
b

Value

  • list with mode and curvature at the mode