Description Arguments Details Value See Also Examples
Warning: summary
does not work with timeseries models after
simulation.
formula |
a symbolic representation of the model to be
estimated, in the form |
model |
the name of a statistical model to estimate. For a list of supported models and their documentation see: http://docs.zeligproject.org/articles/. |
data |
the name of a data frame containing the variables
referenced in the formula or a list of multiply imputed data frames
each having the same variable names and row numbers (created by
|
... |
additional arguments passed to |
by |
a factor variable contained in |
cite |
If is set to 'TRUE' (default), the model citation will be printed to the console. |
ts |
The name of the variable containing the time indicator. This should be passed in as a string. If this variable is not provided, Zelig will assume that the data is already ordered by time. |
cs |
Name of a variable that denotes the cross-sectional element of the data, for example,
country name in a dataset with time-series across different countries. As a variable name,
this should be in quotes. If this is not provided, Zelig will assume that all observations
come from the same unit over time, and should be pooled, but if provided, individual models will
be run in each cross-section.
If |
order |
A vector of length 3 passed in as |
Currently only the Reference class syntax for time series. This model does not accept Bootstraps or weights.
Depending on the class of model selected, zelig
will return
an object with elements including coefficients
, residuals
,
and formula
which may be summarized using
summary(z.out)
or individually extracted using, for example,
coef(z.out)
. See
http://docs.zeligproject.org/articles/getters.html for a list of
functions to extract model components. You can also extract whole fitted
model objects using from_zelig_model
.
Vignette: http://docs.zeligproject.org/articles/zelig_arima.html
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.