This function provides a logical test of whether or not a
specification function is Bayesian.
is.bayesian(Model, Initial.Values, Data)
This is a model specification function. For more
information, see the
This is a vector of initial values, or current
parameter values. For more information, see the
This is a list of data. For more information, see the
This function tests whether or not a model is Bayesian by comparing
the first two returned arguments: the logarithm of the unnormalized
joint posterior density (
LP) and deviance (
deviance (D) is
D = -2 LL
where LL is the log-likelihood. Consequently,
LL = D / -2
and LP is the sum of LL and prior probability densities. If LP = LL, then the model is not Bayesian, because prior densities are absent.
is.bayesian function returns a logical value of
when the model is Bayesian, and
Statisticat, LLC. [email protected]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.