powered by
Creates a plot of alpha as function of sample size for each of the four prior options
alphaN_plot(BF = 1, max = 10000)
Prints a plot.
Bayes factor you would like to match. 1 to avoid Lindley's Paradox, 3 to achieve moderate evidence and 10 to achieve strong evidence.
The maximum number of sample size. Defaults to 10,000.
# Plot of alpha level as a function of n for a Bayes factor of 3 alphaN_plot(BF = 3)
Run the code above in your browser using DataLab