HPDinterval.stFit {telefit} | R Documentation |
Compute Highest posterior density intervals from posterior samples
Description
Compute Highest posterior density intervals from posterior samples
Usage
## S3 method for class 'stFit'
HPDinterval(stFit, burn = 1, prob = 0.95)
Arguments
stFit |
stFit object containing posterior samples for model |
burn |
number of posterior samples to reject before computing estimates |
prob |
The target probability content of the intervals |
Examples
data("coprecip.fit")
HPDinterval.stFit(coprecip.fit, burn = 50)
[Package telefit version 1.0.3 Index]