Skip to contents

Shiny App

Functions to use the shiny app

run_app()
Run the Shiny Application

Sample size planning functions for t-tests

Functions to determine the sample size for two-group designs

ssp_aipe()
Determine sample size with Accuracy In Parameter Estimation (AIPE) method
ssp_app()
Determine sample size with A Priori Precision (APP) method
ssp_bf_predetermined() super_bf()
Determine sample size with Predetermined sample size with Bayes factor method
ssp_bfda()
Determine sample size with Bayes Factor Design Analysis (BFDA)
ssp_eq_bf() eq_bf()
Determine sample size with Equivalence interval Bayes factor method
ssp_power_curve()
Determine sample size for the power curve method
ssp_power_traditional()
Determine sample size with the Classical power analysis method
ssp_rope() rope()
Determine sample size with Region of Practical Equivalence (ROPE) method
ssp_tost()
Determine sample size with Two One‐Sided Test (TOST) method
ssp_infer_bf() infer_bf()
Determine sample size with Non-inferiority Bayes factor method

Sample size planning functions for ANOVA

Functions to determine the sample size for 2*2 designs

ssp_power_traditional_anova()
Determine sample size with the Classical power analysis method
ssp_anova_eq() twoway_ANOVA_eq_pwr()
Determine sample size with the Bayesian Interval Equivalence Method
ssp_anova_bf() twoway_ANOVA_bf_pwr() twowayANOVApwr()
Determine sample size with Bayesian Anova method
ssp_anova_rope() twoway_ANOVA_rope_pwr()
Determine sample size with the Region of Practical Equivalence Method (ROPE)

Plotting

Functions to plot the results of sample determination

plot_power_curve()
Function to plot the results of the power curve calculation

Datafiles

Description of pacakge datafiles

rope_precalculation_results
Region of Practical Equivalence method Precalculation Results
bfda_precalculation_results
Bayes Factor Design Analysis Precalculation Results
eq_bf_precalculation_results
Equivalence Interval Bayes Factor Precalculation Results
infer_bf_precalculation_results
Non-inferiority Bayes Factor Precalculation Results
bayes_anova_data
Bayesian ANOVA Pre calculation Results
eq_anova_data
Bayes Factor Equivalence Interval method ANOVA Pre calculation Results
rope_anova_data
Region of Practical Equivalence (ROPE) method ANOVA Pre calculation Results