Skip to content

Commit

Permalink
docs, pkgdown
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Sep 3, 2024
1 parent 2cc5dd3 commit 70c45c8
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 6 deletions.
5 changes: 3 additions & 2 deletions R/equivalence_test.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ bayestestR::equivalence_test
#' @inheritParams model_parameters.merMod
#' @inheritParams p_value
#'
#' @seealso For more details, see [bayestestR::equivalence_test()].
#' Further readings can be found in the references.
#' @seealso For more details, see [bayestestR::equivalence_test()]. Further
#' readings can be found in the references. See also [`p_significance()`] for
#' a unidirectional equivalence test.
#'
#' @details
#' In classical null hypothesis significance testing (NHST) within a frequentist
Expand Down
8 changes: 7 additions & 1 deletion R/p_significance.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@ bayestestR::p_significance
#' (***ps***), which can be conceptualized as a unidirectional equivalence test.
#' It returns the probability that an effect is above a given threshold
#' corresponding to a negligible effect in the median's direction, considering
#' a parameter's confidence interval.
#' a parameter's confidence interval. In comparison the the [`equivalence_test()`]
#' function, where the *SGPV* (second generation p-value) describes the proportion
#' of the confidence interval that is _inside_ the ROPE, the value returned by
#' `p_significance()` describes the _larger_ proportion of the confidence
#' interval that is _outside_ the ROPE. This makes `p_significance()` comparable
#' to [`bayestestR::p_direction()`], however, while `p_direction()` compares to
#' a point-null by default, `p_significance()` compares to a range-null.
#'
#' @param x A statistical model.
#' @inheritParams bayestestR::p_significance
Expand Down
5 changes: 3 additions & 2 deletions man/equivalence_test.lm.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion man/p_significance.lm.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pkgdown/_pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ reference:
- equivalence_test.lm
- p_calibrate
- p_function
- p_significance

- title: "Parameter Sampling"
contents:
Expand Down

0 comments on commit 70c45c8

Please sign in to comment.