summary.eco | R Documentation |
summary
method for class eco
.
## S3 method for class 'eco' summary( object, CI = c(2.5, 97.5), param = TRUE, units = FALSE, subset = NULL, ... )
object |
An output object from |
CI |
A vector of lower and upper bounds for the Bayesian credible intervals used to summarize the results. The default is the equal tail 95 percent credible interval. |
param |
Logical. If |
units |
Logical. If |
subset |
A numeric vector indicating the subset of the units whose
in-sample predications to be provided when |
... |
further arguments passed to or from other methods. |
summary.eco
yields an object of class summary.eco
containing the following elements:
call |
The call from |
n.obs |
The number of units. |
n.draws |
The number of Monte Carlo samples. |
agg.table |
Aggregate posterior estimates of the marginal means of W_1 and W_2 using X and N as weights. |
If
param = TRUE
, the following elements are also included:
param.table |
Posterior estimates of model parameters: population mean estimates of W_1 and W_2 and their logit transformations. |
If
units = TRUE
, the following elements are also included:
W1.table |
Unit-level posterior estimates for W_1. |
W2.table |
Unit-level posterior estimates for W_2. |
This object can be printed by print.summary.eco
eco
, predict.eco
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.