Skip to contents

Calibrate the significance level

alphaN()
Set the alpha level based on sample size for coefficients in a regression model
alphaN_power()
Power at the calibrated alpha level
alphaN_report()
Write a settings report for a calibrated alpha level

Convert results into Bayes factors

JAB()
Transforms t-statistics from a glm or lm object into Jeffreys' approximate Bayes factors
JABt()
Transforms a t-statistic into Jeffreys' approximate Bayes factor
JABp()
Transforms a p-value into Jeffreys' approximate Bayes factor
klauerBF()
Effect-size or moment Bayes factor from a t or F statistic

Graphs

alphaN_plot()
Creates a plot of alpha as function of sample size for the chosen methods
alphaN_power_plot()
Plot power across sample sizes at the calibrated alpha
JAB_plot()
Plots JAB as a function of the p-value

Clustered data

n_effective()
Effective sample size from cluster-robust standard errors