posteriorRhoStat: ASDF

View source: R/pearson.R

posteriorRhoStatR Documentation

ASDF

Description

ASDF

Usage

posteriorRhoStat(n, r, rho, kappa = 1, alternative = "two.sided")

Arguments

n

numeric > 0, number of samples

r

numeric in (-1, 1), the observed Pearson correlation r in the sample

kappa

numeric > 0, the scale of the beta distribution, i.e., beta(1/kappa, 1/kappa)

Value

Returns the posterior density


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