Learn R Programming

⚠️There's a newer version (5.1.7) of this package.Take me there.

Zelig (version 4.1-3)

Everyone's Statistical Software

Description

Zelig is an easy-to-use program that can estimate, and help interpret the results of, an enormous range of statistical models. It literally is ``everyone's statistical software'' because Zelig's simple unified framework incorporates everyone else's (R) code. We also hope it will become ``everyone's statistical software'' for applications and teaching, and so have designed Zelig so that anyone can easily use it or add their programs to it. Zelig also comes with infrastructure that facilitates the use of any existing method, such as by allowing multiply imputed data for any model, and mimicking the program Clarify (for Stata) that takes the raw output of existing statistical procedures and translates them into quantities of direct interest.

Copy Link

Version

Install

install.packages('Zelig')

Monthly Downloads

8

Version

4.1-3

License

GPL (>= 2)

Maintainer

James Honaker

Last Published

February 19th, 2013

Functions in Zelig (4.1-3)

ZeligDescribeModel

Produce a 'description' Object from the Name of a Model
param.probit

Param Method for the 'probit' Zelig Model
describe.poisson

Describe the `poisson' model to Zelig
as.data.frame.setx

Coerce a setx Object into a data.frame
bootstrap.gamma

Bootstrap Parameters for Zelig ``gamma'' GLM
describe.exp

Describe a ``exp'' model to Zelig
GetObject

Extract the fitted model object from the Zelig object
Zelig-package

Zelig Everyone's Statistical Software
as.parameters.default

??? -> parameters
Max

Compute the Maximum Value of a Vector
as.bootvector

Convert Boot Object to a Vector
Min

Compute the Minumum Value of a Vector
ZeligListModels

Get a Character-Vector of All Models with a 'zelig2' Function
ZeligListTitles

List the Titles of the Zelig Statistical Models
klein

Simulation Data for model Two-Stage Least Square (twosls) that corresponds to method 2SLS of systemfit
as.description.description

description -> description
Zelig.url

Table of links for Zelig
constructDataFrame

Construct Data Frame Construct and return a tiny (single-row) data-frame from a larger data-frame, a list of specified values, and a formula
as.parameters

Generic Method for Converting Objects into 'parameters'
as.description.list

list -> description
as.summarized.list

list -> summarized.qi Convert a list into a ``summarized.qi'' object
as.qi

Generic Method for Converting Various Objects into 'qi' Objects 'qi' objects are list-style objects used by the 'summarize' function to compute simple summaries about the simulated data. For readability and and simplicity purposes, the 'qi' function typically returns a list of named simulations. This list is converted internally by Zelig into a 'qi' object so that several methods can be easily applied to the Quantities of Interest: plot, summarize, and print
bootstrap.default

Produce Boot-strapped Parameters for a Statistical Model
describe.probit

Describe the `probit' model to Zelig
alpha

Extract ancillary parameters from `parameters' objects
cite

Citation information for a 'description' object
cmvglm

cmvglm
as.summarized

Generic Method for Casting Objectst as 'summarized' Objects
parseFormula.list

Parse List-Style Zelig Formulae
cluster.formula

Generate Formulae that Consider Clustering
is.valid.qi.list

Check If Object Is a List of Valid Quantities of Interest
callToString

Convert call Object to a String
list.zelig.dependent.packages

Get a List of Packages Installed on the Current Machine that Depend on Zelig
bootstrap.normal

Bootstrap Parameters for Zelig ``normal'' GLM
approval

U.S. Presidential Approval Data
MatchIt.url

Table of links for Zelig
as.qi.default

??? -> qi
free1

Freedom of Speech Data
depends.on.zelig

Whether a Statistical Package Depends on the Zelig Software Suite
model.matrix.multiple

Create Design Matrix of a multiple Object
hoff

Social Security Expenditure Data
as.parameters.parameters

parameters -> parameters This is merely an identity function when casting 'parameters' objects into 'parameters'.
getResponseTerms.formula

Get Response Terms from a Standard Formula
McmcHookFactor

Hook to Clean-up MCMC Factor Object
as.parameters.list

list -> parameters
bootstrap.negbinom

Bootstrap Parameters for Zelig ``negbinom'' GLM
sim.default

Method for Simulating Quantities of Interest wrom 'zelig' Objects
GetSlot

Generic method for extracting variables from both S3 and S4 fitted model object
Median

Compute the Statistical Median of a Vector
SupremeCourt

U.S. Supreme Court Vote Matrix
TexCite

Get a TeX-style Citation
list.zelig.models

List Zelig Models Installed on the Current Machine
describe.default

Default describe function for an arbitrary model This method exists solely as a backup when an author does not contribute a 'describe' function for their model
param.gamma

param method for the `gamma' Zelig model
description

Constructor for the 'description' class
kmenta

Simulation Data for model Three-Stage Least Square (threesls) that corresponds to method 3SLS of systemfit
mi

Bundle Data-sets for Multiple Imputation
bootfn.default

Default Boot-strapping procedure
as.bootlist

Convert of Vector of Bootstrapped Parameters to a List-style Boot Object
as.qi.qi

qi -> qi
is.qi

Test If Value is Interpretable as a QI
coef.parameters

Return Simulations of Parameter Coefficients
linkinv

Method for extracting the inverse link function from 'parameters' objects
param.relogit

Estimate Parameters for the ``relogit'' Zelig Mdoel
friendship

Simulated Example of Schoolchildren Friendship Network
describe.normal

Describe the normal model to Zelig
PErisk

Political Economic Risk Data from 62 Countries in 1987
help.zelig

Help system for Zelig models
model.matrix.parseFormula

Construct Design Matrix from a Parsed, Zelig-style Formula
getResponseTerms.list

Get Response Terms from a List-style Formula
print.summary.pooled.sim

Print a Summary of a Set of Pooled Simulated Interests
plot.ci

Method for plotting pooled simulations by confidence intervals
find.match

Find a Partial or Exact Match from a Vector of Strings Searches a vector of character-string, and returns the best match.
names.qi

The Names of a 'qi' Object
summary.glm.robust

Summary of Generalized Linear Model with Robust Error Estimates
summary.Relogit2

Summary for ``Relogit2'' Fitted Model
simulations.parameters

Return Simulations of Parameter Coefficients
param.normal

Param Method for the 'normal' Zelig Model
multilevel

Multilevel
print.summarySim.MI

Print Multiply Imputed Simulations Summary
is.formula

Whether an Object is a Formula
Mode

Compute the Statistical Mode of a Vector
bivariate

Sample data for bivariate probit regression
describe.logit

Describe a `logit' model to Zelig
as.description

Generic Method for Casting 'description' Objects
z

Return value for a zelig2-function
coalition2

Coalition Dissolution in Parliamentary Democracies, Modified Version
bootstrap

Generic Method for ``bootstrap''
getResponseTerms

Get Response Terms from a Zelig-style Formula
param.negbinom

Param Method for the 'negbinom' Zelig Model
make.parameters

??? For use with cmvglm
model.frame.multiple

Create Model Frame from multiple Object
summary.pooled.sim

Return a Summary of a Set of Pooled Simulated Interests
repl.sim

Method for Replicating Simulated Quantities of Interest
is.zelig.compliant

Whether a R-Package Contains a 'Yes' in its DESCRIPTION File's 'Zelig' Field
summary.sim

Method for summarizing simulations of quantities of interest
describe

Method to describe a model to Zelig
GetSlot.zelig

Return a Value from a zelig Fitted Model
as.matrix.pooled.setx

Convert a ``pooled.setx'' Object to a Matrix
as.qi.list

list -> qi This function has a lot of room to go wrong. It tries o detect whether the zelig model is old-style or new-style (as of 4/4/2011). Eventually this feature should be phased out.
get.package

Find the Zelig package that a particular model belong to
list.depth

Count the Depth of a List Object
setx.MI

Set Explanatory Variables for Multiply Imputed Data-sets This function simply calls setx.default once for every fitted model within the 'zelig.MI' object
param

Generic Method for Simulating Ancillary/Auxillary Parameters of Zelig Models
mexico

Voting Data from the 1988 Mexican Presidental Election
has.zelig2

Whether an Arbitrary R-package has a Zelig2 Function within Its Namespace
special_print_MATRIX

Method for Printing Summarized QI's in a Matrix Form
makeModelMatrix

Make a Model Matrix from a Zelig-Style Formula
swiss

Swiss Fertility and Socioeconomic Indicators (1888) Data
print.zelig

Print values of ``zelig'' objects
describe.ls

Describe a ls model to Zelig
as.summarized.summarized.qi

summarized.qi -> summarized.qi
summary.Relogit

Summary for ``Relogit'' Fitted Model
param.poisson

Param Method for the 'poisson' Zelig Model
constructDesignMatrix

Construct Design Matrix from Construct and return a design matrix based on a tiny data-frame (single-row).
print.summary.MCMCZelig

Print a Summary MCMCZelig Object
mid

Militarized Interstate Disputes
user.prompt

Prompt User
newpainters

The Discretized Painter's Data of de Piles
param.tobit

Param Method for the tobit Zelig Model
describe.negbinom

Describe the negbinom model to Zelig
param.logit

Param Method for the logit Zelig Model
print.qi.summarized

Print Method for Summarized Quantities of Interest
link

Method for extracting the link function from 'parameters' objects
qi.summarize

Constructor for QI Summarized Class This class takes an arbitrary number of the _same_ type of quantities of interest labels them, then merges them into one simple printable block. In particular, this class determines which print function to use based on the the type and size od data to be passed to the print function.
plot.pooled.sim

Method for plotting pooled simulations by confidence intervals
voteincome

Sample Turnout and Demographic Data from the 2000 Current Population Survey
immigration

Individual Preferences Over Immigration Policy
summary.zelig

Zelig Object Summaries
sim.MI

Simulate Multiply Imputed Data
loadDependencies

Load External Dependencies Safely and Dynamically
simulation.matrix

Get Simulations as a Matrix
macro

Macroeconomic Data
combine

Produce All Combinations of a Set of Lists
getPredictorTerms

Get Predictor Terms from Zelig-style Formulae
ucfirst

Uppercase First Letter of a String
mix

Produce All Combinations of a Set of Lists
summary.MI

Summarry of Multiply Imputed Statistical Models
name.object

Name Elements of an Object
parseFormula.Formula

Parse ``Formula''-style Zelig Formulae
param.default

Default Method for ``param''
plot.sim

Method for plotting simulations
print.setx

Print values of `setx' objects
reduceMI

Reduce MI Formulas Take a formula in any of the reduced form or in a structural form and return the most reduced form of that formula
repl

Generic Method for Replicating Data
param.relogit2

Estimate Parameters for the ``relogit'' Zelig Mdoel
print.summary.relogit

Print Summary of a Rare-event Logistic Model
t.setx

Matrix Transpose of a ``setx'' Object
Weimar

1932 Weimar election data
simulations.plot

Plot Quantities of Interest in a Zelig-fashion
ignore

Constructor for the 'ignore' class This class is included for future use, and is currently not used in any Zelig model. It is designed for use with zelig2* functions
param.exp

Param Method for the exp Zelig Model
parameters

Constructor for `parameters' class
parse.formula

Parse Formulas for Zelig Models
qi

Generic Method for Computing Quantities of Interest
zelig.skeleton

Creates a Skeleton for a New Zelig package
print.summary.sim

Print Values of a Summarized ``sim'' Object
replace.call

Hook to Update the Zelig Call with the Appropriate Call Object
describe.zelig

Get Description Object Used to Cite this Zelig Model
parseFormula

Parse Zelig-style Formulae
store.object

Store Object in Environment with a Fake Name
zelig2-bayes

Zelig Bridge Functions to Bayesian Models
terms.zelig

Model Terms for a Zelig Object
qi.exp

Compute quantities of interest for 'exp' Zelig models
print.sim

Print values of `sim' objects
sanction

Multilateral Economic Sanctions
print.qi

Print a Quantity of Interest in Human-Readable Form
print.setx.mi

Print a Bundle of Data-sets
describe.tobit

Describe a ``tobit'' model to Zelig
homerun

Sample Data on Home Runs Hit By Mark McGwire and Sammy Sosa in 1998.
sna.ex

Simulated Example of Social Network Data
MCMChook

Hook to Clean-up MCMC Objects
makeZeligObject

Make an Individual Zelig Object
robust.gee.hook

Classify Fitted Object as Naive or Robust
param.ls

Param Method for the 'ls' Zelig Model
zelig2-gee

Bridge between Zelig and the GEE Model Fitting Functions
special_print_LIST

Method for Printing Summarized QI's in a List Form
summarize

Generic methonf for summarizing simualted quantities of interest
as.matrix.setx

Convert a 'setx' Object to a Matrix
setx

Setting Explanatory Variable Values
plot.MI.sim

Plot graphs of simulated multiply-imputed data
tolmerFormat

Convert a Formula into 'lmer' Representation from Reduced Form Take a formula in its reducd from and return it as a 'lmer' representation (from the lme4 package). This is basically removing the starting 'tag' from each term.
robust.glm.hook

Hook for ``glm'' Models in Zelig
zelig.call

Create Function Call
print.summary.relogit2

Print Summary of a Rare-event Logistic Model
attach.env

Attach Variables to a Function
rocplot

Receiver Operator Characteristic Plots
eidat

Simulation Data for Ecological Inference
sim

Generic Method for Computing and Organizing Simulated Quantities of Interest Simulate quantities of interest from the estimated model output from zelig() given specified values of explanatory variables established in setx(). For classical maximum likelihood models, sim() uses asymptotic normal approximation to the log-likelihood. For Bayesian models, Zelig simulates quantities of interest from the posterior density, whenever possible. For robust Bayesian models, simulations are drawn from the identified class of Bayesian posteriors. Alternatively, you may generate quantities of interest using bootstrapped parameters.
summary.MI.sim

Method for summarizing simulations of multiply imputed quantities of interest
table.levels

Create a table, but ensure that the correct columns exist. In particular, this allows for entires with zero as a value, which is not the default for standard tables
repl.default

Default Method for Replicating Statistics
tobin

Tobin's Tobit Data
structuralToReduced

Transform the Multilevel's Structural Formulas Into Reduced Form
summarize.default

Summarize Simualted Quantities of Interest
termsFromFormula

Extract Terms from Zelig-style Formulae
terms.vglm

Model Terms for 'vglm' Models
zelig

Estimating a Statistical Model
setx.default

Set explanatory variables
terms.multiple

Extract Terms from a multiple Object
coalition

Coalition Dissolution in Parliamentary Democracies
free2

Freedom of Speech Data
zelig2-core

Zelig to Basic GLM Fitting Functions
toBuildFormula

Build Formula ???
grunfeld

Simulation Data for model Seemingly Unrelated Regression (sur) that corresponds to method SUR of systemfit
is.zelig.package

Wether an Installed R-Pack Depends on Zelig
zelig2-survey

Interface between Zelig and svyglm
describe.gamma

Describe the gamma model to Zelig
plot.simulations

Plot Any Simulation from the Zelig Core Package
relogit

Fit a rare-event logistic model in Zelig
splitUp

Split a List into Two Lists This functions takes any list, and splits into two lists - one containing the values of arguments with specifically specified values and those without specified values.
turnout

Turnout Data Set from the National Election Survey
zelig2

Interface Between Zelig Models and External Functions