Description Usage Arguments Value Note Examples
View source: R/analysis_robustness.R
Two alternative variants of the Bayesian proportion test in the primary
confirmatory analysis: frequentist proportion test (see robustness_nhst_analysis
),
and full-Bayesian hypothesis testing using parameter estimation (see robustness_bf_analysis
).
1 | analysis_robustness(confirmatory_results)
|
confirmatory_results |
list, output of the |
The function returns a list containing the results
of the frequentist proportion test and the Bayesian parameter estimation
as nested lists, the final inference of the robustness test as a character
vector, and the results of the confirmatory mixed effect regression confirmatory_mixed_effect
.
Robustness analysis results will not affect the conclusions of our study.
1 2 3 4 | # Running the primary confirmatory analysis
confirmatory_results <- analysis_confirmatory(df = example_m0)
# Running the robustness analysis
analysis_robustness(confirmatory_results = confirmatory_results)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.