All changes to Zelig are documented here. GitHub issue numbers are given after each change note when relevant. See https://github.com/IQSS/Zelig/issues. External contributors are referenced with their GitHub usernames when applicable.
-
Removed zeligverse, ZeligChoice, so as to get back up on CRAN.
-
New maintainer @rtreacy (inheriting same contact email).
-
Updates of documentation and external links to meet CRAN checks.
-
Removal of some tests.
- All Zelig time series models are deprecated.
predit
,fitted
,residuals
now accept arguments. #320
++++ All Zelig time series models will be deprecated on 1 February 2018 ++++
-
Resolved an issue where
odds_ratios
standard errors were not correctly returned forlogit
andrelogit
models. Thanks to @retrography. #302 -
Zelig 4 compatability wrappers now work for
arima
models. Thanks to @mbsabath. #280 -
Resolved an error when only
setx
was called witharima
models Thanks to @mbsabath. #299 -
Resolved an error when
summary
was called aftersim
forarima
models. #305 -
Resolved an error when
sim
is used with differenced first-order autoregressive models. #307 -
arima
models return informative error whendata
is not found. #308
-
Compatibility with testthat 2.0.0
-
Documentation updated to correctly reflect that
tobit
wrapsAER::tobit
. #315 -
Package terminology in documentation corrected. #316
-
Speed improvements made to
relogit
. Thanks to @retrography. #88 -
Returns
relogit
weighted case control method to that described in King and Langche (2001, eq. 11) and used in the Statarelogit
implementation. #295 -
Odds ratios now returned from
summary
withrelogit
models via theodds_ratios = TRUE
argument. #302
- Roxygen documentation improvements.
-
zquantile
with Amelia imputed data now working. #277 -
vcov
now works withrq
quantile regression models. -
More informative error handling for conflicting
timeseries
model arguments. #283 -
Resolved and issue with
relogit
that produced a warning when the fitted model object was passed topredict
. #291
-
!EXPERIMENTAL! interface function
to_zelig
allows users to convert fitted model objects fitted outside of Zelig to a Zelig object. The function is called within thesetx
wrapper if a non-Zelig object is supplied. Currently only works for models fitted withlm
and many estimated withglm
andsvyglm
. #189 -
get_se
andget_pvalue
function wrappers created forget_se
andget_pvalue
methods, respectively. #269 -
If
combine_coef_se
is given a model estimated without multiply imputed data or bootstraps, an error is no longer returned. Instead a list of the models' untransformed coefficients, standard errors, and p-values is returned. #268 -
summary
forlogit
models now accepts the argumentodds_ratios
. WhenTRUE
odds ratio estimates are returned rather than coefficient estimates. Thanks to Adam Obeng. PR/#270. -
setx
andsim
fail informatively when passed ZeligEI objects. #271
-
Resolved a bug where
weights
were not being passed tosvydesign
in survey models. #258 -
Due to limited functionality and instability, zelig survey estimations no return a warning and a link to documentation on how to use
to_survey
viasetx
to bipasszelig
. #273 -
Resolved a bug where
from_zelig_model
would not extract fitted model objects for models estimated usingvglm
. #265 -
get_pvalue
andget_se
now work for models estimated usingvglm
. #267 -
Improved
ivreg
,mlogit
, and getter (#266) documentation.
-
Average Treatment Effect on the Treated (ATT) vignette added to the online documentation http://docs.zeligproject.org/articles/att.html
-
Corrected vignette URLs.
-
Introduce a new model type for instrumental-variable regression:
ivreg
based on theivreg
from the AER package. #223 -
Use the Formula package for formulas. This will enable a common syntax for multiple equations, though currently in Core Zelig it is only enhances
ivreg
. #241 -
zelig
calls now supportupdate
ing formulas (#244) and.
syntax for inserting all variables fromdata
on the right-hand side of the formula #87. See also #247. -
Arbitrary
log
transformations are now supported inzelig
calls (exept forivreg
regressors). #225 -
Arbitrary
as.factor
andfactor
transformations are now supported inzelig
calls. -
Restored quantile regression (
model = "rq"
). Currently only supports onetau
at a time. #255 -
Added
get_qi
wrapper forget_qi
method. -
Added
ATT
wrapper forATT
method. -
gee
models can now be estimated with multiply imputed data. #263
-
zelig
returns an error ifweights
are specified in a model estimated with multiply imputed data. (not possible before, but uninformative error returned) -
Code improvement to
factor_coef_combine
so it does not return a warning for model types with more than 1 declared class. -
Reorganize README files to meet new CRAN requirements.
-
Switch
bind_rows
forrbind_all
inzquantile
as the latter is depricated. #255 -
Depends on the survival package in order to enable
setx
for exponential models without explicitly loading survival. #254 -
relogit
now only accepts onetau
per call (similar toquantile
). Fixed to address #257. -
Additional unit tests.
-
New function
combine_coef_se
takes as input azelig
model estimated using multiply imputed data or bootstrapping and returns a list of coefficients, standard errors, z-values, and p-values combined across the estimations. Thanks to @vincentarelbundock for prompting. #229 -
The following changes were primarily made to re-established Zelig integration with WhatIf. #236
-
Added
zelig_setx_to_df
for extracted fitted values created bysetx
. -
Fitted factor level variable values are returned in a single column (not by parameter level) by
zelig_qi_to_df
.
-
-
setrange
(includingsetx
used with a range of fitted values) now creates scenarios based on matches of equal length set ranges. This enablessetx
to work with polynomials, splines, etc. (currently only when these are created outside of thezelig
call). #238
-
Resolve a bug where appropriate
plot
s were not created formlogitbayes
. #206 -
Arguments (such as
xlab
) can now be passed toplot
. #237 -
zelig_qi_to_df
andqi_slimmer
bug with multinomial response models resolved. #235 -
Resolved a bug where
coef
,coefficients
,vcov
,fitted
, andpredict
returned errors. Thanks to @vincentarelbundock for initially reporting. #231 -
Reduced number of digits show from
summary
for fitted model objects.
-
!! Breaking change !! the
get*
functions (e.g.getcoef
) now use underscores_
to delimit words in the function names (e.g.get_coef
). #214 -
Added a number of new "getter" methods for extracting estimation elements:
-
get_names
method to return Zelig object field names. Also available vianames
. #216 -
get_residuals
to extract fitted model residuals. Also available viaresiduals
. -
get_df_residuals
method to return residual degrees-of-freedom. Also accessible viadf.residuals
. -
get_model_data
method to return the data frame used to estimate the original model. -
get_pvalue
andget_se
methods to return estimated model p-values and standard errors. Thank you to @vincentarelbundock for contributions. #147
-
-
zelig_qi_to_df
function for extracting simulated quantities of interest from a Zelig object and returning them as a tidy-formatted data frame. #189 -
setx
returns an error if it is unable to find a supplied variable name. -
setx1
wrapper added to facilitate piped workflows for first differences. -
zelig
can handle independent variables that are transformed using the natural logarithm inside of the call. #225
-
Corrected an issue where
plot
would tend to choose a factor level as the x-axis variable when plotting a range of simulations. #226 -
If a factor level variable's fitted value is not specified in
setx
and it is multi-modal, the last factor in the factor list is arbitrarily chosen. This replaces previous behavior where the level was randomly chosen, causing unuseful quantity of interest range plots. #226 -
Corrected a bug where
summary
for ranges ofsetx
would only show the first scenario. Now all scenarios are shown. #226 -
Corrected a bug where the README.md was not included in the CRAN build.
-
to_zelig_mi
now can accept a list of data frames. Thanks to @vincentarelbundock. -
Internal code improvements.
-
Allows users to convert an independent variable to a factor within a
zelig
call usingas.factor
. #213 -
from_zelig_model
function to extract original fitted model objects fromzelig
estimation calls. This is useful for conducting non-Zelig supported post-estimation and easy integration with the texreg and stargazer packages for formatted parameter estimate tables. #189 -
Additional MC tests for a wide range of models. #160
- Solved deep assignment issue that returned a series of warnings on build. #172
-
Resolves a bug from
set
wheresim
would fail for models that included factor level independent variables. #156 -
Fixed an issue with
model-survey
whereids
was hard coded as~1
. #144 -
Fixed
ATT
bug introduced in 5.0-14. #194 -
Fixed
ci.plot
bug withtimeseries
models introduced in 5.0-15. #204
-
mode
has been deprecated. Please useMode
. #152 -
The Zelig 4
sim
wrapper now intelligently looks for fitted values from the reference class object if not supplied via the x argument. -
New
to_zelig_mi
utility function for combining multiply imputed data sets for passing tozelig
.mi
will also work to enable backwards compatibility. #178 -
Initial development on a new testing architecture and more tests for
model-*
, Zelig 4 wrappers,ci.plot
, and the Zelig workflow. -
graph
method now accepts simulations fromsetx
andsetrange
. For the former it usesqi.plot
andci.plot
for the latter. -
Improved error messages for Zelig 4 wrappers.
-
Improved error messages if Zelig methods are supplied with too little information.
-
model-arima
now fails if the dependent variable does not vary for one of the cases.
-
Minor documentation improvements for Zelig 4 wrappers.
-
Dynamically generated README.md.
-
Removed plyr package dependency.
-
rbind_all
replaced bybind_rows
as the former is deprecated by dplyr. -
Other internal code improvements