jac.invlogit {bisque}R Documentation

Jacobian for logit transform

Description

Let X=logit^{-1}(Y) be a transformation of a random variable Y. This function computes the jacobian J(x) when using the density of Y to evaluate the density of X via

f(x) = f_y(logit(x)) J(x)

where

J(x) = d/dx logit(x).

Usage

jac.invlogit(x, log = TRUE)

Arguments

x

value at which to evaluate J(x)

log

TRUE to return log(J(x))

Examples

jac.invlogit(1)


[Package bisque version 1.0.2 Index]