|
129 | 129 | #' |
130 | 130 | #' - **pseudo** (*for 2-level (G)LMMs only*): In this (post-hoc) method, the |
131 | 131 | #' response and the predictor are standardized based on the level of prediction |
132 | | -#' (levels are detected with [performance::check_heterogeneity_bias()]): Predictors |
| 132 | +#' (levels are detected with [performance::check_group_variation()]): Predictors |
133 | 133 | #' are standardized based on their SD at level of prediction (see also |
134 | 134 | #' [datawizard::demean()]); The outcome (in linear LMMs) is standardized based |
135 | 135 | #' on a fitted random-intercept-model, where `sqrt(random-intercept-variance)` |
@@ -438,14 +438,17 @@ parameters <- model_parameters |
438 | 438 | #' `"pseudo"`. See 'Details' in [`standardize_parameters()`]. |
439 | 439 | #' **Importantly**: |
440 | 440 | #' - The `"refit"` method does *not* standardize categorical predictors (i.e. |
441 | | -#' factors), which may be a different behaviour compared to other R packages |
442 | | -#' (such as **lm.beta**) or other software packages (like SPSS). to mimic |
443 | | -#' such behaviours, either use `standardize="basic"` or standardize the data |
444 | | -#' with `datawizard::standardize(force=TRUE)` *before* fitting the model. |
| 441 | +#' factors), which may be a different behaviour compared to other R packages |
| 442 | +#' (such as **lm.beta**) or other software packages (like SPSS). to mimic |
| 443 | +#' such behaviours, either use `standardize="basic"` or standardize the data |
| 444 | +#' with `datawizard::standardize(force=TRUE)` *before* fitting the model. |
| 445 | +#' - By default, the response (dependent) variable is also standardized, *if |
| 446 | +#' applicable*. Set `include_response = FALSE` to avoid standardization of |
| 447 | +#' the response variable. See details in [`datawizard::standardize.default()`]. |
445 | 448 | #' - For mixed models, when using methods other than `"refit"`, only the fixed |
446 | | -#' effects will be standardized. |
| 449 | +#' effects will be standardized. |
447 | 450 | #' - Robust estimation (i.e., `vcov` set to a value other than `NULL`) of |
448 | | -#' standardized parameters only works when `standardize="refit"`. |
| 451 | +#' standardized parameters only works when `standardize="refit"`. |
449 | 452 | #' @param exponentiate Logical, indicating whether or not to exponentiate the |
450 | 453 | #' coefficients (and related confidence intervals). This is typical for |
451 | 454 | #' logistic regression, or more generally speaking, for models with log or |
|
0 commit comments