# Questions tagged [bayes-factors]

Given some data and two competing models, Bayes factor is the ratio of probabilities to observe these data under one and under another model.

71 questions
Filter by
Sorted by
Tagged with
6 views

### Bayes Factor for each entry in a contingency table?

I have an $m x m$ contingency table. Here is a link to an example contingency table Entry $x_{ij}$ counts the number of times terms $i$ and $j$ have been mentioned in a corpus of documents. I am ...
25 views

### How to calculate Bayes factor for conditional probability?

I have a data set of 1000 drug-effect pairs. I am trying to identify which drug is most likely given the observed effect. My original approach was to calculate $P\left(d_j | e_i\right)$ for each ...
12 views

### Can I exponentiate the log-Bayes factor to get the Bayes factor?

Simple question here. I'm using Bayesian Confirmatory Factor Analysis and I can get a log-Bayes Factor with the Laplace approximation. However, I'm wondering whether I can just exponentiate this value ...
17 views

### R BayesFactor calculation not aligned with result from within-subjects ANOVA

I ran a repeated-measures ANOVA in which the interaction effect was almost significant (F=3.96, p=0.053). However, the Bayes factor comparing the interaction and main effects models favors the main ...
82 views

### Expressing one-sided p values of directional hypothesis tests as Bayes factors

Assume we want to test the directional hypothesis that $µ<0$. From a frequentist angle we use a one-tailed $t$-test and imagine we obtain a 1-sided $p$ value of say 0.07, which then would imply ...
749 views

### Bayes-Poincaré solution to the Behrens-Fisher problem 2: calculations for Jeffreys’ priors [closed]

In a previous post Bayes-Poincaré solution to k-sample tests for comparison and the Behrens-Fisher problem?, the classical Bayesian and likelihoodist solutions to 2-sample tests for comparison and the ...
31 views

### Modeling the Probability of Falling Asleep

Problem The goal of this exercise is to estimate $p = \text{Pr}(\text{fall asleep})$, the probability of falling asleep imminently, as a mental exercise for those nights when sleep doesn't seem to be ...
904 views

### Bayes-Poincaré solution to k-sample tests for comparison and the Behrens-Fisher problem?

I’d like to share and submit for (dis)approval and discussion yet another, simple but original (to the best of my knowledge) Bayesian solution to the classical problem of comparing k samples or groups,...
14 views

### Deciphering Prior Concentration for Bayesian Contingency Tables

I'm having some trouble in wrapping my mind about the prior concentration parameter when calculating a Bayes factor for contingency tables. Specifically, the parameter prior concentration for package ...