Skip to content

Commit

Permalink
0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Jan 31, 2023
1 parent 7c049a9 commit 8cbec37
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 20 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
^vignettes/tables.Rmd
^vignettes/uncertainty.Rmd
inst/tinytest/stata/databases/.*\.dta
vignettes/.*\.Rmd
^.*\.Rproj$
^\.Rproj\.user$
man-roxygen
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: marginaleffects
Title: Predictions, Comparisons, Slopes, Marginal Means, and Hypothesis Tests
Version: 0.8.1.9126
Version: 0.9.0
Authors@R:
c(person(given = "Vincent",
family = "Arel-Bundock",
Expand Down
16 changes: 6 additions & 10 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# marginaleffects 0.8.1.9001
# marginaleffects 0.9.0

Breaking changes:

* All functions return an `estimate` column instead of the function-specific `predicted`, `comparisons`, `dydx`, etc. This change only affects unit-level estimates, and not average estimates, which already used the `estimate` column name.
* The `transform_avg` argument in `tidy()` deprecated. Use `transform_post` instead.
* `plot_*()` now return the actual variable names supplied to the `condition` argument, rather than the opaque "condition1", "condition2", etc.
* `plot_*(draw=FALSE)` now return the actual variable names supplied to the `condition` argument, rather than the opaque "condition1", "condition2", etc.

New models supported:

Expand All @@ -24,13 +24,9 @@ New features:
- Numeric value sets the null used in calculating Z and p.
- Example: `comparisons(mod, transform_pre = "ratio", hypothesis = 1)`
* All arguments from the main functions are now available through `tidy()`, and `summary()`: `conf_level`, `transform_post`, etc.
* Bayesian posterior distribution summaries can be customized using global options:
- `options("marginaleffects_posterior_interval" = "eti")`
- `options("marginaleffects_posterior_interval" = "hdi")`
- `options("marginaleffects_posterior_center" = median)`
- `options("marginaleffects_posterior_center" = mean)`
* Bayesian posterior distribution summaries (median, mean, HDI, quantiles) can be customized using global options. See `?comparisons`

Renamed functions (backward-compatibility is maintained):
Renamed functions (backward-compatibility is maintained by keeping the old function names as aliases):

* `marginaleffects()` -> `slopes()`
* `posteriordraws()` -> `posterior_draws()`
Expand All @@ -41,10 +37,10 @@ Renamed functions (backward-compatibility is maintained):

Bug fixes:

* Incorrect results: In 0.8.1, `plot_c*()` the `threenum` and `minmax` labels did not correspond to the correct numeric values.
* Incorrect results: In 0.8.1, `plot_*()` the `threenum` and `minmax` labels did not correspond to the correct numeric values.
* Fix corner case for slopes when the dataset includes infinite values.
* `mlogit` error with factors.
* The `vcov` argument accepts functions for most models.
* The `vcov` argument now accepts functions for most models.

Other:

Expand Down
4 changes: 3 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ n_support <- nrow(dat)

Compute and plot predictions, slopes, marginal means, and comparisons (contrasts, risk ratios, odds ratios, etc.) for over 70 classes of statistical models in R. Conduct linear and non-linear hypothesis tests, as well as equivalence tests using the delta method.

The website includes a "Get started" tutorial and *many* vignettes, case studies, and technical notes:
The website includes a ["Get started" tutorial](https://vincentarelbundock.github.io/marginaleffects/articles/marginaleffects.html) and over 25 [vignettes, case studies, and technical notes.](https://vincentarelbundock.github.io/marginaleffects/articles/index.html)

<!--
* [CRAN release](https://vincentarelbundock.github.io/marginaleffects/)
* [Development version](https://vincentarelbundock.github.io/marginaleffects/dev)
-->

# Installation

Expand Down
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ Compute and plot predictions, slopes, marginal means, and comparisons
statistical models in R. Conduct linear and non-linear hypothesis tests,
as well as equivalence tests using the delta method.

The website includes a “Get started” tutorial and *many* vignettes, case
studies, and technical notes:
The website includes a [“Get started”
tutorial](https://vincentarelbundock.github.io/marginaleffects/articles/marginaleffects.html)
and over 25 [vignettes, case studies, and technical
notes.](https://vincentarelbundock.github.io/marginaleffects/articles/index.html)

- [CRAN
release](https://vincentarelbundock.github.io/marginaleffects/)
- [Development
version](https://vincentarelbundock.github.io/marginaleffects/dev)
<!--
* [CRAN release](https://vincentarelbundock.github.io/marginaleffects/)
* [Development version](https://vincentarelbundock.github.io/marginaleffects/dev)
-->

# Installation

Expand Down
4 changes: 2 additions & 2 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
AAP
AAPs
Adelies
bc,
fwb,
bc
fwb
al
AME
APM
Expand Down

0 comments on commit 8cbec37

Please sign in to comment.