| pc.ddof {INLA} | R Documentation |
PC-prior for dof in a standardized Student-t
Description
A function to evaluate the PC-prior for the degrees of freedom in a standardized Student-t distribution
Usage
inla.pc.ddof(dof, lambda, u, alpha, log = FALSE)
Arguments
dof |
Degrees of freedom |
lambda |
The optional value of |
u |
The upper value of dof used to elicitate |
alpha |
The probability |
log |
Logical. Return the density or the log-density |
Details
These functions implements the PC-prior for the dof in a standardized
Student-t distribution (ie. with unit variance and dof > 2). Either
lambda, or u AND alpha must be given. Due the internal
tabulation, dof must be larger than 2.0025.
Value
inla.pc.ddof returns the prior density for given
dof.
Author(s)
Havard Rue hrue@r-inla.org
[Package INLA version 25.06.13 Index]