View source: R/print.pandemicEstimated.R
print.pandemicEstimated | R Documentation |
pandemicEstimated
objectsThe print method for pandemicEstimated
object of class S3 displays a compact summary of the
fitted model. See the Details section below for descriptions of the different components of the printed
output. For additional summary statistics and diagnostics use summary.pandemicEstimated
.
## S3 method for class 'pandemicEstimated' print(x, digits = 3, probs = c(0.025, 0.5, 0.975), info = TRUE, ...)
x |
an object of S3 class |
digits |
Number of digits to use for formatting numbers. |
probs |
a numeric vector of quantiles of interest. The default is
|
info |
TRUE or FALSE: more details for output interpretation. The Default is TRUE. |
... |
currently unused. |
Regardless of the estimation algorithm, point estimates are mean and (or) quantiles computed from simulations.
For models fit using MCMC ("sampling", this is default algorithim of pandemic_model
function), the posterior sample
is used. For others estimation algorithm see sampling
(rstan package).
Included in the print are: split effective sample sizes (n_eff) and split Rhats.
The R-hat convergence diagnostic compares the between- and within-chain estimates for model parameters and other univariate quantities of interest. If chains have not mixed well (ie, the between- and within-chain estimates don't agree), R-hat is larger than 1. We recommend running at least four chains by default and only using the sample if R-hat is less than 1.05.
A list with information about the prior distributions used and model restrictions (if there are any).
For more information go to models
.
Returns x
, invisibly.
summary.pandemicEstimated
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.