Description Usage Arguments Value Examples
Returns simulation name, condition name, and the lower quantile (2.5%), mean (NOT median), and upper quantile (97.5%) of each simulation-condition pair's expected values (ev
).
1 | zelig_prediction_summary(model)
|
model |
( |
tbl_df
with one row per simulation-condition pair, and columns simulation
, condition
, lower
, mean
, upper
1 2 3 4 5 6 | library(Zelig)
z <- zls$new()
z$zelig(Fertility ~ Education, data = swiss)
z$setx(Education = 5)
z$sim()
zelig_prediction_summary(z)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.