Published July 10, 2018
| Version 0.16.0
Software
Open
sjstats: Statistical Functions for Regression Models.
Description
General
- The S3-generics for functions like
hdi()
,rope()
,equi_test()
etc. are now more generic, and function usage for each supported object is now included in the documentation. - Following functions are now S3-generic:
icc()
,r2()
,p_value()
,se()
, andstd_beta()
. - Added
print()
-methods for some more functions, for a clearer output. - Revised
r2()
for mixed models (packages lme4, glmmTMB). The r-squared value should be much more precise now, and reports the marginal and conditional r-squared values. - Reduced package dependencies and removed apaTables and MBESS from suggested packages
stanmvreg
-models are now supported by many functions.
New functions
binned_resid()
to plot binned residuals for logistic regression models.error_rate()
to compute model quality for logistic regression models.auto_prior()
to quickly create automatically adjusted priors for brms-models.difficulty()
to compute the item difficulty.
Changes to functions
icc()
gets appd
-argument for Stan-models (brmsfit and stanreg), which performs a variance decomposition based on the posterior predictive distribution. This is the recommended way for non-Gaussian models.- For Stan-models (brmsfit and stanreg),
icc()
now also computes the HDI for the ICC and random-effect variances. Use theprob
-argument to specify the limits of this interval. link_inverse()
andmodel_family()
now support clmm-models (package ordinal) and glmRob and lmRob-models (package robust).model_family()
gets amulti.resp
-argument, to return a list of family-informations for multivariate-response models (of classbrmsfit
orstanmvreg
).link_inverse()
gets amulti.resp
-argument, to return a list of link-inverse-functions for multivariate-response models (of classbrmsfit
orstanmvreg
).p_value()
now supports rlm-models (package MASS).check_assumptions()
for single models withas.logical = FALSE
now has a nice print-method.eta_sq()
andomega_sq()
now also work for repeated-measure Anovas, i.e. Anova with error term (requires broom > 0.4.5).
Bug fixes
model_frame()
andvar_names()
now correctly cleans nested patterns likeoffset(log(x + 10))
from column names.model_frame()
now returns proper column names from gamm4 models.model_frame()
did not work when the model frame had spline-terms and weights.- Fix issue in
robust()
whenexponentiate = TRUE
andconf.int = FALSE
. reliab_test()
returned an error when the provided data frame has less than three columns, instead of returningNULL
.
Files
strengejacke/sjstats-0.16.0.zip
Files
(778.7 kB)
Name | Size | Download all |
---|---|---|
md5:6d0ba59bcb5b01c5b105b4dd3d2cb300
|
778.7 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/strengejacke/sjstats/tree/0.16.0 (URL)