#  Zelig 

 



   ![zelig.png](/sites/g/files/omnuum7311/files/styles/hwp_1_1__360x360_scale/public/zelig/files/zelig.png?itok=-VuNJwIG) 

 

Zelig is an easy-to-use, free, open source, general purpose statistics program for estimating, interpreting, and presenting results from any statistical method. Zelig turns the power of R, with thousands of open source packages — but with free ranging syntax, diverse examples, and documentation written for different audiences — into the same three commands and consistent documentation for every method. Zelig uses R code from many researchers, making it "everyone’s statistical software." We hope it becomes everyone’s statistical software for applications too, as we designed it so anyone can use it or add their methods to it. We aim for Zelig to be the best way to do analysis, prepare replication files, learn new methods, or teach.

### **Everyone's Statistical Software**

Zelig includes many specific methods, based on likelihood, frequentist, Bayesian, robust Bayesian, nonparametric, and population and superpopulation theories of inference. Zelig adds considerable infrastructure to improve the use of existing methods. It translates hard-to-interpret coefficients into meaningful quantities of interest, along with the uncertainty estimates (generalizing [Clarify](http://gking.harvard.edu/publications/clarify-software-interpreting-and-presenting-statistical-results) for Stata); automates graphics and numerical summaries for all models; evaluates counterfactuals (incorporating [WhatIf](http://gking.harvard.edu/whatif)); combines multiply imputed data sets to impute missing data and correct for measurement error (via [Amelia](http://gking.harvard.edu/amelia)); automates bootstrapping for all models; allows for matching for causal inference to reduce model dependence (via [MatchIt](http://gking.harvard.edu/publications/matchit-nonparametric-preprocessing-parametric-causal-inference) and [cem](http://gking.harvard.edu/cem)); and generates replication data files (for [Dataverse](http://dataverse.org/) to satisfy community replication standards). Developers can make their R packages usable from Zelig by writing a few simple bridge functions. If you have suggestions improvements, we’d love to hear from you!

## **Important Update!**

Zelig is no longer being maintained, but a new package, {clarify}, is available to provide much of Zelig’s functionality for simulation-based inference of interpretable post-estimation quantities. Please see the {clarify} [website](https://iqss.github.io/clarify/) for information on installing and using {clarify} and for performing tasks in Zelig workflow using {clarify}.



 

  [### QUICKSTART

 ](http://docs.zeligproject.org/articles/quickstart.html)Start using Zelig in 10 minutes.



 

   ![zeligquickstart.png](/sites/g/files/omnuum7311/files/styles/hwp_1_1__360x360_scale/public/zelig/files/zeligquickstart.png?itok=BOZtMnr0) 

 

 

 

  [### DOCUMENTATION

 ](https://iqss.github.io/Zelig/)Explore the growing number of statistical models supported by Zelig.



 

   ![zeligmodels.png](/sites/g/files/omnuum7311/files/styles/hwp_1_1__360x360_scale/public/zelig/files/zeligmodels.png?itok=oRgiAuAH)