Skip to content

insight 0.20.2

Compare
Choose a tag to compare
@strengejacke strengejacke released this 13 Jul 16:27
· 74 commits to main since this release
94af4cb

New supported models

  • Support for models of class glmgee (package glmtoolbox).

  • Support for models of class svy2lme (package svylme).

General

  • Massive overhaul of get_variance(). The function should be now more
    accurate for different distributional families, in particular for
    mixed regression models with Beta family.

  • Improved accuracy of singularity-checks in get_variance().

  • get_variance() gets a few new arguments:

    • null_model, to provide a null-model to be used for the calculation of
      random effect variances. If NULL, the null-model is computed internally.
      This argument is optional, but may be useful to save time, or when the
      null-model cannot be calculated internally.

    • approximation, indicating the approximation method for the
      distribution-specific (observation level, or residual) variance.

    • model_component, for models that can have a zero-inflation component,
      specify for which component variances should be returned. By default, both
      the conditional and the zero-inflation component are taken into account.

  • format_alert() and format_warning() get an immediate argument, to output
    warnings immediately.

  • find_terms() and find_transformation() now better cope with inverse
    transformations of the response value, such as 1/y.

  • get_transformation() now returns more transformations for power-transformed
    response variables.

  • model_info() for MixMod objects from package GLMMadaptive now recognize
    zero-inflation and hurdle models for custom families.

Bug fixes

  • null_model() now correctly handles zero-inflated models from package
    glmmTMB.

  • Fixed issue in null_model() for models from package GLMMadaptive.

  • Fixed issues in link_inverse() and link_function() for models of class
    gamlss from LOGNO() family.