|
276 | 276 | #' For finite mixture models (currently, only the [`brms::mixture()`] family |
277 | 277 | #' from package *brms* is supported), use `predict = "link"` to return predicted |
278 | 278 | #' values stratified by class membership. To predict the class membership, use |
279 | | -#' [`estimate_link()`]. |
| 279 | +#' `predict = "classification"`. See also |
| 280 | +#' [this vignette](https://easystats.github.io/modelbased/articles/practical_growthmixture.html). |
280 | 281 | #' |
281 | 282 | #' @section Equivalence tests (smallest effect size of interest): |
282 | 283 | #' |
|
285 | 286 | #' two, defining the lower and upper bounds of the region of equivalence (ROPE). |
286 | 287 | #' The output then includes an additional column `p_Equivalence`. A high p-value |
287 | 288 | #' (non-significant result) means we reject the assumption of practical |
288 | | -#' equivalence (i.e., a minimal important difference can be assumed, or that |
| 289 | +#' equivalence (and that a minimal important difference can be assumed, or that |
289 | 290 | #' the estimate of the predicted value, slope or contrast is likely outside the |
290 | 291 | #' ROPE). |
291 | 292 | #' |
|
356 | 357 | #' by = list(Sepal.Width = c(2, 4), Species = c("versicolor", "setosa")) |
357 | 358 | #' ) |
358 | 359 | #' |
| 360 | +#' # equivalence test: the null-hypothesis is that the estimate is outside |
| 361 | +#' # the equivalence bounds [-4.5, 4.5] |
| 362 | +#' estimate_means(model, by = "Species", equivalence = c(-4.5, 4.5)) |
| 363 | +#' |
359 | 364 | #' # Methods that can be applied to it: |
360 | 365 | #' means <- estimate_means(model, by = c("Species", "Sepal.Width = 0")) |
361 | 366 | #' |
|
0 commit comments