Zelig website: https://zeligproject.org/
fnR function to call to wrap
formulaZelig formula
weights[forthcoming]
namename of the Zelig model
datadata frame or matrix
bysplit the data by factors
miwork with imputed dataset
idxmodel index
zelig.callZelig function call
model.callwrapped function call
zelig.outestimated zelig model(s)
setx.outset values
setx.labelspretty-print qi
bsetxis x set?
bsetx1is x1 set?
bsetrangeis range set?
bsetrange1is range1 set?
rangerange
range1range1
test.statisticslist of test statistics
sim.outsimulated qi's
simparamsimulated parameters
numnumber of simulations
authorsZelig model authors
zeligauthorsZelig authors
modelauthorswrapped model authors
packageauthorswrapped package authors
refscitation information
yearmodel is released
descriptionmodel description
urlmodel URL
url.docsmodel documentation URL
categorymodel category
vignette.urlvignette URL
jsonJSON export
ljsonJSON export
outcomeJSON export
wrapperJSON export
explanatoryJSON export
mcunit.testunit testing
with.feedbackFeedback
robust.sereturn robust standard errors
ATT(treatment, treated = 1, quietly = TRUE, num = NULL)Generic Method for Computing Simulated (Sample) Average Treatment Effects on the Treated
cite()Provide citation information about Zelig and Zelig model, and about wrapped package and wrapped model
feedback()Send feedback to the Zelig team
from_zelig_model()Extract the original fitted model object from a zelig call. Note only works for models using directly wrapped functions.
get_coef(nonlist = FALSE)Get estimated model coefficients
get_df_residual()Get residual degrees-of-freedom
get_fitted(...)Get estimated fitted values
get_model_data()Get data used to estimate the model
get_names()Return Zelig object field names
get_predict(...)Get predicted values
get_pvalue()Get estimated model p-values
get_qi(qi = "ev", xvalue = "x", subset = NULL)Get quantities of interest
get_residuals(...)Get estimated model residuals
get_se()Get estimated model standard errors
get_vcov()Get estimated model variance-covariance matrix
graph(...)Plot the quantities of interest
help()Open the model vignette from https://zeligproject.org/
packagename()Automatically retrieve wrapped package name
references(style = "sphinx")Construct a reference list specific to a Zelig model.
set(..., fn = list(numeric = mean, ordered = Median))Setting Explanatory Variable Values
sim(num = NULL)Generic Method for Computing and Organizing Simulated Quantities of Interest
simATT(simparam, data, depvar, treatment, treated)Simulate an Average Treatment on the Treated
summarise(...)Display a Zelig object
summarize(...)Display a Zelig object
toJSON()Convert Zelig object to JSON format
zelig(formula, data, model = NULL, ..., weights = NULL, by, bootstrap = FALSE)The zelig function estimates a variety of statistical models
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.