Changelog
Source:NEWS.md
modelbased 0.9.0
Breaking Changes
The default package used for
estimate_means()
,estimate_slopes()
andestimate_contrasts()
is now marginaleffects. You can set your preferred package as backend using either thebackend
argument, or in general by settingoptions(modelbased_backend = "marginaleffects")
oroptions(modelbased_backend = "emmeans")
.Deprecated argument and function names have been removed.
Argument
fixed
has been removed, as you can fix predictor at certain values using theby
argument.Argument
transform
is deprecated. Please usepredict
instead.Argument
method
inestimate_contrasts()
was renamed intocomparison
.All
model_*()
alias names have been removed. Use the relatedget_*()
functions instead.The
show_data
argument inplot()
defaults toFALSE
.
Major Changes
The
"marginaleffects"
backend is now fully implemented and no longer work-in-progress. You can set your preferred package as backend using either thebackend
argument, or in general by settingoptions(modelbased_backend = "marginaleffects")
oroptions(modelbased_backend = "emmeans")
.All
estimate_*()
functions get apredict
argument, which can be used to modulate the type of transformation applied to the predictions (i.e. whether predictions should be on the response scale, link scale, etc.). It can also be used to predict auxiliary (distributional) parameters.estimate_means()
andestimate_contrasts()
get amarginalize
argument, to specify how to marginalize over non-focal terms. This results in slightly different predicted values, each approach answering a different question.estimate_contrasts()
gains abackend
argument. This defaults to"marginaleffects"
, but can be set to"emmeans"
to use features of that package to estimate contrasts and pairwise comparisons.estimate_expectation()
and related functions also get aby
argument, as alternative to create a datagrid for thedata
argument.Many functions get a
verbose
argument, to silence warnings and messages.
Bug fixes
estimate_contrasts()
did not calculate contrasts for all levels when the predictor of interest was converted to a factor inside the model formula.Fixed issue in
estimate_contrasts()
whencomparsison
(formerly:method
) was not"pairwise"
.
modelbased 0.8.9
CRAN release: 2024-10-26
- Fixed issues related to updates of other easystats packages.
modelbased 0.8.5
CRAN release: 2022-08-18
Fixed issues with printing-methods.
Maintenance release to fix failing tests in CRAN checks.
modelbased 0.8.0
CRAN release: 2022-03-31
-
visualisation_matrix()
has now become an alias (alternative name) for theget_datagrid()
function, which is implemented in theinsight
package.
modelbased 0.7.2
CRAN release: 2022-02-27
- Patch release. This update fixes failing tests after updating the insight package.
modelbased 0.7.1
CRAN release: 2022-01-13
API changes:
levels
inestimate_contrasts
has been replaced bycontrast
.levels
andmodulate
are in general aggregated underat
.estimate_prediction()
deprecated in favour ofestimate_response()
.estimate_expectation()
now hasdata=NULL
by default.
modelbased 0.7.0
CRAN release: 2021-06-06
General overhaul of the package.
Entire refactoring of
visualisation_matrix()
.Option of standardizing/unstandardizing predictions, contrasts and means is now available via
standardize()
instead of via options.Introduction of
model_emmeans()
as a wrapper to easily createemmeans
objects.estimate_smooth()
transformed intodescribe_nonlinear()
and made more explicit.
modelbased 0.6.0
CRAN release: 2021-04-12
-
estimate_link()
now does not transform predictions on the response scale for GLMs. To keep the previous behaviour, use the newestimate_relation()
instead. This follows a change in how predictions are made internally (which now relies onget_predicted()
, so more details can be found there).
modelbased 0.3.0
CRAN release: 2020-09-26