RDocumentation
Moon
Learn R
Search all packages and functions
⚠️
There's a newer version (1.0-0) of this package.
Take me there.
sdPrior (version 0.3)
Scale-Dependent Hyperpriors in Structured Additive Distributional Regression
Description
Utility functions for scale-dependent and alternative hyperpriors.
Copy Link
Copy
Link to current version
Version
Version
1.0-0
0.6
0.5
0.3
0.2
Down Chevron
Install
install.packages('sdPrior')
Monthly Downloads
425
Version
0.3
License
GPL-2
Maintainer
Nadja Klein
Last Published
July 16th, 2015
Functions in sdPrior (0.3)
Search functions
DesignM
Computing Designmatrix for Splines
get_theta
Find Scale Parameter for Hyperprior
get_theta_gbp
Find Scale Parameter for Generalised Beta Prime (Half-Cauchy) Hyperprior
get_theta_ig
Find Scale Parameter for Inverse Gamma Hyperprior
mdf_aunif
Marginal Density for Given Scale Parameter and Approximated Uniform Prior for \(\tau\)
get_theta_ga
Find Scale Parameter for Gamma (Half-Normal) Hyperprior
dapprox_unif
Compute Density Function of Approximated (Differentiably) Uniform Distribution.
mdf_ga
Marginal Density for Given Scale Parameter and Half-Normal Prior for \(\tau\)
mdf_gbp
Marginal Density for Given Scale Parameter and Half-Cauchy Prior for \(\tau\)
mdf_ig
Marginal Density for Given Scale Parameter and Inverse Gamma Prior for \(\tau^2\)
papprox_unif
Compute Cumulative Distribution Function of Approximated (Differentiably) Uniform Distribution.
rapprox_unif
Draw Random Numbers from Approximated (Differentiably) Uniform Distribution.
get_theta_aunif
Find Scale Parameter for Hyperprior for Variances Where the Standard Deviations have an Approximated (Differentiably) Uniform Distribution.
mdf_sd
Marginal Density for Given Scale Parameter and Scale-Dependent Prior for \(\tau^2\)
zambia_graph
Prior precision matrix for spatial variable in Zambia data set
zambia_height92
Malnutrition in Zambia