LogitScale: Finds logit(sp)

Description Usage Arguments Examples

Description

For x=logit(p) and l=log(s), this function returns logit(sp).

Usage

1
LogitScale(x, l)

Arguments

x

Logit(p) where p is a vector of probabilities

l

Exp(s) where 0 ≤q s ≤q 1/∑ p_i to produce a well-defined return value.

Examples

1
2
3
#Calculates logit(xl) for p = (0.4, 0.3):
#x = (Logit(0.4), Logit(0.3)) and l = 0.7
LogitScale(x = Logit(c(0.4, 0.3)), l = 0.7)

SALTSampler documentation built on May 2, 2019, 11:27 a.m.