-
standardize_parameters()(and by extensionmodel_parameters()) with any of the post-hoc standardization methods no longer standardizes the"(Intercept)"parameter - instead setting it toNA. -
standardize_parameters()with any of the post-hoc standardization methods sets all inferential statistics (z, p, etc...) for the"(Intercept)"and any otherNAparameters toNA. -
model_parameters()now supports objects from the lavaan.mi package. -
Improved performance of
model_parameters()for largemgcv::gam()models that include random effects when using the newre_testargument (e.g., settingre_test = FALSEto skip expensive random-effect tests). Default behavior (withre_test = TRUE) is unchanged.
-
Fixed issue where wrong (non-robust) standard errors were calculated for
coxphandsvycoxphobjects. -
Fixed issues with Tukey-p-value adjustment for emmeans objects.
-
Fixed unintended removal of columns in
model_parameters()for objects from package marginaleffects. This happened, when a variable in a model was namedType. -
Fixed issue in
model_parameters()forfisher.test()with tables larger than 2x2.
-
fixed bug in
standardize_info(<fixest>)that was preventingstandardise_parameters()from working forfixestmodels. -
equivalence_test()gets methods for objects from the modelbased package. -
Improved support for objects from package survey.
-
Added support for package lcmm.
-
Added
ci_methodoptions"kenward-roger"and"satterthwaite"for models from package glmmTMB. Consequently,se_kenward(),se_satterthwaite(),ci_kenward(),ci_satterthwaite(),p_value_kenward()andp_value_satterthwaite()can now be used withglmmTMBmodels.
- Updates tests to resolve issues with the latest version of the fixest package.
-
Methods for glmmTMB objects (
ci(),model_parameters(),standard_error()) now support thevcovargument to compute robust standard errors. -
model_parameters()for marginaleffects objects is now more robust in detecting Bayesian models. -
Modified code base to address changes in the marginaleffects package from version 0.29.0 onwards.
-
Fixed issue with
equivalence_test()for models of classglmmTMBwithbeta_family(). -
exponentiate = TRUEinmodel_parameters()did not exponentiate location and scale parameters for models from package ordinal.
- The experimental
print_table()function was removed. The aim of this function was to test the implementation of thetinytablebackend for printing. Now,tinytableis fully supported byinsight::export_table()and thereby also by the variousprint()resp.display()methods for model parameters.
-
All
print_html()methods get anengineargument, to either use thegtpackage or thetinytablepackage for printing HTML tables. Sincetinytablenot only produces HTML tables, but rather different formats depending on the environment,print_html()may also generate a markdown table. Thus, the genericdisplay()method can be used, too, which has aformatargument that also supports"tt"fortinytable. -
Improved support for coxme models in
model_parameters(). Random effects and group level estimates are now returned as well.
- Fixed issue with models of class
selectionwith multiple outcomes.
-
The
standardizeargument infactor_analysis()now defaults toFALSE. -
The
rotationargument infactor_analysis()now defaults to"oblimin", because the former default of"none"rarely makes sense in the context of factor analysis. If you want to use no rotation, please setrotation = "none". -
The
corargument inn_factors()was renamed intocorrelation_matrix. Infactor_analysis(), thecorargument was completely removed to avoid naming collision with thecorargument ofpsych::fa(), which now users can pass thecorargument topsych::fa()when usingfactor_analysis().
-
factor_analysis()gets a.matrixmethod, including a new argumentn_obs(which can be a single value or a matrix of pairwise counts), to compute factor analysis for a correlation matrix or covariance matrix. -
New function
factor_scores()to extract factor scores from EFA (psych::fa()orfactor_analysis()). -
Added and/or improved print-methods for all functions around PCA, FA and Omega.
-
Improved efficiency in
model_parameters()for models from packages brms and rstanarm. -
p_adjustformodel_parameters()gets a new options,"sup-t", to calculate simultaneous confidence intervals.
-
bootstrap_model()did not work for intercept-only models. This has been fixed. -
Fixed issue with printing labels as pretty names for models from package pscl, i.e.
print(model_parameters(model), pretty_names = "labels")now works as expected.
-
The
effectsargument inmodel_parameters()for classesmerMod,glmmTMB,brmsfitandstanreggets an additional"grouplevel"option, to return the group-level estimates for random effects. -
model_parameters()for Anova-objects gains ap_adjustargument, to apply p-adjustment where possible. Furthermore, for models from package afex, where p-adjustment was applied during model-fitting, the correct p-values are now returned (before, unadjusted p-values were returned in some cases). -
Revised code-base to address changes in latest insight update. Dealing with larger models (many parameters, many posterior samples) from packages brms and rstanarm is more efficient now. Furthermore, the options for the
effectsargument have a new behaviour."all"only returns fixed effects and random effects variance components, but no longer the group level estimates. Useeffects = "full"to return all parameters. This change is mainly to be more flexible and gain more efficiency for models with many parameters and / or many posterior draws. -
model_parameters()for Anova objects gains aninclude_interceptargument, to include intercepts in the Anova table, where possible.
-
model_parameters()for objects from the marginaleffects packages now callsbayestestR::describe_posterior()to process Bayesian models. This offers more flexibility in summarizing the posterior draws from marginaleffects. -
model_parameters()now shows a more informative coefficient name for binomial models with probit-link. -
Argument
wb_componentnow defaults toFALSE. -
Improved support and printing for tests from package WRS2.
-
Fixed printing issue with
model_parameters()forhtestobjects when printing into markdown or HTML format. -
Fixed printing issue with
model_parameters()for mixed models wheninclude_reference = TRUE.
- The
effectsargument inmodel_parameters()for classesmerMod,glmmTMB,brmsfitandstanreggets an additional"random_total"option, to return the overall coefficient for random effects (sum of fixed and random effects).
- Fixed issue in
model_parameters()for objects from package marginaleffects where columns were renamed when their names equaled to certain reserved words.
-
model_parameters()now supports objects of classsurvfit. -
model_parameters()now gives informative error messages for more model classes than before when the function fails to extract model parameters. -
Improved information for credible intervals and sampling method from output of
model_parameters()for Bayesian models.
-
Fixed issue with
model_parameters(<aovlist>, table_wide = TRUE)with complex error structures ( #556 ) -
Fixed issue when printing
model_parameters()with models frommgcv::gam(). -
Fixed issues due to breaking changes in the latest release of the datawizard package.
-
Fixed issue with wrong column-header in printed output of
model_parameters()forMASS::polr()models with probit-link.
- The
robustargument, which was deprecated for a long time, is now no longer supported. Please usevcovandvcov_argsinstead.
-
Added support for
coxph.panelmodels. -
Added support for
anova()from models of the survey package. -
Documentation was re-organized and clarified, and the index reduced by removing redundant class-documentation.
-
Fixed bug in
p_value()for objects of classaveraging. -
Fixed bug when extracting 'pretty labels' for model parameters, which could fail when predictors were character vectors.
-
Fixed bug with inaccurate standard errors for models from package fixest that used the
sunab()function in the formula.
-
Argument
summaryinmodel_parameters()is now deprecated. Please useinclude_infoinstead. -
Changed output style for the included additional information on model formula, sigma and R2 when printing model parameters. This information now also includes the RMSE.
-
Used more accurate analytic approach to calculate normal distributions for the SGPV in
equivalence_test()and used inp_significance(). -
Added
p_direction()methods for frequentist models. This is a convenient way to test the direction of the effect, which formerly was already (and still is) possible withpd = TRUEinmodel_parameters(). -
p_function(),p_significance()andequivalence_test()get avcovandvcov_argsargument, so that results can be based on robust standard errors and confidence intervals. -
equivalence_test()andp_significance()work with objects returned bymodel_parameters(). -
pool_parameters()now better deals with models with multiple components (e.g. zero-inflation or dispersion). -
Revision / enhancement of some documentation.
-
Updated glmmTMB methods to work with the latest version of the package.
-
Improved printing for
simulate_parameters()for models from packages mclogit. -
print()forcompare_parameters()now also puts factor levels into square brackets, like theprint()method formodel_parameters(). -
include_referencenow only adds the reference category of factors to the parameters table when those factors have appropriate contrasts (treatment or SAS contrasts).
- Arguments like
digitsetc. were ignored in `model_parameters() for objects from the marginaleffects package.
- Support for models
glm_weightit,multinom_weightitandordinal_weightitfrom package WeightIt.
-
Added
p_significance()methods for frequentist models. -
Methods for
degrees_of_freedom()have been removed.degrees_of_freedom()now callsinsight::get_df(). -
model_parameters()for data frames anddrawsobjects from package posterior also gets anexponentiateargument.
- Fixed issue with warning for spuriously high coefficients for Stan-models (non-Gaussian).
- Revised calculation of the second generation p-value (SGPV) in
equivalence_test(), which should now be more accurate related to the proportion of the interval that falls inside the ROPE. Formerly, the confidence interval was simply treated as uniformly distributed when calculating the SGPV, now the interval is assumed to be normally distributed.
- Support for
svy2lmemodels from package svylme.
standardize_parameters()now also prettifies labels of factors.
-
Fixed issue with
equivalence_test()when ROPE range was not symmetrically centered around zero (e.g.,range = c(-99, 0.1)). -
model_parameters()foranova()from mixed models now also includes the denominator degrees of freedom in the output (df_error). -
print(..., pretty_names = "labels")for tobit-models from package AER now include value labels, if available. -
Patch release, to ensure that performance runs with older version of datawizard on Mac OS X with R (old-release).
-
Deprecated arguments in
model_parameters()forhtest,aovandBFBayesFactorobjects were removed. -
Argument
effectsize_typeis deprecated. Please usees_typenow. This change was necessary to avoid conflicts with partial matching of argument names (here:effects).
-
Support for objects from
stats::Box.test(). -
Support for
glmgeemodels from package glmtoolbox.
-
Fixed edge case in
predict()forfactor_analysis(). -
Fixed wrong ORCID in
DESCRIPTION.
- Fixed issues related to latest release from marginaleffects.
-
Fixes issue in
compare_parameters()for models from package blme. -
Fixed conflict in
model_parameters()when bothinclude_reference = TRUEandpretty_names = "labels"were used. Now, pretty labels are correctly updated and preserved.
- Support for models of class
serp(serp).
-
include_referencecan now directly be set toTRUEinmodel_parameters()and doesn't require a call toprint()anymore. -
compare_parameters()gains ainclude_referenceargument, to add the reference category of categorical predictors to the parameters table. -
print_md()forcompare_parameters()now by default uses the tinytable package to create markdown tables. This allows better control for column heading spanning over multiple columns.
-
Fixed issue with parameter names for
model_parameters()and objects from package epiR. -
Fixed issue with
exponentiate = TRUEformodel_parameters()with models of classclmm(package ordinal), when model had nocomponentcolumn (e.g., no scale or location parameters were returned). -
include_referencenow also works when factor were created "on-the-fly" inside the model formula (i.e.y ~ as.factor(x)).
- Fixes CRAN check errors related to the changes in the latest update of marginaleffects.
- The
exponentiateargument ofmodel_parameters()formarginaleffects::predictions()now defaults toFALSE, in line with all the othermodel_parameters()methods.
-
model_parameters()for models of package survey now gives informative messages whenbootstrap = TRUE(which is currently not supported). -
n_factors()now also returns the explained variance for the number of factors as attributes. -
model_parameters()for objects of package metafor now warns when unsupported arguments (likevcov) are used. -
Improved documentation for
pool_parameters().
-
print(include_reference = TRUE)formodel_parameters()did not work when run inside a pipe-chain. -
Fixed issues with
format()for objects returned bycompare_parameters()that included mixed models.
-
principal_components()andfactor_analysis()now also work when argumentn = 1. -
print_md()forcompare_parameters()now gains more arguments, similar to theprint()method. -
bootstrap_parameters()andmodel_parameters()now accept bootstrapped samples returned bybootstrap_model(). -
The
print()method formodel_parameters()now also yields a warning for models with logit-links when possible issues with (quasi) complete separation occur.
-
Fixed issue in
print_html()for objects from package ggeffects. -
Fixed issues for
nnet::multinom()with wide-format response variables (usingcbind()). -
Minor fixes for
print_html()method formodel_parameters(). -
Robust standard errors (argument
vcov) now works forplmmodels.
-
Minor improvements to factor analysis functions.
-
The
ci_digitsargument of theprint()method formodel_parameters()now defaults to the same value ofdigits. -
model_parameters()for objects from package marginaleffects now also accepts theexponentiateargument. -
The
print(),print_html(),print_md()andformat()methods formodel_parameters()get aninclude_referenceargument, to add the reference category of categorical predictors to the parameters table.
-
Fixed issue with wrong calculation of test-statistic and p-values in
model_parameters()forfixestmodels. -
Fixed issue with wrong column header for
glmmodels withfamily = binomial("identiy"). -
Minor fixes for
dominance_analysis().
- Added support for models of class
nestedLogit(nestedLogit).
-
model_parameters()now also prints correct "pretty names" when predictors where converted to ordered factors inside formulas, e.g.y ~ as.ordered(x). -
model_parameters()now prints a message when thevcovargument is provided andci_methodis explicitly set to"profile". Else, whenvcovis notNULLandci_methodisNULL, it defaults to"wald", to return confidence intervals based on robust standard errors.
- It is no longer possible to calculate Satterthwaite-approximated degrees of
freedom for mixed models from package nlme. This was based on the
lavaSearch2 package, which no longer seems to support models of class
lme.
- Improved support for objects of class
mipofor models with ordinal or categorical outcome.
-
Added support for models of class
hglm(hglm),mblogit(mclogit),fixest_multi(fixest), andphylolm/phyloglm(phylolm). -
as.data.framemethods for extracting posterior draws viabootstrap_model()have been retired. Instead, directly usingbootstrap_model()is recommended.
-
equivalence_test()gets a method forggeffectsobjects from package ggeffects. -
equivalence_test()now prints theSGPVcolumn instead of% in ROPE. This is because the former% in ROPEactually was equivalent to the second generation p-value (SGPV) and refers to the proportion of the range of the confidence interval that is covered by the ROPE. However,% in ROPEdid not refer to the probability mass of the underlying distribution of a confidence interval that was covered by the ROPE, hence the old column name was a bit misleading. -
Fixed issue in
model_parameters.ggeffects()to address forthcoming changes in the ggeffects package.
-
When an invalid or not supported value for the
p_adjustargument inmodel_parameters()is provided, the valid options were not shown in correct capital letters, where appropriate. -
Fixed bug in
cluster_analysis()forinclude_factors = TRUE. -
Fixed warning in
model_parameters()andci()for models from package glmmTMB whenci_methodwas either"profile"or"uniroot".
-
Reduce unnecessary warnings.
-
The deprecated argument
df_methodinmodel_parameters()was removed. -
Output from
model_parameters()for objects returned bymanova()andcar::Manova()is now more consistent.
-
Fixed issues in tests for
mmrmmodels. -
Fixed issue in
bootstrap_model()for models of classglmmTMBwith dispersion parameters. -
Fixed failing examples.
- Added support for models of class
flicandflac(logistf),mmrm(mmrm).
-
model_parameters()now includes aGroupcolumn forstanregorbrmsfitmodels with random effects. -
The
print()method formodel_parameters()now uses the same pattern to print random effect variances for Bayesian models as for frequentist models.
-
Fixed issue with the
print()method forcompare_parameters(), which duplicated random effects parameters rows in some edge cases. -
Fixed issue with the
print()method forcompare_parameters(), which didn't work properly whenci=NULL.
-
The deprecated argument
df_methodinmodel_parameters()is now defunct and throws an error when used. -
The deprecated functions
ci_robust(),p_robust()andstandard_error_robusthave been removed. These were superseded by thevcovargument inci(),p_value(), andstandard_error(), respectively. -
The
styleargument incompare_parameters()was renamed intoselect.
-
p_function(), to print and plot p-values and compatibility (confidence) intervals for statistical models, at different levels. This allows to see which estimates are most compatible with the model at various compatibility levels. -
p_calibrate(), to compute calibrated p-values.
-
model_parameters()andcompare_parameters()now use the unicode character for the multiplication-sign as interaction mark (i.e.\u00d7). Useoptions(parameters_interaction = <value>)or the argumentinteraction_markto use a different character as interaction mark. -
The
selectargument incompare_parameters(), which is used to control the table column elements, now supports an experimental glue-like syntax. See this vignette Printing Model Parameters. Furthermore, theselectargument can also be used in theprint()method formodel_parameters(). -
print_html()gets afont_sizeandline_paddingargument to tweak the appearance of HTML tables. Furthermore, argumentsselectandcolumn_labelsare new, to customize the column layout of tables. See examples in?display. -
Consolidation of vignettes on standardization of model parameters.
-
Minor speed improvements.
-
model_parameters().BFBayesFactorno longer drops theBFcolumn if the Bayes factor isNA. -
The
print()anddisplay()methods formodel_parameters()from Bayesian models now pass the...toinsight::format_table(), allowing extra arguments to be recognized. -
Fixed footer message regarding the approximation method for CU and p-values for mixed models.
-
Fixed issues in the
print()method forcompare_parameters()with mixed models, when some models contained within-between components (seewb_component) and others did not.
-
Arguments that calculate effectsize in
model_parameters()forhtest, Anova objects and objects of classBFBayesFactorwere revised. Instead of single arguments for the different effectsizes, there is now one argument,effectsize_type. The reason behind this change is that meanwhile many new type of effectsizes have been added to the effectsize package, and the generic argument allows to make use of those effect sizes. -
The attribute name in PCA / EFA has been changed from
data_settodataset. -
The minimum needed R version has been bumped to
3.6. -
Removed deprecated argument
parametersfrommodel_parameters(). -
standard_error_robust(),ci_robust()andp_value_robust()are now deprecated and superseded by thevcovandvcov_argsarguments in the related methodsstandard_error(),ci()andp_value(), respectively. -
Following functions were moved from package parameters to performance:
check_sphericity_bartlett(),check_kmo(),check_factorstructure()andcheck_clusterstructure().
-
Added
sparseoption toprincipal_components()for sparse PCA. -
The
pretty_namesargument from theprint()method can now also be"labels", which will then use variable and value labels (if data is labelled) as pretty names. If no labels were found, default pretty names are used. -
bootstrap_model()for models of classglmmTMBandmerModgains aclusterargument to specify optional clusters when theparalleloption is set to"snow". -
P-value adjustment (argument
p_adjustinmodel_parameters()) is now performed after potential parameters were removed (usingkeepordrop), so adjusted p-values is only applied to the parameters of interest. -
Robust standard errors are now supported for
fixestmodels with thevcovargument. -
print()formodel_parameters()gains afooterargument, which can be used to suppress the footer in the output. Further more, iffooter = ""orfooter = FALSEinprint_md(), no footer is printed. -
simulate_model()andsimulate_parameters()now pass...toinsight::get_varcov(), to allow simulated draws to be based on heteroscedasticity consistent variance covariance matrices. -
The
print()method forcompare_parameters()was improved for models with multiple components (e.g., mixed models with fixed and random effects, or models with count- and zero-inflation parts). For these models,compare_parameters(effects = "all", component = "all")prints more nicely.
- Fix erroneous warning for p-value adjustments when the differences between original and adjusted p-values were very small.
- New function
dominance_analysis(), to compute dominance analysis statistics and designations.
- Argument
ci_randominmodel_parameters()defaults toNULL. It uses a heuristic to determine if random effects confidence intervals are likely to take a long time to compute, and automatically includes or excludes those confidence intervals. Setci_randomtoTRUEorFALSEto explicitly calculate or omit confidence intervals for random effects.
-
Fix issues in
pool_parameters()for certain models with special components (likeMASS::polr()), that failed when argumentcomponentwas set to"conditional"(the default). -
Fix issues in
model_parameters()for multiple imputation models from package Hmisc.
-
It is now possible to hide messages about CI method below tables by specifying
options("parameters_cimethod" = FALSE)(#722). By default, these messages are displayed. -
model_parameters()now supports objects from package marginaleffects and objects returned bycar::linearHypothesis(). -
Added
predict()method tocluster_metaobjects. -
Reorganization of docs for
model_parameters().
-
model_parameters()now also includes standard errors and confidence intervals for slope-slope-correlations of random effects variances. -
model_parameters()for mixed models gains aci_randomargument, to toggle whether confidence intervals for random effects parameters should also be computed. Set toFALSEif calculation of confidence intervals for random effects parameters takes too long. -
ci()for glmmTMB models withmethod = "profile"is now more robust.
-
Fixed issue with glmmTMB models when calculating confidence intervals for random effects failed due to singular fits.
-
display()now correctly includes custom text and additional information in the footer (#722). -
Fixed issue with argument
column_namesincompare_parameters()when strings contained characters that needed to be escaped for regular expressions. -
Fixed issues with unknown arguments in
model_parameters()for lavaan models whenstandardize = TRUE.
model_parameters()now no longer treats data frame inputs as posterior samples. Rather, for data frames, nowNULLis returned. If you want to treat a data frame as posterior samples, set the new argumentas_draws = TRUE.
-
sort_parameters()to sort model parameters by coefficient values. -
standardize_parameters(),standardize_info()andstandardise_posteriors()to standardize model parameters.
-
model_parameters()for mixed models from package lme4 now also reports confidence intervals for random effect variances by default. Formerly, CIs were only included whenci_methodwas"profile"or"boot". The merDeriv package is required for this feature. -
model_parameters()forhtestobjects now also supports models fromvar.test(). -
Improved support for
anova.rmsmodels inmodel_parameters(). -
model_parameters()now supportsdrawsobjects from package posterior anddeltaMethodsobjects from package car. -
model_parameters()now checks arguments and informs the user if specific given arguments are not supported for that model class (e.g.,"vcov"is currently not supported for models of class glmmTMB).
-
The
vcovargument, used for computing robust standard errors, did not calculate the correct p-values and confidence intervals for models of classlme. -
pool_parameters()did not save all relevant model information as attributes. -
model_parameters()for models from package glmmTMB did not work whenexponentiate = TRUEand model contained a dispersion parameter that was different than sigma. Furthermore, exponentiating falsely exponentiated the dispersion parameter.
-
Added options to set defaults for different arguments. Currently supported:
options("parameters_summary" = TRUE/FALSE), which sets the default value for thesummaryargument inmodel_parameters()for non-mixed models.options("parameters_mixed_summary" = TRUE/FALSE), which sets the default value for thesummaryargument inmodel_parameters()for mixed models.
-
Minor improvements for
print()methods. -
Robust uncertainty estimates:
- The
vcov_estimation,vcov_type, androbustarguments are deprecated in these functions:model_parameters(),parameters(),standard_error(),p_value(), andci(). They are replaced by thevcovandvcov_argsarguments. - The
standard_error_robust()andp_value_robust()functions are superseded by thevcovandvcov_argsarguments of thestandard_error()andp_value()functions. - Vignette: https://easystats.github.io/parameters/articles/model_parameters_robust.html
- The
-
Fixed minor issues and edge cases in
n_clusters()and related cluster functions. -
Fixed issue in
p_value()that returned wrong p-values forfixest::feols().
-
Improved speed performance for
model_parameters(), in particular for glm's and mixed models where random effect variances were calculated. -
Added more options for printing
model_parameters(). See also revised vignette: https://easystats.github.io/parameters/articles/model_parameters_print.html
-
model_parameters()for mixed models gains aninclude_sigmaargument. IfTRUE, adds the residual variance, computed from the random effects variances, as an attribute to the returned data frame. Including sigma was the default behaviour, but now defaults toFALSEand is only included wheninclude_sigma = TRUE, because the calculation was very time consuming. -
model_parameters()formerModmodels now also computes CIs for the random SD parameters whenci_method="boot"(previously, this was only possible whenci_methodwas"profile"). -
model_parameters()forglmmTMBmodels now computes CIs for the random SD parameters. Note that these are based on a Wald-z-distribution. -
Similar to
model_parameters.htest(), themodel_parameters.BFBayesFactor()method gainscohens_dandcramers_varguments to control if you need to add frequentist effect size estimates to the returned summary data frame. Previously, this was done by default. -
Column name for coefficients from emmeans objects are now more specific.
-
model_prameters()forMixModobjects (package GLMMadaptive) gains arobustargument, to compute robust standard errors.
-
Fixed bug with
ci()for classmerModwhenmethod="boot". -
Fixed issue with correct association of components for ordinal models of classes
clmandclm2. -
Fixed issues in
random_parameters()andmodel_parameters()for mixed models without random intercept. -
Confidence intervals for random parameters in
model_parameters()failed for (some?)glmermodels. -
Fix issue with default
ci_typeincompare_parameters()for Bayesian models.
-
Following functions were moved to the new datawizard package and are now re-exported from parameters package:
-
center() -
convert_data_to_numeric() -
data_partition() -
demean()(and its aliasesdegroup()anddetrend()) -
kurtosis() -
rescale_weights() -
skewness() -
smoothness()
-
Note that these functions will be removed in the next release of parameters package and they are currently being re-exported only as a convenience for the package developers. This release should provide them with time to make the necessary changes before this breaking change is implemented.
-
Following functions were moved to the performance package:
-
check_heterogeneity() -
check_multimodal()
-
-
The handling to approximate the degrees of freedom in
model_parameters(),ci()andp_value()was revised and should now be more consistent. Some bugs related to the previous computation of confidence intervals and p-values have been fixed. Now it is possible to change the method to approximate degrees of freedom for CIs and p-values using theci_method, resp.methodargument. This change has been documented in detail in?model_parameters, and online here: https://easystats.github.io/parameters/reference/model_parameters.html -
Minor changes to
print()for glmmTMB with dispersion parameter. -
Added vignette on printing options for model parameters.
-
The
df_methodargument inmodel_parameters()is deprecated. Please useci_methodnow. -
model_parameters()withstandardize = "refit"now returns random effects from the standardized model. -
model_parameters()andci()forlmerModmodels gain a"residuals"option for theci_method(resp.method) argument, to explicitly calculate confidence intervals based on the residual degrees of freedom, when present. -
model_parameters()supports following new objects:trimcibt,wmcpAKP,dep.effect(in WRS2 package),systemfit -
model_parameters()gains a new argumenttable_widefor ANOVA tables. This can be helpful for users who may wish to report ANOVA table in wide format (i.e., with numerator and denominator degrees of freedom on the same row). -
model_parameters()gains two new arguments,keepanddrop.keepis the new names for the formerparametersargument and can be used to filter parameters. Whilekeepselects those parameters whose names match the regular expression pattern defined inkeep,dropis the counterpart and excludes matching parameter names. -
When
model_parameters()is called withverbose = TRUE, andci_methodis not the default value, the printed output includes a message indicating which approximation-method for degrees of freedom was used. -
model_parameters()for mixed models withci_method = "profilecomputes (profiled) confidence intervals for both fixed and random effects. Thus,ci_method = "profileallows to add confidence intervals to the random effect variances. -
model_parameters()should longer fail for supported model classes when robust standard errors are not available.
-
n_factors()the methods based on fit indices have been fixed and can be included separately (package = "fit"). Also added an_maxargument to crop the output. -
compare_parameters()now also accepts a list of model objects. -
describe_distribution()getsverboseargument to toggle warnings and messages. -
format_parameters()removes dots and underscores from parameter names, to make these more "human readable". -
The experimental calculation of p-values in
equivalence_test()was replaced by a proper calculation p-values. The argumentp_valuewas removed and p-values are now always included. -
Minor improvements to
print(),print_html()andprint_md().
-
The random effects returned by
model_parameters()mistakenly displayed the residuals standard deviation as square-root of the residual SD. -
Fixed issue with
model_parameters()for brmsfit objects that model standard errors (i.e. for meta-analysis). -
Fixed issue in
model_parametersforlmerModmodels that, by default, returned residual degrees of freedom in the statistic column, but confidence intervals were based onInfdegrees of freedom instead. -
Fixed issue in
ci_satterthwaite(), which usedInfdegrees of freedom instead of the Satterthwaite approximation. -
Fixed issue in
model_parameters.mlm()when model contained interaction terms. -
Fixed issue in
model_parameters.rma()when model contained interaction terms. -
Fixed sign error for
model_parameters.htest()for objects created witht.test.formula()(issue #552) -
Fixed issue when computing random effect variances in
model_parameters()for mixed models with categorical random slopes.
-
check_sphericity()has been renamed intocheck_sphericity_bartlett(). -
Removed deprecated arguments.
-
model_parameters()for bootstrapped samples used in emmeans now treats the bootstrap samples as samples from posterior distributions (Bayesian models).
SemiParBIV(GJRM),selection(sampleSelection),htestfrom the survey package,pgmm(plm).
- Performance improvements for models from package survey.
- Added a
summary()method formodel_parameters(), which is a convenient shortcut forprint(..., select = "minimal").
-
model_parameters()gains aparametersargument, which takes a regular expression as string, to select specific parameters from the returned data frame. -
print()formodel_parameters()andcompare_parameters()gains agroupsargument, to group parameters in the output. Furthermore,groupscan be used directly as argument inmodel_parameters()andcompare_parameters()and will be passed to theprint()method. -
model_parameters()for ANOVAs now saves the type as attribute and prints this information as footer in the output as well. -
model_parameters()for htest-objects now saves the alternative hypothesis as attribute and prints this information as footer in the output as well. -
model_parameters()passes argumentstype,parallelandn_cpusdown tobootstrap_model()whenbootstrap = TRUE.
-
bootstrap_models()for merMod and glmmTMB objects gains further arguments to set the type of bootstrapping and to allow parallel computing. -
bootstrap_parameters()gains theci_methodtype"bci", to compute bias-corrected and accelerated bootstrapped intervals. -
ci()forsvyglmgains amethodargument.
-
Fixed issue in
model_parameters()for emmGrid objects with Bayesian models. -
Arguments
digits,ci_digitsandp_digitswere ignored forprint()and only worked when used in the call tomodel_parameters()directly.
- Revised and improved the
print()method formodel_parameters().
blrm(rmsb),AKP,med1way,robtab(WRS2),epi.2by2(epiR),mjoint(joineRML),mhurdle(mhurdle),sarlm(spatialreg),model_fit(tidymodels),BGGM(BGGM),mvord(mvord)
-
model_parameters()forblavaanmodels is now fully treated as Bayesian model and thus relies on the functions from bayestestR (i.e. ROPE, Rhat or ESS are reported) . -
The
effects-argument frommodel_parameters()for mixed models was revised and now shows the random effects variances by default (same functionality asrandom_parameters(), but mimicking the behaviour frombroom.mixed::tidy()). When thegroup_levelargument is set toTRUE, the conditional modes (BLUPs) of the random effects are shown. -
model_parameters()for mixed models now returns anEffectscolumn even when there is just one type of "effects", to mimic the behaviour frombroom.mixed::tidy(). In conjunction withstandardize_names()users can get the same column names as intidy()formodel_parameters()objects. -
model_parameters()for t-tests now uses the group values as column names. -
print()formodel_parameters()gains azap_smallargument, to avoid scientific notation for very small numbers. Instead,zap_smallforces to round to the specified number of digits. -
To be internally consistent, the degrees of freedom column for
lqm(m)andcgam(m)objects (with t-statistic) is calleddf_error. -
model_parameters()gains asummaryargument to add summary information about the model to printed outputs. -
Minor improvements for models from quantreg.
-
model_parameterssupports rank-biserial, rank epsilon-squared, and Kendall's W as effect size measures forwilcox.test(),kruskal.test, andfriedman.test, respectively.
describe_distribution()gets aquartilesargument to include 25th and 75th quartiles of a variable.
-
Fixed issue with non-initialized argument
styleindisplay()forcompare_parameters(). -
Make
print()forcompare_parameters()work with objects that have "simple" column names for confidence intervals with missing CI-level (i.e. when column is named"CI"instead of, say,"95% CI"). -
Fixed issue with
p_adjustinmodel_parameters(), which did not work for adjustment-methods"BY"and"BH". -
Fixed issue with
show_sigmainprint()formodel_parameters(). -
Fixed issue in
model_parameters()with incorrect order of degrees of freedom.
-
Roll-back R dependency to R >= 3.4.
-
Bootstrapped estimates (from
bootstrap_model()orbootstrap_parameters()) can be passed toemmeansto obtain bootstrapped estimates, contrasts, simple slopes (etc) and their CIs.- These can then be passed to
model_parameters()and related functions to obtain standard errors, p-values, etc.
- These can then be passed to
-
model_parameters()now always returns the confidence level for as additionalCIcolumn. -
The
ruleargument inequivalenct_test()defaults to"classic".
crr(cmprsk),leveneTest()(car),varest(vars),ergm(ergm),btergm(btergm),Rchoice(Rchoice),garch(tseries)
compare_parameters()(and its aliascompare_models()) to show / print parameters of multiple models in one table.
-
Estimation of bootstrapped p-values has been re-written to be more accurate.
-
model_parameters()for mixed models gains aneffects-argument, to return fixed, random or both fixed and random effects parameters. -
Revised printing for
model_parameters()for metafor models. -
model_parameters()for metafor models now recognized confidence levels specified in the function call (via argumentlevel). -
Improved support for effect sizes in
model_parameters()from anova objects.
-
Fixed edge case when formatting parameters from polynomial terms with many degrees.
-
Fixed issue with random sampling and dropped factor levels in
bootstrap_model().