# Questions tagged [beta-binomial]

The beta-binomial is a discrete distribution on 0, 1, ..., *n* where the probability of success in a binomial distribution (*p*) is itself drawn from a beta distribution.

120 questions
Filter by
Sorted by
Tagged with
53 views

### Bayesian inference for a conditional probability

I'm simplifying my research question and want to know whether the question can be properly modeled or not. Suppose we have two coins $X_1,X_2$ and assume that the outcomes are possibly correlated. ...
28 views

### Binomial distribution for randomly drawn probabilities

Setting Probability theory can be a weird place sometimes. Here I was, confident in my insane math skills, trying to solve the following problem: Let $N, \alpha$ and $\beta$ be given. ...
50 views

### Beta-binomial Model with missing values

I have read http://www.sumsar.net/blog/2018/12/visualizing-the-beta-binomial/ this simple explanation of how the posterior is changing while more data are added: in this visualization there are six ...
210 views

### Poisson-binomial vs. Beta-binomial

I have N distinct bernoulli trials with a distinct probability for each trial given by, P=(p1, p2, ..., pN). I want to know the distribution of the number of successes. Given that I know P, I can ...
136 views

2k views

### Estimate beta binomial distribution

I have a dataset as follows: ...
19 views

230 views

### Translating user-defined joint-distribution from PyMC to PyMC3

I'm attempting to set up a simple beta binomial hierarchical model with an uninformative prior in PyMC3. I've read that the uninformative prior for this model should have alpha and beta hyper-...
791 views

### Convert probabilities of “binomial events” into beta distribution for binomial parameter (theta)

I have three events that essentially arise from a binomial distribution with k=2, i.e., X~Binomial(theta,n=2). Given some model and data I obtained a conditional (pos distribution for a particular X_i,...
68 views

### Is it possible to validate very small p-values via bootstrap?

Suppose I want to see whether the p-values generated by a certain parametric method are close to the “true” p-values. To avoid relying on any parametric assumptions, the latter are produced via ...
479 views

### Calculate expected value from discrete beta distribution

I have a lookup table in 2 variables, $Z_l$ and $T_l$. So, $Z_l$ and $T_l$ are vectors with same length where $Z_l$ goes from 0 to 1 and $T_l$ varies between 300 and 2000. If you are curious, $Z_l$ ...
107 views

### Recursive Bayesian Estimation, $p(C_k|\mathbf{x})$ as (discrete) likelihood

I''ve been struggeling with this problem for the last couple of days. The main goal is to use the probabilistic classification output $p(C_k|\mathbf{x})$, from for example a logistic regression, to ...