Learn R Programming

⚠️There's a newer version (1.0-0) of this package.Take me there.

sdPrior (version 0.2)

Scale-Dependent Hyperpriors in Structured Additive Distributional Regression

Description

Utility functions for scale-dependent and alternative hyperpriors.

Copy Link

Version

Install

install.packages('sdPrior')

Monthly Downloads

1,891

Version

0.2

License

GPL-2

Maintainer

Nadja Klein

Last Published

July 7th, 2015

Functions in sdPrior (0.2)

get_theta_aunif

Find Scale Parameter for Hyperprior for Variances Where the Standard Deviations have an Approximated (Differentiably) Uniform Distribution.
DesignM

Computing Designmatrix for Splines
get_theta_gbp

Find Scale Parameter for Generalised Beta Prime (Half-Cauchy) Hyperprior
get_theta_ig

Find Scale Parameter for Inverse Gamma Hyperprior
rapprox_unif

Draw Random Numbers from Approximated (Differentiably) Uniform Distribution.
get_theta

Find Scale Parameter for Hyperprior
get_theta_ga

Find Scale Parameter for Gamma (Half-Normal) Hyperprior
dapprox_unif

Compute Density Function of Approximated (Differentiably) Uniform Distribution.
zambia_height92

Malnutrition in Zambia
zambia_graph

Prior precision matrix for spatial variable in Zambia data set
papprox_unif

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