| pc.ddof {INLA} | R Documentation |
A function to evaluate the PC-prior for the degrees of freedom in a standarized Student-t distribution
inla.pc.ddof(dof, lambda, u, alpha, log=FALSE)
dof |
Degrees of freedom |
log |
Logical. Return the density or the log-density |
lambda |
The optional value of |
u |
The upper value of dof used to elicitate |
alpha |
The probability |
These functions implements the PC-prior for the dof in a standarized 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.
inla.pc.ddof returns the prior density for given dof.
Havard Rue hrue@r-inla.org