bf10CorJeffreysIntegrate: BF10 for Pearson's correlation based on Jeffreys's...

View source: R/pearson.R

bf10CorJeffreysIntegrateR Documentation

BF10 for Pearson's correlation based on Jeffreys's approximation to the reduced likelihood, see Jeffreys (1961, pp. 289-292).

Description

BF10 for Pearson's correlation based on Jeffreys's approximation to the reduced likelihood, see Jeffreys (1961, pp. 289-292).

Usage

bf10CorJeffreysIntegrate(n, r, kappa = 1, h0 = 0)

Arguments

kappa

numeric > 0 that specifies the

h0

numeric between -1 and 1 that specifies the point null hypothesis

Value

Returns approximate Bayes factor BF10 in favour of the alternative over the null


AlexanderLyNL/bstats documentation built on Sept. 11, 2023, 4:10 p.m.