Learn R Programming

cobin (version 1.0.1.3)

bftprimeinv: Inverse of first derivative of cobin cumulant (log partition) function

Description

Calculates \((B')^{-1}(y)\) using numerical inversion (Newton-Raphson), where \(B'(x) = 1/(1-\exp(-x))-1/x\). This is the cobit link function g, the canonical link function of cobin.

Usage

bftprimeinv(y, x0 = 0, tol = 1e-08, maxiter = 100)

cobitlink(y, x0 = 0, tol = 1e-08, maxiter = 100)

Value

\((B')^{-1}(y)\)

Arguments

y

input vector

x0

Defult 0, initial value

tol

tolerance, stopping criterion for Newton-Raphson

maxiter

max iteration of Newton-Raphson