papprox_unif: Compute Cumulative Distribution Function of Approximated...

Description Usage Arguments Details Value Author(s) References See Also

View source: R/utils_sdPrior.r

Description

Compute Cumulative Distribution Function of Approximated (Differentiably) Uniform Distribution.

Usage

1
papprox_unif(x, scale, tildec = 13.86294)

Arguments

x

denotes the argument of cumulative distribution function

scale

the scale parameter originally defining the upper bound of the uniform distribution.

tildec

denotes the ratio between scale parameter θ and s. The latter is responsible for the closeness of the approximation to the uniform distribution. See also below for further details and the default value.

Details

The cumulative distribution function of dapprox_unif is given by

(1/(log(1+exp(-\tilde{c}))+\tilde{c}))*(\tilde{c}*(τ^2)^(1/2)/θ-log(exp((τ^2)^(1/2)*\tilde{c}/θ)+exp(\tilde{c})))

\tilde{c} is chosen such that P(τ^2<=θ)>=0.95.

Value

the cumulative distribution function.

Author(s)

Nadja Klein

References

Nadja Klein and Thomas Kneib (2015). Scale-Dependent Priors for Variance Parameters in Structured Additive Distributional Regression. Working Paper.

See Also

rapprox_unif,dapprox_unif


sdPrior documentation built on May 2, 2019, 8:57 a.m.