jac.invlogit: Jacobian for logit transform

Description Usage Arguments Examples

View source: R/jacobians.R

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

1

Arguments

x

value at which to evaluate J(x)

log

TRUE to return log(J(x))

Examples

1

jmhewitt/bisque documentation built on Feb. 9, 2020, 2:36 a.m.