Questions tagged [beta-binomial-distribution]

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.

Filter by
Sorted by
Tagged with
3
votes
2answers
19 views

Beta distribution for uncertain binary trials

I have a larger problem but have presented what I believe is a minimal example. Imagine that you are trying to determine the true probability of a potentially-biased coin landing on heads, and want to ...
0
votes
0answers
16 views

Why don't Beta-Binomial Confidence Intervals Asymptotically Converge?

I've been using the beta-binomial for modelling overdispersed proportions, and I've become a bit confused by the behaviour of the quantiles. I would expect that as $N$ increases, the result of $\text{...
0
votes
0answers
11 views

Is a (beta)binomial model fitting for my response variable?

I am working on the evaluation of a speech recognition system we trained. The recognizer basically is given a query utterance containing a single word and should find images containing the appropriate ...
0
votes
0answers
27 views

Does pairwise correlation and multicollinearity matter in dispersion and zeroinflation model of glmmTMB?

I'm using glmmTMB to calculate beta-binomial GLMMs with nested and crossed random intercepts. I have overdispersed, zero-inflated data (assessed with Dharma). I use continuous terms in the very ...
1
vote
0answers
15 views

Can I use posterior beta parameters from a previous experiment to use as priors for my current experiment?

I am doing a Bayesian comparison between two proportions, H0 being Proportion(Protein)> Proportion(Mixed). Here the Proportion is of no. of times a free-ranging dog(s) ate from a box(Protein, Mixed)...
0
votes
0answers
23 views

Posterior Predictive distributions: beta-binomial models

I am trying to do some inference on binomial proportions and I'm having trouble understanding the posterior predictive distribution of my model. I am concerned that my model isn't learning anything, ...
1
vote
1answer
187 views

Inferential statistics for vector of percentages

I'm getting confused by this and was wondering if someone can enlighten me: I have a random sample consisting of 50 percentages. Each percentage can take on any value between 0% and 100% inclusive ...
0
votes
1answer
46 views

Beta-binomial vs updating a prior beta distribution

Bear with me, as I've just recently been learning about conjugate priors, prior and posterior distributions, and such material. My understanding of the beta-binomial distribution is that it basically ...
2
votes
1answer
37 views

How to estimate the effects of vaccines with Beta- Bernoulli inference

The original Tutorial comes from toward data science Given the following description: "Moderna: The vaccine is being tested in 30,000 people. Half received two doses of the vaccine, and half ...
0
votes
0answers
24 views

Beta-Binomial parameter estimation

The MLE or method of moments estimation of parameters of a beta-binomial distribution makes use of (c, y) -- total number and positive counts. However, if we only have one such pair, then $\frac{\...
0
votes
1answer
162 views

Bayesian A/B test - using an updated prior based on collected data

I have a question about whether I would be adding bias to an A/B test by updating my prior based on combined A & B data, and then running the A/B test on that prior. My A/B test is click through ...
3
votes
2answers
209 views

Entropy of the beta-binomial compound distribution

I have a generative process as follows: $$ x \mid \alpha \sim \textsf{Beta}\left (\alpha,\beta \right) \\ y \mid x \sim \textsf{Bernoulli}(x). $$ How does one go about calculating the Entropy of ...
0
votes
1answer
59 views

How to estimate beta distribution parameters using a beta binomial with empirical bayes

I would like to estimate parameters for a beta distribution using a maximum likelihood approach in python (as mentioned here). I can do this for a beta: ...
0
votes
1answer
46 views

Discrete Probability Density that is Monotonically Decreasing as K Increases and is 0 at K=N+1

My knowledge of distributions is limited, so I apologize beforehand for what may be a silly question. I am looking for a discrete probability distribution with domain $\{1,2,...,N\}$ that satisfies ...
1
vote
0answers
19 views

Calculating the tail bounds for a beta-binomial regression

I have a beta-binomial regression model that depends on a probability $p$ and a given over-dispersion $\beta$ and is used to parametrise the distribution of $Y$ in the following way $$ Y(x) \sim ...
499
votes
14answers
201k 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 ...
0
votes
0answers
12 views

Distribution with a parameter being function of another?

The beta-binomial distribution has probability mass function given by: $f(k\mid n,\alpha,\beta)$. Is there any theoretical problem in setting $\beta=g(\alpha)$ for some linear function $g$? By doing ...
1
vote
0answers
31 views

Compound beta-binomial and beta distribution

I have a process that is modelled by a beta-binomial, parametrised by mean $\mu$ and correlation $\rho = 1/(\alpha+\beta+1)$ (as per dbetabinom in the R VGAM package). I know $\rho$, but the mean $\...
3
votes
1answer
87 views

Selecting between a zero-inflated binomial, OLRE and beta-binomial model

I need some help in deciding which of the following models fits best the data that I have. This was a survey where participants reported proportions of successes (defined as n/m) in condition A and B. ...
0
votes
1answer
101 views

Significant dispersion test

I used DHARMa for my residual diagnostics. For two models, the dispersion test is significant even though the rest of the diagnostic output looks good. I am wondering if both my models are correct ...
3
votes
2answers
119 views

Discrepancy between binomial and beta in R?

I'm getting a result I cannot explain when using beta distribution. I've got a result which came from a binomial distribution: 2 successes in 6 trials. I would think the maximum likelihood estimator ...
-1
votes
1answer
47 views

Reverse engineering Beta prior parameters from Binomial likelihood and posterior beta parameters

Suppose a friend has calculated a posterior distribution from a Beta prior and binomial likelihood, and you are interested in the prior parameters they used, but they won't give them to you. They only ...
3
votes
1answer
104 views

How do I compute the estimated values of x for a beta-binomial distribution?

I understand how to set up a binomial probability distribution. I'm trying to extend my understanding to the beta-binomial. On Wikipedia, there is a beta-binomial example given at https://en....
0
votes
0answers
24 views

What is the meaning of Marginal Density of Beta_binomial Distribution

Given an Experiment with a fair coins and 20 trials prior distribution defined as Beta(5,5) likelihood defined as Binomial(20,p) as a result it give a Beta Binomial distribution The Question is if I ...
0
votes
1answer
63 views

Beta vs beta-binomial why beta has higher AIC

I am working with proportion data (very limited ~20 data points) for a response variable (RV), i.e. proportion of mature females out of total number of females sampled. The maturity is assessed by 6 ...
-2
votes
1answer
139 views

Help me understand how to apply a beta-binomial model in order to estimate a parameter when there are several Bernoulli trials?

So, I have been presented with this question: A sample of 100 people were asked how many days they drove their car during the last week (inc. the weekend). The resulting frequency of response is shown ...
0
votes
0answers
46 views

Using a beta-binomial model to estimate the average for a uniform prior [duplicate]

Say we had a sample of 100 people who were asked how many days during the last week they drove their car. Let's say the resulting frequency table is as follows: Days, frequency 0, 1 1, 5 2, 3 3, 15 4, ...
0
votes
0answers
19 views

Analytical power analysis of a binomial RCT

I have a certain population of users of my free app, with new ones installing every day. I want to run an RCT on them, specifically measuring the impact of some change on their conversion rate (i.e. ...
0
votes
0answers
22 views

Estimate binomials given monotonic probabilities

I am given $N$ ordered coins and for each coin $i=1,..,N$ some trials $X_i \sim Bin(n_i, p_i)$. The coins are ordered in the sense that I know a priori that $0\leq p_1\leq p_2 \leq ... \leq p_N \leq 1$...
6
votes
1answer
687 views

Comparing two groups with binomially distributed data

Below (in R), I have two independent groups of scores that are binomially distributed. These two groups of scores are known to have different probability of success (i,e., $p_1 \neq p_2$). Let's now ...
2
votes
1answer
318 views

Bayesian Estimation, What is Equivalent Sample Size or Imaginary Sample Size?

I am trying to understand the formula given in the book Bayesian Networks, With Examples in R, by Marco Scutari & Jean-Baptiste Denis. The formula estimates the parameters of a categorical ...
37
votes
7answers
31k 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 ...
5
votes
1answer
3k 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 ...
0
votes
1answer
605 views

Number of parameters mixture model

In order to do a LRT between two mixture models with different numbers of components, I need to know the number of parameters. I would like to know the answer both for: a) Gaussian mixture model b) ...
0
votes
1answer
36 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. ...
2
votes
1answer
264 views

Relationship between Binomial distribution and the Beta distribution [duplicate]

I have been investigating the details of the Beta distribution and the Binomial distribution and have 2 questions to ask, but first a slight preamble to explain the background to my questions. In the ...
2
votes
2answers
460 views

Correct usage/understanding of Bayes Factor when comparing two proportions

I'm just starting to learn R and explore Bayesian statistics, but I keep getting tripped on using Bayes Factor and (honestly), I'd love a little confirmation if my process is correct in interpreting ...
0
votes
1answer
53 views

Probability that the same r.v. generates the rth order statistic in one noise-added set, and the sth order statistic in another noise-added set

(Note: The title is confusing, as I have no idea if a name / short description exists for the setting below. I'm open to pointers and/or suggestions.) Setting Let $X_1, ..., X_N \overset{i.i.d.}{\...
1
vote
0answers
31 views

How can I understand if my Beta Distribution is converging?

I am evaluating a Bayes AB Test on 2 variants, A and B. I then plotted a graph which shows the Probability of B is better than A on a daily basis. My worry comes in on the topic of 'peeking'. Let's ...
2
votes
1answer
128 views

In a Beta-Binomial 'Bayesian' A/B test, is it possible to add a third, fourth, etc. recipe?

For context: How to define prior for beta-binomial A/B test For P(A > B), you can draw samples from A's posterior and B's posterior and then count the number of times the sample from A is greater ...
2
votes
1answer
56 views

Can (log-)likelihood be used to compare a binomial model to its beta-binomial equivalent?

In this article the author talks about fitting beta-binomial models to data when the there data is over-dispersed relative to the assumptions of a model with binomial errors. Near the end they present ...
0
votes
1answer
281 views

PyMC's treatment of shape versus deterministic data, when a random variable's parameter is vector-valued

I'm working on a problem with PyMC3 that makes me think I need to better understand how it deals with random variables whose parameters are vector-valued. Data description and problem setup I have $...
3
votes
0answers
246 views

OLRE's vs. Beta Binomial Model for Overdispersed Mixed Effect logistic regression with proportion data?

this is a long post, as I wanted to be sure to provide all relevant information regarding my data, model, the methods that I have tried so far, and my diagnostic plots. If there are ways I should ...
2
votes
1answer
417 views

Beta-Binomial regression or Poisson-Gamma model to account for uncertainty in (empricial Bayesian) prior? Explained in simple terms?

I have a dataset of $m$ individuals. For each individual $m$ I have $n_m$ (binomial ) observations with $s_m$ corresponding to the number of 'successes'. I use this data to fit a beta-binomial ...
3
votes
0answers
68 views

How to model qualitative body condition scores? Ordinal logistic regression?

I am after some advice on how to model qualitative animal body condition scores? My overarching research question relates to comparing the body condition of animals across seasons, locations, age ...
0
votes
2answers
285 views

Confidence interval for beta-binomial distribution with restricted range

Based on guidance provided below I have revised my question. How would I calculate a 95% CI for the mean of a beta-binomial distribution that ranges between 0 and 5 and can only have values that are ...
2
votes
0answers
415 views

Visually compare binomial and beta-binomial appropriateness in R

I'm trying to choose the best distribution family for generalized linear regression. My outcome is cross-sectional, over-dispersed proportion data (# of behaviors/20-22 possible behaviors). I used the ...
2
votes
2answers
318 views

How do I carry out a significance test with Tarone's Z-statistic?

Context In this blog the author suggests using Tarone's Z-statistic to test for overdispersion in a binomial model to determine whether or not it is necessary to use a beta-binomial model instead. In ...
2
votes
0answers
216 views

Can I construct a GAM in R for beta binomial data where the response is aggregated?

I have beta-binomial data pi = ri/ni and wish to construct a GAM using R. My data has columns {Case, X1...Xn, R, N} Initial thought Stack Successes(1) & Fail(0) use mgcv:gam with weights ri &...