Rdocumentation
powered by
Learn R Programming
⚠️
There's a newer version (5.1.7) of this package.
Take me there.
Copy Link
Link to current version
Version
Version
5.1.7
5.1.6.1
5.1.6
5.1.5
5.1-4
5.1-3
5.1-2
5.1-1
5.1-0
5.0-18
5.0-16
5.0-15
5.0-14
5.0-13
5.0-12
5.0-11
5.0-10
5.0-9
5.0-8
5.0-7
4.2-1
4.1-3
4.1-2
4.1-1
4.1-0
4.0-11
3.5.5
3.5.4
3.5.3
3.5.2
3.5.1
3.4-8
3.4-5
3.4-3
3.3-1
3.1-0
3.0-1
2.8-3
2.8-2
2.8-1
2.8-0
2.7-5
2.7-4
2.7-2
2.6-5
2.6-4
2.6-3
2.6-2
2.5-4
2.5-3
2.5-2
2.4-5
2.4-4
2.4-1
2.3-2
2.3-1
2.2-2
2.2-1
2.1-4
2.1-1
2.0-13
2.0-9
Install
install.packages('Zelig')
Monthly Downloads
86
Version
5.1.6.1
License
GPL (>= 3)
Maintainer
James Honaker
Last Published
April 22nd, 2019
Functions in Zelig (5.1.6.1)
Search all functions
Mode
Compute the Statistical Mode of a Vector
Zelig-factor-bayes-class
Bayesian Factor Analysis
Zelig-gamma-class
Gamma Regression for Continuous, Positive Dependent Variables
SupremeCourt
U.S. Supreme Court Vote Matrix
Zelig-logit-class
Logistic Regression for Dichotomous Dependent Variables
Zelig-logit-gee-class
Generalized Estimating Equation for Logit Regression
Zelig-normal-gee-class
Generalized Estimating Equation for Normal Regression
Zelig-normal-survey-class
Normal Regression for Continuous Dependent Variables with Survey Weights
Zelig-poisson-survey-class
Poisson Regression with Survey Weights
Zelig-gamma-gee-class
Generalized Estimating Equation for Gamma Regression
Zelig-gamma-survey-class
Gamma Regression with Survey Weights
Zelig-logit-survey-class
Logit Regression with Survey Weights
Zelig-lognorm-class
Log-Normal Regression for Duration Dependent Variables
Zelig-probit-bayes-class
Bayesian Probit Regression
Weimar
1932 Weimar election data
Zelig-bayes-class
Bayes Model object for inheritance across models in Zelig
Zelig-timeseries-class
Time-series models in Zelig
Zelig-binchoice-class
Binary Choice object for inheritance across models in Zelig
Zelig-tobit-bayes-class
Bayesian Tobit Regression
Zelig-ivreg-class
Instrumental-Variable Regression
avg
Compute central tendancy as approrpriate to data type
bivariate
Sample data for bivariate probit regression
Zelig-logit-bayes-class
Bayesian Logit Regression
Zelig-normal-bayes-class
Bayesian Normal Linear Regression
Zelig-normal-class
Normal Regression for Continuous Dependent Variables
Zelig.url
Table of links for Zelig
get_pvalue
Extract p-values from a Zelig estimated model
Zelig-probit-survey-class
Probit Regression with Survey Weights
approval
U.S. Presidential Approval Data
get_qi
Extract quantities of interest from a Zelig simulation
Zelig-quantile-class
Quantile Regression for Continuous Dependent Variables
coefficients,Zelig-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
klein
Simulation Data for model Two-Stage Least Square (twosls) that corresponds to method 2SLS of systemfit
Zelig-ar-class
Time-Series Model with Autoregressive Disturbance
Zelig-arima-class
Autoregressive and Moving-Average Models with Integration for Time-Series Data
immigration
Individual Preferences Over Immigration Policy
kmenta
Simulation Data for model Three-Stage Least Square (threesls) that corresponds to method 3SLS of systemfit
Zelig-class
Zelig reference class
Zelig-exp-class
Exponential Regression for Duration Dependent Variables
Zelig-ls-class
Least Squares Regression for Continuous Dependent Variables
Zelig-ma-class
Time-Series Model with Moving Average
is_length_not_1
Check if an object has a length greater than 1
Zelig-tobit-class
Linear Regression for a Left-Censored Dependent Variable
Zelig-weibull-class
Weibull Regression for Duration Dependent Variables
mi
Enables backwards compatability for preparing non-amelia imputed data sets for
zelig
.
coef,Zelig-method
Method for extracting estimated coefficients from Zelig objects
mid
Militarized Interstate Disputes
coalition2
Coalition Dissolution in Parliamentary Democracies, Modified Version
p_pull
Extract p-values from a fitted model object
newpainters
The Discretized Painter's Data of de Piles
factor_coef_combine
Return individual factor coefficient fitted values to single factor variable
plot,Zelig,ANY-method
Plot method for Zelig objects
seatshare
Left Party Seat Share in 11 OECD Countries
fitted,Zelig-method
Method for extracting estimated fitted values from Zelig objects
setfactor
Set new value of a factor variable, checking for existing levels
Zelig-mlogit-bayes-class
Bayesian Multinomial Logistic Regression
or_summary
Find odds ratios for coefficients and standard errors for glm.summary class objects
strip_package_name
Remove package names from fitted model object calls.
summary,Zelig-method
Summary method for Zelig objects
Zelig-negbin-class
Negative Binomial Regression for Event Count Dependent Variables
vcov,Zelig-method
Variance-covariance method for Zelig objects
setval
Set new value of a variable as approrpriate to data type
hoff
Social Security Expenditure Data
homerun
Sample Data on Home Runs Hit By Mark McGwire and Sammy Sosa in 1998.
vcov_gee
Find vcov for GEE models
setx
Setting Explanatory Variable Values
Zelig-relogit-class
Rare Events Logistic Regression for Dichotomous Dependent Variables
Zelig-survey-class
Survey models in Zelig for weights for complex sampling designs
setx1
Setting Explanatory Variable Values for First Differences
macro
Macroeconomic Data
mexico
Voting Data from the 1988 Mexican Presidental Election
zelig_mutate
Zelig Copy of plyr::mutate to avoid namespace conflict with dplyr
MatchIt.url
Table of links for Zelig
sim
Generic Method for Computing and Organizing Simulated Quantities of Interest
zelig_qi_to_df
Extract simulated quantities of interest from a zelig object
Median
Compute the Statistical Median of a Vector
cluster.formula
Generate Formulae that Consider Clustering
coalition
Coalition Dissolution in Parliamentary Democracies
Zelig-binchoice-gee-class
Object for Binary Choice outcomes in Generalized Estimating Equations for inheritance across models in Zelig
createJSON
Utility function for constructing JSON file that encodes the hierarchy of available statistical models in Zelig
predict,Zelig-method
Method for getting predicted values from Zelig objects
qi.plot
Default Plot Design For Zelig Model QI's
Zelig-binchoice-survey-class
Object for Binary Choice outcomes with Survey Weights for inheritance across models in Zelig
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
simacf
Construct Autocorrelation Function from Zelig object and simulated parameters
simulations.plot
Plot Quantities of Interest in a Zelig-fashion
df.residual,Zelig-method
Method for extracting residual degrees-of-freedom from Zelig objects
free1
Freedom of Speech Data
zeligARMAnextstep
Construct Simulated Next Step in Dynamic Series
to_zelig_mi
Bundle Multiply Imputed Data Sets into an Object for Zelig
ATT
Compute simulated (sample) average treatment effects on the treated from a Zelig model estimation
zeligArimaWrapper
Estimation wrapper function for arima models, to easily fit with Zelig architecture
tobin
Tobin's Tobit Data
free2
Freedom of Speech Data
zeligARMAbreakforecaster
Construct Simulated Series with Internal Discontinuity in X
CigarettesSW
Cigarette Consumption Panel Data
zeligARMAlongrun
Calculate the Long Run Exquilibrium for Fixed X
Zelig-poisson-class
Poisson Regression for Event Count Dependent Variables
Zelig-poisson-gee-class
Generalized Estimating Equation for Poisson Regression
is_sims_present
Check if any simulations are present in sim.out
is_simsrange
Check if simulations for a range of fitted values are present in sim.out
Zelig-oprobit-bayes-class
Bayesian Ordered Probit Regression
Zelig-poisson-bayes-class
Bayesian Poisson Regression
extract_setrange
Extract setrange to return as tidy formatted data frame
Zelig-probit-class
Probit Regression for Dichotomous Dependent Variables
extract_setx
Extract setx for non-range and return tidy formatted data frame
get_se
Extract standard errors from a Zelig estimated model
Zelig-probit-gee-class
Generalized Estimating Equation for Probit Regression
grunfeld
Simulation Data for model Seemingly Unrelated Regression (sur) that corresponds to method SUR of systemfit
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
eidat
Simulation Data for Ecological Inference
expand_grid_setrange
Convenience function for setrange and setrange1
relogit
Estimation function for rare events logit models
friendship
Simulated Example of Schoolchildren Friendship Network
from_zelig_model
Extract the original fitted model object from a
zelig
estimation
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_uninitializedField
Check if uninitializedField
is_varying
Check if the values in a vector vary
names,Zelig-method
Names method for Zelig objects
model_lookup_df
Instructions for how to convert non-Zelig fitted model objects to Zelig. Used in to_zelig
sanction
Multilateral Economic Sanctions
residuals,Zelig-method
Method for extracting residuals from Zelig objects
se_pull
Extract standard errors from a fitted model object
sna.ex
Simulated Example of Social Network Data
stat
Pass Quantities of Interest to Appropriate Summary Function
statlevel
Describe Here
statmat
Create QI summary matrix
is_simsx1
Check if simulations for individual values for x1 are present in sim.out
transformer
Conduct variable transformations called inside a
zelig
call
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
to_zelig
Coerce a non-Zelig fitted model object to a Zelig class object
is_timeseries
Check if a zelig object contains a time series model
is_zelig
Check if is a zelig object
is_zeligei
Check if an object was created with ZeligEI
vcov_rq
Find vcov for quantile regression models
qi_slimmer
Find the median and a central interval of simulated quantity of interest distributions
reduce
Calculate the reduced dataset to be used in
setx
turnout
Turnout Data Set from the National Election Survey
voteincome
Sample Turnout and Demographic Data from the 2000 Current Population Survey
rm_intercept
Drop intercept columns or values from a data frame or named vector, respectively
rocplot
Receiver Operator Characteristic Plots
summary.Arima
Summary of an object of class Arima
swiss
Swiss Fertility and Socioeconomic Indicators (1888) Data
zelig_setx_to_df
Extracted fitted values from a Zelig object with
setx
values
zelig
Estimating a Statistical Model
zeligACFplot
Plot Autocorrelation Function from Zelig QI object
PErisk
Political Economic Risk Data from 62 Countries in 1987