Description Usage Arguments Details Value Examples
View source: R/summary.pandemicEstimated.R
The summary 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.
1 2 3 4 5 
x 
an object of class 
... 
Currently unused. 
object 
An object of S3 class 
probs 
A numeric vector of quantiles of interest. The default is

digits 
Number of digits to use for formatting numbers. 
info 
TRUE or FALSE: more details for output interpretation. The Default is TRUE. 
Mean and 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 summary are: split effective sample sizes (n_eff), Monte Carlo standard errors (se_mean) and split Rhats.
The Monte Carlo standard error provides relevant information for a posterior sample with more than one chain.
The Rhat convergence diagnostic compares the between and withinchain estimates for model parameters and other univariate quantities of interest. If chains have not mixed well (ie, the between and withinchain estimates don't agree), Rhat is larger than 1. We recommend running at least four chains by default and only using the sample if Rhat is less than 1.05.
This subsection shows the main input settings used by the fitted model, and indicates whether default settings
of the CovidLP app (http://est.ufmg.br/covidlp/home/en/)
were used (covidLPconfig = TRUE
or FALSE
).
Check the default settings of the CovidLP app in pandemic_model
.
A list with information about the prior distributions used and model restrictions (if there are any).
For more information go to models
.
The summary method returns an object of class "summary.pandemicEstimated", which is a list with two arrays of summary statistics and diagnostics and others informations for use by the print method. The print method for summary.pandemicEstimated objects is called for its side effect and just returns its input.
1 2 3 4 5 6 7 8  ## Not run:
Y0=load_covid(country_name="Brazil",state_name="SP",last_date='20200425')
output0=pandemic_model(Y0)
s=summary(output0)
s #print method for summary.pandemicEstimated
names(s) #see output list elements of summary
## End(Not run)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.