Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bootstrap type in parameters() #1021

Merged
merged 2 commits into from
Oct 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions R/bootstrap_parameters.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#' or `"all"` to compute all tests. For each "test", the corresponding
#' **bayestestR** function is called (e.g. [bayestestR::rope()] or
#' [bayestestR::p_direction()]) and its results included in the summary output.
#' @param ... Arguments passed to other methods, like [`bootstrap_model()`] or
#' [`bayestestR::describe_posterior()`].
#' @inheritParams bootstrap_model
#' @inheritParams bayestestR::describe_posterior
#'
Expand Down Expand Up @@ -40,6 +42,11 @@
#' b <- bootstrap_parameters(model)
#' print(b)
#'
#' # different type of bootstrapping
#' set.seed(2)
#' b <- bootstrap_parameters(model, type = "balanced")
#' print(b)
#'
#' est <- emmeans::emmeans(b, trt.vs.ctrl ~ Species)
#' print(model_parameters(est))
#' }
Expand Down
4 changes: 2 additions & 2 deletions R/p_function.R
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
#' (i.e. assumptions are taken as given). The unconditional interpretation (B),
#' however, questions all these assumptions.
#'
#' \if{html}{\cr \figure{unconditional_interpretation.png}{options: alt="Conditional versus unconditional interpretations of P-values"} \cr}

Check warning on line 65 in R/p_function.R

View workflow job for this annotation

GitHub Actions / lint-changed-files / lint-changed-files

file=R/p_function.R,line=65,col=121,[line_length_linter] Lines should not be more than 120 characters. This line is 140 characters.
#'
#' "Emphasizing unconditional interpretations helps avoid overconfident and
#' misleading inferences in light of uncertainties about the assumptions used
Expand Down Expand Up @@ -139,8 +139,8 @@
#' and Hjort confidence distribution school. However, if you view interval
#' estimates as being intervals of values being consistent with the data,
#' this comes close to the idea of (epistemic) probability. We do not believe that
#' these two pardigms contradict or exclude each other. Rather, the aim is to
#' emphasise one point of view or the other, i.e. to place the linguistic
#' these two paradigms contradict or exclude each other. Rather, the aim is to
#' emphasize one point of view or the other, i.e. to place the linguistic
#' nuances either on 'compatibility' or 'probability'.
#'
#' The main take-away is *not* to interpret p-values as dichotomous decisions
Expand Down
10 changes: 10 additions & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ Bundock
CFA
CMD
CNG
CRC
Cattell
Cattell's
CrossValidated
Curently
D'Agostino
DAS
DBSCAN
DG
DOI
DRR
Davison
Expand All @@ -41,6 +43,7 @@ DoFs
Dom
Dorie
Dupont
DV
EFA
EGAnet
ESS
Expand Down Expand Up @@ -80,8 +83,11 @@ Hornik
Isager
ICA
IRR
JB
JM
JRM
Jurs
KJ
KMO
Kenward
Korner
Expand Down Expand Up @@ -136,6 +142,10 @@ Rocklin
Rosseel
Rousseeuw
Routledge
Rothman
Scand
Senn
Statist
SBC
SDs
SEM
Expand Down
8 changes: 7 additions & 1 deletion man/bootstrap_parameters.Rd

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

4 changes: 2 additions & 2 deletions man/p_function.Rd

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

14 changes: 7 additions & 7 deletions man/parameters-package.Rd

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

Loading