The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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.

119 questions
Filter by
Sorted by
Tagged with
169k views

What is the intuition behind beta distribution?

Disclaimer: I'm not a statistician but a software engineer. Most of my knowledge in statistics comes from self-education, thus I still have many gaps in understanding concepts that may seem trivial ...
24k views

Relationship between Binomial and Beta distributions

I'm more of a programmer than a statistician, so I hope this question isn't too naive. It happens in sampling program executions at random times. If I take N=10 random-time samples of the program's ...
16k views

What is the appropriate model for underdispersed count data?

I am trying to model count data in R that is apparently underdispersed (Dispersion Parameter ~ .40). This is probably why a glm with ...
370 views

506 views

824 views

A continuous generalization of the binary bandit

There is plenty of reading out there about Bayesian (beta-binomial) multiarm bandits for 0/1 data, but I would like to extend this slightly. To give some context, suppose I have two webpages, A and ...
91 views

Multiple binomial variables: probability they are all 1

We have observed four phone booths by recording, at a given time point, whether each phone booth is occupied (0 or 1). We have approximately 50 such observations (i.e. at 50 different time points, so ...
310 views

Does order of events matter in Bayesian update?

I'm wondering whether the order of events can lead to different Bayesian update. For example, consider a coin-tossing problem with unknown $p$, the probability of Head. Initially, $p$ is known to ...
572 views

Hyper-parameter estimation for Beta-Binomial Empirical Bayes

I am reading a paper Illustrating empirical Bayes methods and in the paper the author uses method of moments to derive the value of an estimate. In equation 17 the author gives the following marginal ...
2k views

Update samples of a Beta with Bernoulli likelihood to the Beta posterior

So this may seem like a strange question, but I have a good reason for it. Nonetheless, I’ll risk the XY problem and describe what I want to do without explaining why I want to do it. We know that ...
2k views

Update rule for beta distribution with fixed K/confidence/sample size

Normally you have a beta distribution with shape parameters $a$ and $b$. The mean of this distribution is $a / (a + b)$ and the sample size, or the confidence (or K) is $a + b$. Now, if you do some ...
2k views

Using poisson distribution to model proportions

I have recently came across a number of articles that have used Poisson GLMs when modelling proportion data. For instance, one study modelled the proportion of pig mortality for each sow using a ...
738 views

Conjugate beta / interpretation of the “continuous binomial” signal

Note: this question has significantly evolved, thanks to inspiring comments by Tim. Assume there is some "truth" $x\in[0,1]=Beta(1,1)$ that is signaled with some precision. I assume that the ...
1k views

Estimate accuracy of an estimation on Poisson binomial distribution

I manage a website that charges its customers using payment cards. Some transactions area approved, others are declined. I compute the approval rate of transactions for a interval (a calendar day) as ...
2k views

Types of dispersion parameter for binomial data

For a model with a binomial proportion as response variable, which is fitted with according to a binomial distribution, a dispersion parameter $\phi$ can be calculated, which is equal to the sum of ...
45 views

Beta-binomial distribution for scaled and translated Beta

Recall, that a binomial distribution in which the probability of success at each trial is randomly drawn from a beta distribution results in the so called beta-binomial distribution. One can calculate ...
72 views

How to infer a prior belief after observing a behavior

My participant goes through a maze made of 32 T intersections. At each intersection he must choose whether to go either to the left or to the right: one option will lead to another T intersection, ...
2k views

Understanding the multilevel / random-effects beta-binomial regression model

Suppose we have an outcome variable $y_{ji}$ which is a count of behaviors performed by group $j$ in round $i$, for $j = 1,...,n$ and $i = 1,...,8$. The outcome $y_{ji}$ counts are non-independent ...
267 views

Beta prior on (a,b) [duplicate]

Is it possible to rescale a beta prior to range from, say, $(0.5,1.0)$? For example, say that your likelihood function for some parameter $p$ is binomial and you know that $p \in (0.5,1.0)$ due to ...
1k views

Updating a beta-binomial

Suppose I'm modeling a set of processes using a beta-binomial prior. I can build parameterized beta-binomial models that average over large groups of the processes to give reasonable, although coarse, ...
3k views

Multi Armed Bandit for Continuous Rewards - Extended Question

This question is an extension to A continuous generalization of the binary bandit The Multi-Armed Bandit (MAB) Problem in general is described here: https://en.wikipedia.org/wiki/Multi-armed_bandit ...
1k views

VGAM fitting a betabinomial model

I have a small question, given this: fit <- vglm(cbind(R, N-R) ~ 1, betabinomial, lirat, trace=TRUE, subset=(N > 1)) Why should I do ...
255 views

Bivariate distribution: beta and binomial

Consider a pair of RVs $X$ and $Y$, with the following conditional distributions: $$X | Y=y \sim Binom(L, y)$$ $$Y | X=x \sim Beta(\alpha + x, \nu)$$ where $L$, $\alpha$, and $\nu$; are all ...
80 views

Generalized Binomial Models

With the standard Binomial probability distribution we consider n trials each with a probability of success p. This can be somewhat generalized to the Beta-Binomial Distribution which is effectively ...
686 views

What happens with the beta-binomial distribution, when n approaches infinity?

Short question: What happens to the beta-binomial distribution, when n increases to infinity? Is there a count distribution arising like it's for the classical binomial distribution?
2k views

beta-binomial distribution with R

I am studying an experiment of the kind: Let $n_{ij}$ be the number of fetuses, $X_{ij}$ the number of responses i.e. the number of fetuses with a malformation in the jth litter of the ith dose level ...
3k views

Use Bayesian hierarchical model to predict new data points

I have a data set $(n_i,y_i),i=0,...,10$. I modeled it as a Bayesian hierarchical beta-binomial model. $y_i∼Binomial(n_i,p_i)$ and $p_i∼Beta(\alpha,\beta)$. I have used MCMC to estimate $\alpha$ and ...
159 views

422 views

Should I use a beta-binomial or binomial glmm?

I have several data sets on wildlife disease incidence. One of the issues with my dependent variable is that it represents only current infection status, therefore 0 (no disease) can represent either ...
689 views

Is the beta-binomial distribution a conjugate prior for some distribution?

The beta distribution is conjugate prior for the binomial distribution. Is the beta-binomial distribution a conjugate prior for some sampling distribution?