# 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.

141 questions
Filter by
Sorted by
Tagged with
9 views

### how to perform Beta binomial distribution for the count category in R language

Dear friends I have a data-frame looking like this ...
105 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 ...
33 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 ...
9 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 ...
30 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 ...
54 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 ...
45 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, ...
17 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. ...
20 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$...
60 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 ...
10 views

### Confidence interval bounds for BIN(1,p)

Consider the confidence interval bounds (p L , p u ) for BIN(1, p). In this caseT =Ī£Xi ~ BIN(n, p) is sufficient for p. To apply the cdf pivoting method, solve pbinom(t; n, p U) = Ī±/2 1 ā pbinom(t ā...
91 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 ...
27 views

### Estimating prior sd for the parameter p of a beta binomial regression

I am trying to implement model checks for a Bayesian beta binomial model using the workflow suggested by Betancourt (https://betanalpha.github.io/assets/case_studies/principled_bayesian_workflow.html#...
24 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 ...
36 views

118 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 ...
180 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 ...
57 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 ...
96 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 ...
108 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 &...
78 views

### Binomial Logistic-Normal Updating

I've been considering how sports with binary outcomes might be modelled e.g. the probability of a tennis player winning a point on serve. In text books the usual Bayesian approach uses the beta-...
100 views

### Bayes prior and posterior distribution

Let's assume we have prior distribution beta with parameters 2,50. Let's just say it's prior knowledge of sign up rates for our product. Then we have two binomial models A and B, which both samples ...
23 views

21 views

### Sample from multiple urns - when to stop?

I have a problem that hasn't yet been addressed, although follows similar lines of reasoning here and here. My problem is as follows: I have $N$ urns, each with a different number of black and white ...
518 views

### Given an observed sample from a binomial distribution and a known prior, how can I update the probability distribution of possible 'p' values?

Let's say that I have an 'unfair' coin, for which I'm interested in estimating the 'heads' likelihood or 'p' value. I've been told that the 'heads' likelihood for my 'unfair' coin is normally ...
771 views

432 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) ...
352 views

### How can we determine the parameters of a Beta-Binomial Distribution for given mean and variance?

Given a beta-binomial random variate $X$ with $N$ known, how can I choose $\alpha$, $\beta$ such that the distribution's mean matches a chosen quantity $\mu$ and its variance matches a chosen quantity ...
311 views

### how to analyze overdispersed binary data

In my substantive research, I often use dichotomous scoring (1 correct, 0 wrong) for my tests (tests with $15~yes/no$ items). My goal is often to compare the the proportion of correct answers to all ...
637 views

### Limit of beta-binomial distribution is binomial

I am trying to understand the relationship between the beta-binomial and the binomial distribution. More specifically, I am trying to show that the limit of the beta-binomial distribution, with \$p=a/(...