Description Usage Arguments Details
Use the parameter sample values to compute expectation values for the parameters. The samples can be either MCMC samples or uniform samples. In the latter case, the values will be weighted by their posterior probabilities.
1 2 3 4 5 6 7 |
samples |
Monte Carlo samples, given either as a grand table or a list
of |
modelgroup |
Vector of names of columns that define the model groupings.
The default is the single column |
reportvars |
Vector of names of variables for which to report expectations. The default is all parameter values. |
weighted |
If |
lp |
Name of the column containing the log posterior
probability. Ignored if |
The input to this function can be given either as a grand table
(q.v. grand_table_bayes
) or as a list of ScenarioInfo
objects. Generally this collection will have several model families
represented, so the table is split according to the model type. The result
will be a table of expectation values by model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.