Learn R Programming

Copy Link

Version

Install

install.packages('Zelig')

Monthly Downloads

695

Version

5.1.7

License

GPL (>= 3)

Maintainer

Last Published

December 12th, 2020

Functions in Zelig (5.1.7)

Zelig-arima-class

Autoregressive and Moving-Average Models with Integration for Time-Series Data
Weimar

1932 Weimar election data
Median

Compute the Statistical Median of a Vector
Mode

Compute the Statistical Mode of a Vector
Zelig-ar-class

Time-Series Model with Autoregressive Disturbance
MatchIt.url

Table of links for Zelig
PErisk

Political Economic Risk Data from 62 Countries in 1987
SupremeCourt

U.S. Supreme Court Vote Matrix
ATT

Compute simulated (sample) average treatment effects on the treated from a Zelig model estimation
CigarettesSW

Cigarette Consumption Panel Data
Zelig-binchoice-gee-class

Object for Binary Choice outcomes in Generalized Estimating Equations for inheritance across models in Zelig
Zelig-exp-class

Exponential Regression for Duration Dependent Variables
Zelig-class

Zelig reference class
Zelig-binchoice-survey-class

Object for Binary Choice outcomes with Survey Weights for inheritance across models in Zelig
Zelig-gamma-class

Gamma Regression for Continuous, Positive Dependent Variables
Zelig-factor-bayes-class

Bayesian Factor Analysis
Zelig-ls-class

Least Squares Regression for Continuous Dependent Variables
Zelig-ma-class

Time-Series Model with Moving Average
Zelig-glm-class

Generalized Linear Model object for inheritance across models in Zelig
Zelig-gee-class

Generalized Estimating Equations Model object for inheritance across models in Zelig
Zelig-bayes-class

Bayes Model object for inheritance across models in Zelig
Zelig-logit-survey-class

Logit Regression with Survey Weights
Zelig-lognorm-class

Log-Normal Regression for Duration Dependent Variables
Zelig-binchoice-class

Binary Choice object for inheritance across models in Zelig
Zelig-ivreg-class

Instrumental-Variable Regression
Zelig-logit-bayes-class

Bayesian Logit Regression
Zelig-gamma-gee-class

Generalized Estimating Equation for Gamma Regression
Zelig-gamma-survey-class

Gamma Regression with Survey Weights
Zelig-logit-class

Logistic Regression for Dichotomous Dependent Variables
Zelig-logit-gee-class

Generalized Estimating Equation for Logit Regression
Zelig-oprobit-bayes-class

Bayesian Ordered Probit Regression
Zelig-negbin-class

Negative Binomial Regression for Event Count Dependent Variables
Zelig-mlogit-bayes-class

Bayesian Multinomial Logistic Regression
Zelig-normal-bayes-class

Bayesian Normal Linear Regression
Zelig-normal-class

Normal Regression for Continuous Dependent Variables
Zelig-probit-class

Probit Regression for Dichotomous Dependent Variables
Zelig-probit-gee-class

Generalized Estimating Equation for Probit Regression
Zelig-relogit-class

Rare Events Logistic Regression for Dichotomous 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-timeseries-class

Time-series models in Zelig
Zelig-poisson-bayes-class

Bayesian Poisson Regression
Zelig-tobit-bayes-class

Bayesian Tobit Regression
Zelig-survey-class

Survey models in Zelig for weights for complex sampling designs
approval

U.S. Presidential Approval Data
cluster.formula

Generate Formulae that Consider Clustering
Zelig.url

Table of links for Zelig
extract_setrange

Extract setrange to return as tidy formatted data frame
Zelig-weibull-class

Weibull Regression for Duration Dependent Variables
Zelig-tobit-class

Linear Regression for a Left-Censored Dependent Variable
extract_setx

Extract setx for non-range and return tidy formatted data frame
coalition

Coalition Dissolution in Parliamentary Democracies
eidat

Simulation Data for Ecological Inference
Zelig-poisson-survey-class

Poisson Regression with Survey Weights
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
df.residual,Zelig-method

Method for extracting residual degrees-of-freedom from Zelig objects
createJSON

Utility function for constructing JSON file that encodes the hierarchy of available statistical models in Zelig
friendship

Simulated Example of Schoolchildren Friendship Network
Zelig-poisson-gee-class

Generalized Estimating Equation for Poisson Regression
Zelig-poisson-class

Poisson Regression for Event Count Dependent Variables
Zelig-probit-bayes-class

Bayesian Probit Regression
bivariate

Sample data for bivariate probit regression
avg

Compute central tendancy as approrpriate to data type
get_se

Extract standard errors from a Zelig estimated model
is_simsrange1

Check if simulations for a range1 of fitted values are present in sim.out
from_zelig_model

Extract the original fitted model object from a zelig estimation
coef,Zelig-method

Method for extracting estimated coefficients from Zelig objects
coalition2

Coalition Dissolution in Parliamentary Democracies, Modified Version
is_simsx

Check if simulations for individual values are present in sim.out
get_pvalue

Extract p-values from a Zelig estimated model
expand_grid_setrange

Convenience function for setrange and setrange1
free2

Freedom of Speech Data
free1

Freedom of Speech Data
immigration

Individual Preferences Over Immigration Policy
is_simsx1

Check if simulations for individual values for x1 are present in sim.out
is_zelig

Check if is a zelig object
get_qi

Extract quantities of interest from a Zelig simulation
is_timeseries

Check if a zelig object contains a time series model
is_simsrange

Check if simulations for a range of fitted values are present in sim.out
grunfeld

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

Check if any simulations are present in sim.out
is_length_not_1

Check if an object has a length greater than 1
macro

Macroeconomic Data
factor_coef_combine

Return individual factor coefficient fitted values to single factor variable
to_zelig

Coerce a non-Zelig fitted model object to a Zelig class object
seatshare

Left Party Seat Share in 11 OECD Countries
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
is_zeligei

Check if an object was created with ZeligEI
names,Zelig-method

Names method for Zelig objects
zelig_qi_to_df

Extract simulated quantities of interest from a zelig object
model_lookup_df

Instructions for how to convert non-Zelig fitted model objects to Zelig. Used in to_zelig
zelig_mutate

Zelig Copy of plyr::mutate to avoid namespace conflict with dplyr
setfactor

Set new value of a factor variable, checking for existing levels
is_uninitializedField

Check if uninitializedField
zelig_setx_to_df

Extracted fitted values from a Zelig object with setx values
mi

Enables backwards compatability for preparing non-amelia imputed data sets for zelig.
mexico

Voting Data from the 1988 Mexican Presidental Election
fitted,Zelig-method

Method for extracting estimated fitted values from Zelig objects
is_varying

Check if the values in a vector vary
sim

Generic Method for Computing and Organizing Simulated Quantities of Interest
setx1

Setting Explanatory Variable Values for First Differences
turnout

Turnout Data Set from the National Election Survey
transformer

Conduct variable transformations called inside a zelig call
mid

Militarized Interstate Disputes
zeligARMAlongrun

Calculate the Long Run Exquilibrium for Fixed X
zeligARMAbreakforecaster

Construct Simulated Series with Internal Discontinuity in X
qi_slimmer

Find the median and a central interval of simulated quantity of interest distributions
reduce

setval

Set new value of a variable as approrpriate to data type
or_summary

Find odds ratios for coefficients and standard errors for glm.summary class objects
rm_intercept

Drop intercept columns or values from a data frame or named vector, respectively
newpainters

The Discretized Painter's Data of de Piles
rocplot

Receiver Operator Characteristic Plots
p_pull

Extract p-values from a fitted model object
se_pull

Extract standard errors from a fitted model object
plot,Zelig,ANY-method

Plot method for Zelig objects
sanction

Multilateral Economic Sanctions
setx

Setting Explanatory Variable Values
Zelig-probit-survey-class

Probit Regression with Survey Weights
to_zelig_mi

Bundle Multiply Imputed Data Sets into an Object for Zelig
statmat

Create QI summary matrix
tobin

Tobin's Tobit Data
statlevel

Describe Here
vcov_rq

Find vcov for quantile regression models
voteincome

Sample Turnout and Demographic Data from the 2000 Current Population Survey
summary,Zelig-method

Summary method for Zelig objects
vcov,Zelig-method

Variance-covariance method for Zelig objects
vcov_gee

Find vcov for GEE models
strip_package_name

Remove package names from fitted model object calls.
zeligARMAnextstep

Construct Simulated Next Step in Dynamic Series
stat

Pass Quantities of Interest to Appropriate Summary Function
sna.ex

Simulated Example of Social Network Data
zeligArimaWrapper

Estimation wrapper function for arima models, to easily fit with Zelig architecture
coefficients,Zelig-method

Method for extracting estimated coefficients from Zelig objects
Zelig-quantile-class

Quantile Regression for Continuous Dependent Variables
combine_coef_se

Combines estimated coefficients and associated statistics from models estimated with multiply imputed data sets or bootstrapped
kmenta

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

Default Plot Design For Zelig Model QI's
predict,Zelig-method

Method for getting predicted values from Zelig objects
klein

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

Social Security Expenditure Data
homerun

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

Estimation function for rare events logit models
summary.Arima

Summary of an object of class Arima
residuals,Zelig-method

Method for extracting residuals from Zelig objects
simulations.plot

Plot Quantities of Interest in a Zelig-fashion
simacf

Construct Autocorrelation Function from Zelig object and simulated parameters
swiss

Swiss Fertility and Socioeconomic Indicators (1888) Data
zelig

Estimating a Statistical Model
zeligACFplot

Plot Autocorrelation Function from Zelig QI object