post_loss: function to calculate posterior predictive loss given the...

Description Usage Arguments Value Author(s)

Description

function to calculate posterior predictive loss given the output object from hierarchicalDS

Usage

1
post_loss(Out, burnin = 0)

Arguments

Out

Output object from running hierarchicalDS

burnin

Any additional #'s of values from beginning of chain to discard before calculating PPL statistic (default is 0)

Value

A matrix with posterior variance (P), sums of squares (G) for the posterior mean and median predictions (compared to Observations), and total posterior loss (D)

Author(s)

Paul B. Conn


hierarchicalDS documentation built on July 3, 2019, 1:07 a.m.