easystats / correlation

:link: Methods for Correlation Analysis
https://easystats.github.io/correlation/
Other
435 stars 56 forks source link

Costumizing priors #289

Open JulianGaviriaL opened 1 year ago

JulianGaviriaL commented 1 year ago

Thanks for this nice package!

For the prior argument, several named values are recognized: "medium.narrow", "medium", "wide", and "ultrawide". These correspond to scale values of 1/sqrt(27), 1/3, 1/sqrt(3) and 1, respectively.

How can I costumize the priors? E.g. default priors from further packages like blavaan?: Norm(0, 10) for regression

thanks in advance for your comments.

mattansb commented 1 year ago

The Bayesian correlations warp around BayesFactor::correlationBF() which only supports $\rho \sim Beta(1/\text{scale}, 1/\text{scale})$ priors.