| qi {Zelig} | R Documentation |
The qi function is used by developers to simulated
quantities of interest. This method, as a result, is the
most significant method of any Zelig statistical model.
qi(obj, x = NULL, x1 = NULL, y = NULL, num, param = NULL)
obj |
a |
x |
a |
x1 |
an optional |
y |
this parameter is reserved for simulating average treatment effects, though this feature is currentlysupported by only a handful of models |
num |
an integer specifying the number of simulations to compute |
param |
a parameters object |
a list of key-value pairs specifying pairing titles of quantities of interest with their simulations
Run example(qi) to see a trivial version of
Matt Owen mowen@iq.harvard.edu
qi.some.model <- function(obj, x=NULL, x1=NULL, y=NULL, param=NULL) {
list(
"Expected Values: E(Y|X)" = NA,
"Predicted Values: Y|X" = NA
)
}