richarddmorey / BayesFactor

BayesFactor R package for Bayesian data analysis with common statistical models.
https://richarddmorey.github.io/BayesFactor/
132 stars 49 forks source link

ttestBF: posterior sampling respecting mu parameter #59

Closed quentingronau closed 9 years ago

quentingronau commented 9 years ago

Hi,

When sampling from the posterior via ttestBF, the mu parameter is not respected.

richarddmorey commented 9 years ago

This will be an easy fix for the next version of BayesFactor.

quentingronau commented 9 years ago

Great, thanks.

richarddmorey commented 9 years ago

What is it that you want to happen here? Now that I look at this, it appears to be doing what I would expect. ttestBF tests against a specific mu, but posterior ignores mu (because it isn't a test). Can you describe what you expect?

quentingronau commented 9 years ago

Hi Richard,

To be honest, I do not really remember what exactly the issue was. I think you are completely right, the function does what the user expects and I do not see an issue anymore. Sorry if I caused confusion, I think you can close this issue.

Cheers, Quentin