Crandore Hub

alphaN

Set Alpha Based on Sample Size Using Bayes Factors

Sets the alpha level for coefficients in a regression model as a decreasing function of the sample size through the use of Jeffreys' Approximate Bayes factor. You tell alphaN() your sample size, and it tells you to which value you must lower alpha to avoid Lindley's Paradox. For details, see Wulff and Taylor (2024) <doi:10.1177/14761270231214429>.

Versions across snapshots

VersionRepositoryFileSize
0.1.2 2026-04-09 windows/windows R-4.5 alphaN_0.1.2.zip 80.1 KiB

Dependencies (latest)

Suggests