Skip to content

Commit

Permalink
Prep for submission
Browse files Browse the repository at this point in the history
  • Loading branch information
ngreifer committed Aug 19, 2024
1 parent ef94037 commit 2786f72
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 5 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: WeightIt
Type: Package
Title: Weighting for Covariate Balance in Observational Studies
Version: 1.2.1
Version: 1.3.0
Authors@R: c(
person("Noah", "Greifer", role=c("aut", "cre"),
email = "noah.greifer@gmail.com",
Expand All @@ -22,7 +22,7 @@ Imports:
ggplot2 (>= 3.3.0),
chk (>= 0.9.2),
rlang (>= 1.1.0),
crayon,
crayon (>= 1.3.4),
generics,
utils,
stats
Expand Down
6 changes: 6 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,18 @@ S3method(print,summary.weightit.sbps)
S3method(print,summary.weightitMSM)
S3method(print,weightit)
S3method(print,weightitMSM)
S3method(stats::anova,coxph_weightit)
S3method(stats::anova,glm_weightit)
S3method(stats::anova,multinom_weightit)
S3method(stats::anova,ordinal_weightit)
S3method(stats::confint,coxph_weightit)
S3method(stats::confint,glm_weightit)
S3method(stats::confint,multinom_weightit)
S3method(stats::confint,ordinal_weightit)
S3method(stats::model.matrix,multinom_weightit)
S3method(stats::model.matrix,ordinal_weightit)
S3method(stats::nobs,multinom_weightit)
S3method(stats::nobs,ordinal_weightit)
S3method(stats::vcov,coxph_weightit)
S3method(stats::vcov,glm_weightit)
S3method(stats::vcov,multinom_weightit)
Expand Down
6 changes: 5 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
WeightIt News and Updates
======

# `WeightIt` 1.2.1
# `WeightIt` 1.3.0

* Added `anova()` methods for `glm_weightit`, `multinom_weightit`, `ordinal_weightit`, and `coxph_weightit` objects to perform Wald tests for comparing nested models. The models do not have to be symbolically nested.

* Added the new user-facing object `.weightit_methods`, which contains information on each method and the options allowed with it. This is used within `WeightIt` for checking arguments but can also be used by other package developers who call functions in `WeightIt`. See `help(".weightit_methods")` for details.

Expand All @@ -11,6 +13,8 @@ WeightIt News and Updates

* `moments` can now be set to 0 when `quantile` is supplied to ensure balance on the quantiles without the moments for the methods that accepts `quantiles`. Thanks to @BERENZ for the suggestion.

* Fixed a bug in `ordinal_weightit()` where the Hessian (and therefore the HC0 robust variance) were calculated incorrectly when come coefficients were aliased (i.e., due to linearly dependent predictors).

* Fixes to vignettes and tests to satisfy CRAN checks.

* Minor bug, performance, and readability fixes.
Expand Down
44 changes: 42 additions & 2 deletions man/glm_weightit-methods.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2786f72

Please sign in to comment.