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 (2023) <doi:10.31234/osf.io/3cbh7>.

Package details

AuthorJesper Wulff [aut, cre] (<https://orcid.org/0000-0002-7976-0939>), Luke Taylor [aut]
MaintainerJesper Wulff <jwulff@econ.au.dk>
LicenseMIT + file LICENSE
Version0.1.0
URL https://github.com/jespernwulff/alphaN
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("alphaN")

Try the alphaN package in your browser

Any scripts or data that you put into this service are public.

alphaN documentation built on Jan. 13, 2023, 1:14 a.m.