Description Usage Arguments Value
Uses the equation given in "Efficient and automatic methods for flexible regression on spatiotemporal data, with applications to groundwater monitoring" by Evers et al. (2015).
1 | postDensity(lambda, B, D, a, b, y, PriorDens)
|
lambda |
Parameter of focus. |
B |
Design matrix obtained via natural cubic spline. |
D |
Difference matrix used in penalty term approximation. |
a, b |
Prior information related to normal-inverse gamma distribution. |
y |
Vector of observations. |
PriorDens |
Prior density of penalisation parameter. |
Evaluation of posterior density function given in Evers et al.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.