JABt {alphaN} | R Documentation |
Transforms a t-statistic into Jeffreys' approximate Bayes factor
Description
Transforms a t-statistic into Jeffreys' approximate Bayes factor
Usage
JABt(n, t, method = "JAB", upper = 1)
Arguments
n |
Sample size. |
t |
The t-statistic. |
method |
Used for the choice of 'b'. Currently one of:
|
upper |
The upper limit for the range of realistic effect sizes. Only relevant when method="balanced". Defaults to 1 such that the range of realistic effect sizes is uniformly distributed between 0 and 1, U(0,1). |
Value
A numeric value for the BF in favour of H1.
Examples
# Transform a t-statistic of 2.695 computed based on a sample size of 200 into JAB
JABt(200, 2.695)
[Package alphaN version 0.1.0 Index]