# Everyone's Statistical Software

## Documentation for package ‘Zelig’ version 5.0-17

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Code demos. Use demo() to run them.

## Help Pages

A B C D E F G H I K M N P Q R S T V W Z

## -- A --

approval | U.S. Presidential Approval Data
avg | Compute central tendancy as approrpriate to data type

## -- B --

bivariate | Sample data for bivariate probit regression

## -- C --

ci.plot | Method for plotting qi simulations across a range within a variable, with confidence intervals
ci_check | Convert 'ci' interval from percent to proportion and check if valid
cluster.formula | Generate Formulae that Consider Clustering
coalition | Coalition Dissolution in Parliamentary Democracies
coalition2 | Coalition Dissolution in Parliamentary Democracies, Modified Version
coef-method | Method for extracting estimated coefficients from Zelig objects
coefficients-method | Method for extracting estimated coefficients from Zelig objects
combine_coef_se | Combines estimated coefficients and associated statistics from models estimated with multiply imputed data sets or bootstrapped
createJSON | Utility function for constructing JSON file that encodes the hierarchy of available statistical models in Zelig

## -- D --

df.residual-method | Method for extracting residual degrees-of-freedom from Zelig objects

## -- E --

eidat | Simulation Data for Ecological Inference
extract_setrange | Extract setrange to return as tidy formatted data frame
extract_setx | Extract setx for non-range and return tidy formatted data frame

## -- F --

factor_coef_combine | Return individual factor coefficient fitted values to single factor variable
fitted-method | Method for extracting estimated fitted values from Zelig objects
free1 | Freedom of Speech Data
free2 | Freedom of Speech Data
friendship | Simulated Example of Schoolchildren Friendship Network
from_zelig_model | Extract the original fitted model object from a 'zelig' estimation

## -- G --

grunfeld | Simulation Data for model Seemingly Unrelated Regression (sur) that corresponds to method SUR of systemfit

## -- H --

hoff | Social Security Expenditure Data
homerun | Sample Data on Home Runs Hit By Mark McGwire and Sammy Sosa in 1998.

## -- I --

immi1 | Individual Preferences Over Immigration Policy
immi2 | Individual Preferences Over Immigration Policy
immi3 | Individual Preferences Over Immigration Policy
immi4 | Individual Preferences Over Immigration Policy
immi5 | Individual Preferences Over Immigration Policy
immigration | Individual Preferences Over Immigration Policy
is_length_not_1 | Check if an object has a length greater than 1
is_simsrange | Check if simulations for a range of fitted values are present in sim.out
is_simsrange1 | Check if simulations for a range1 of fitted values are present in sim.out
is_simsx | Check if simulations for individual values are present in sim.out
is_simsx1 | Check if simulations for individual values for x1 are present in sim.out
is_sims_present | Check if any simulations are present in sim.out
is_timeseries | Check if a zelig object contains a time series model
is_uninitializedField | Check if uninitializedField
is_varying | Check if the values in a vector vary
is_zelig | Check if is a zelig object

## -- K --

klein | Simulation Data for model Two-Stage Least Square (twosls) that corresponds to method 2SLS of systemfit
kmenta | Simulation Data for model Three-Stage Least Square (threesls) that corresponds to method 3SLS of systemfit

## -- M --

macro | Macroeconomic Data
MatchIt.url | Table of links for Zelig
Median | Compute the Statistical Median of a Vector
mexico | Voting Data from the 1988 Mexican Presidental Election
mi | Enables backwards compatability for preparing non-amelia imputed data sets for 'zelig'.
mid | Militarized Interstate Disputes
Mode | Compute the Statistical Mode of a Vector
mode | Compute the Statistical Mode of a Vector

## -- N --

names-method | Names method for Zelig objects
newpainters | The Discretized Painter's Data of de Piles

## -- P --

PErisk | Political Economic Risk Data from 62 Countries in 1987
plot-method | Plot method for Zelig objects
predict-method | Method for getting predicted values from Zelig objects
p_pull | Extract p-values from a fitted model object

## -- Q --

qi.plot | Default Plot Design For Zelig Model QI's
qi_slimmer | Find the median and a central interval of simulated quantity of interest distributions

## -- R --

residuals-method | Method for extracting residuals from Zelig objects
rm_intercept | Drop intercept columns from a data frame of fitted values
rocplot | Receiver Operator Characteristic Plots

## -- S --

sanction | Multilateral Economic Sanctions
seatshare | Left Party Seat Share in 11 OECD Countries
setx | Setting Explanatory Variable Values
setx1 | Setting Explanatory Variable Values for First Differences
se_pull | Extract standard errors from a fitted model object
sim | Generic Method for Computing and Organizing Simulated Quantities of Interest
simulations.plot | Plot Quantities of Interest in a Zelig-fashion
sna.ex | Simulated Example of Social Network Data
strip_package_name | Remove package names from fitted model object calls.
summary-method | Summary method for Zelig objects
summary.Arima | Summary of an object of class Arima
SupremeCourt | U.S. Supreme Court Vote Matrix
swiss | Swiss Fertility and Socioeconomic Indicators (1888) Data

## -- T --

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
tobin | Tobin's Tobit Data
to_zelig_mi | Bundle Multiply Imputed Data Sets into an Object for Zelig
transformer | Conduct variable transformations called inside a 'zelig' call
turnout | Turnout Data Set from the National Election Survey

## -- V --

vcov-method | Variance-covariance method for Zelig objects
voteincome | Sample Turnout and Demographic Data from the 2000 Current Population Survey

## -- W --

Weimar | 1932 Weimar election data

## -- Z --

z | Zelig reference class
zar | Time-Series Model with Autoregressive Disturbance
zarima | Autoregressive and Moving-Average Models with Integration for Time-Series Data
zbayes | Bayes Model object for inheritance across models in Zelig
zbinchoice | Binary Choice object for inheritance across models in Zelig
zbinchoicegee | Object for Binary Choice outcomes in Generalized Estimating Equations for inheritance across models in Zelig
zbinchoicesurvey | Object for Binary Choice outcomes with Survey Weights for inheritance across models in Zelig
zelig | Estimating a Statistical Model
Zelig-ar-class | Time-Series Model with Autoregressive Disturbance
Zelig-arima-class | Autoregressive and Moving-Average Models with Integration for Time-Series Data
Zelig-bayes-class | Bayes Model object for inheritance across models in Zelig
Zelig-binchoice-class | Binary Choice object for inheritance across models in Zelig
Zelig-binchoice-gee-class | Object for Binary Choice outcomes in Generalized Estimating Equations for inheritance across models in Zelig
Zelig-binchoice-survey-class | Object for Binary Choice outcomes with Survey Weights for inheritance across models in Zelig
Zelig-class | Zelig reference class
Zelig-exp-class | Exponential Regression for Duration Dependent Variables
Zelig-factor-bayes-class | Bayesian Factor Analysis
Zelig-gamma-class | Gamma Regression for Continuous, Positive Dependent Variables
Zelig-gamma-gee-class | Generalized Estimating Equation for Gamma Regression
Zelig-gamma-survey-class | Gamma Regression with Survey Weights
Zelig-gee-class | Generalized Estimating Equations Model object for inheritance across models in Zelig
Zelig-glm-class | Generalized Linear Model object for inheritance across models in Zelig
Zelig-logit-bayes-class | Bayesian Logit Regression
Zelig-logit-class | Logistic Regression for Dichotomous Dependent Variables
Zelig-logit-gee-class | Generalized Estimating Equation for Logit Regression
Zelig-logit-survey-class | Logit Regression with Survey Weights
Zelig-lognorm-class | Log-Normal Regression for Duration Dependent Variables
Zelig-ls-class | Least Squares Regression for Continuous Dependent Variables
Zelig-ma-class | Time-Series Model with Moving Average
Zelig-mlogit-bayes-class | Bayesian Multinomial Logistic Regression
Zelig-negbin-class | Negative Binomial Regression for Event Count Dependent Variables
Zelig-normal-bayes-class | Bayesian Normal Linear Regression
Zelig-normal-class | Normal Regression for Continuous Dependent Variables
Zelig-normal-gee-class | Generalized Estimating Equation for Normal Regression
Zelig-normal-survey-class | Normal Regression for Continuous Dependent Variables with Survey Weights
Zelig-oprobit-bayes-class | Bayesian Ordered Probit Regression
Zelig-poisson-bayes-class | Bayesian Poisson Regression
Zelig-poisson-class | Poisson Regression for Event Count Dependent Variables
Zelig-poisson-gee-class | Generalized Estimating Equation for Poisson Regression
Zelig-poisson-survey-class | Poisson Regression with Survey Weights
Zelig-probit-bayes-class | Bayesian Probit Regression
Zelig-probit-class | Probit Regression for Dichotomous Dependent Variables
Zelig-probit-gee-class | Generalized Estimating Equation for Probit Regression
Zelig-probit-survey-class | Probit Regression with Survey Weights
Zelig-quantile-class | Quantile Regression for Continuous Dependent Variables
Zelig-relogit-class | Rare Events Logistic Regression for Dichotomous Dependent Variables
Zelig-survey-class | Survey models in Zelig for weights for complex sampling designs
Zelig-timeseries-class | Time-series models in Zelig
Zelig-tobit-bayes-class | Bayesian Tobit Regression
Zelig-tobit-class | Linear Regression for a Left-Censored Dependent Variable
Zelig-weibull-class | Weibull Regression for Duration Dependent Variables
Zelig.url | Table of links for Zelig
zelig_qi_to_df | Extract simulated quantities of interest from a zelig object
zelig_setx_to_df | Extracted fitted values from a Zelig object with 'setx' values
zexp | Exponential Regression for Duration Dependent Variables
zfactorbayes | Bayesian Factor Analysis
zgamma | Gamma Regression for Continuous, Positive Dependent Variables
zgammagee | Generalized Estimating Equation for Gamma Regression
zgammasurvey | Gamma Regression with Survey Weights
zgee | Generalized Estimating Equations Model object for inheritance across models in Zelig
zglm | Generalized Linear Model object for inheritance across models in Zelig
zlogit | Logistic Regression for Dichotomous Dependent Variables
zlogitbayes | Bayesian Logit Regression
zlogitgee | Generalized Estimating Equation for Logit Regression
zlogitsurvey | Logit Regression with Survey Weights
zlognorm | Log-Normal Regression for Duration Dependent Variables
zls | Least Squares Regression for Continuous Dependent Variables
zma | Time-Series Model with Moving Average
zmlogitbayes | Bayesian Multinomial Logistic Regression
znegbin | Negative Binomial Regression for Event Count Dependent Variables
znormal | Normal Regression for Continuous Dependent Variables
znormalbayes | Bayesian Normal Linear Regression
znormalgee | Generalized Estimating Equation for Normal Regression
znormalsurvey | Normal Regression for Continuous Dependent Variables with Survey Weights
zoprobitbayes | Bayesian Ordered Probit Regression
zpoisson | Poisson Regression for Event Count Dependent Variables
zpoissonbayes | Bayesian Poisson Regression
zpoissongee | Generalized Estimating Equation for Poisson Regression
zpoissonsurvey | Poisson Regression with Survey Weights
zprobit | Probit Regression for Dichotomous Dependent Variables
zprobitbayes | Bayesian Probit Regression
zprobitgee | Generalized Estimating Equation for Probit Regression
zprobitsurvey | Probit Regression with Survey Weights
zquantile | Quantile Regression for Continuous Dependent Variables
zrelogit | Rare Events Logistic Regression for Dichotomous Dependent Variables
zsurvey | Survey models in Zelig for weights for complex sampling designs
ztimeseries | Time-series models in Zelig
ztobit | Linear Regression for a Left-Censored Dependent Variable
ztobitbayes | Bayesian Tobit Regression
zweibull | Weibull Regression for Duration Dependent Variables