Questions tagged [beta-distribution]

A two-parameter family of univariate distributions defined on the interval $[0,1]$.

Filter by
Sorted by
Tagged with
1 vote
1 answer
66 views

What is the posterior probability for flipping a coin, assuming a beta distribution as conjugate prior

Suppose, I toss a fair coin n = 10 times and get 7 heads and 3 tails. The probability of fair coin is p = 0.5. Now, that the beta distribution is a conjugate prior of the binomial likelihood. I used ...
triangular_triffle's user avatar
0 votes
0 answers
14 views

Can a softmax probability distribution be approximated to Beta distribution?

I am wondering if attention weights in BERT language model layers ( which ,in essence, are softmax probability distribution) can be approximated with beta distribution? With approximated beta ...
gray KK's user avatar
  • 11
6 votes
2 answers
226 views

Does this type of distribution have a name?

I have some integer data, produced by slightly convoluted numerical procedure, which is distributed between $0$ and $300$, with the most probable values being $0$ and $300$, and the least probable ...
Tor's user avatar
  • 447
2 votes
1 answer
31 views

Interpreting y axis in density plot

200 people were tested, 20 of those were infected. I want to get a posterior distribution for the uncertainty associated with the probability that a person is infected. I do this like this: ...
cvbzxc's user avatar
  • 21
0 votes
0 answers
19 views

Comparability of means for non-normal distribution and small sample size

I have to perform a comparability study between pre and post change of a production process. I'm using the final purity to measure comparability and wanted to compare medians between pre (n=40 runs) ...
sputch31's user avatar
3 votes
2 answers
69 views

Approximating the distribution of the product of iid beta variates

Background I am interested in the distribution of $$\theta_0=1-\prod_{i=1}^n(1-\theta_i)$$ where the $\theta_{i>0}$ are iid beta random variates: $$\theta_{i>0}\sim\text{Beta}(\alpha,\beta)$$ In ...
jblood94's user avatar
  • 1,331
2 votes
1 answer
45 views

How to interpret odds ratios by emmeans for glmmTMB-beta

I fit this mixed model with beta for the response variable: photochemical efficiency or Fv/Fm and the predictor variables are categorical: ...
Franelibethgalvez's user avatar
1 vote
1 answer
40 views

Model predictions are under-predicting on the high end of the distribution [duplicate]

I am trying to create a linear model where the dependent variable has the following summary features: Min 1st Qu. Median Mean 3rd Qu. Max 0.1579 0.3155 0.3547 0.3459 0.3827 0.4583 There were some ...
BSHuniversity's user avatar
5 votes
1 answer
125 views

Updating a Beta prior based on observations from a product of two Independent Bernoulli variables

I'm working on a problem involving Bayesian updating with a Beta prior, but the data I observe comes from a slightly complex source. Let $X \sim \text{Bernoulli}(p)$ and $Y \sim \text{Bernoulli}(q)$, ...
Parchment2382's user avatar
0 votes
0 answers
31 views

Fitting data with a beta distribution using fitdist from fitdistrplus package in R

I have a variable x that corresponds to data from a database. I've been trying to find the best distribution to fit it and looking at the histogram I figured either a normal, weibull or logistic ...
Ismael ancona's user avatar
2 votes
1 answer
29 views

Why does MCMC estimate the variance in a logit-normal model incorrectly?

I am trying to estimate the variance $\varepsilon^2_X$ in a simple logit-normal model of the form $ \sigma^{-1}(U) \sim \mathcal{N}(\mu_U, \varepsilon^2_U)$ $ \sigma^{-1}(X) \sim \mathcal{N}(\sigma^{-...
Eike P.'s user avatar
  • 2,706
1 vote
1 answer
19 views

Bounded Distribution with specific limits regarding Variance

Im currently looking for a probabilty density function that posesses the following properties Should have range (0,1) $$ \lim_{\sigma \rightarrow 0} f(x) = \delta(1) $$ $$ \lim_{\sigma \rightarrow \...
elson1608's user avatar
2 votes
1 answer
21 views

Resulting beta distribution from two different samples

Let’s say each sample consists of 300 units inspected for defects. I have historic data from 100 samples in the past that give me an idea of what I expect the defect rate to be. I have a new batch to ...
cocoP's user avatar
  • 21
0 votes
0 answers
27 views

Mixed beta regression interpretation with categorical predictor

I have run mixed beta regressions on proportional data but I am struggling in my interpretation of the results. I understand this has been asked before but I have a categorical predictor with four ...
ScottM10's user avatar
3 votes
1 answer
156 views

Zero- and one-inflated beta GAMM (Generalized additive mixed model) in mgcv

I have vegetation cover (%) data [0,1] that includes 0's and 1's that I'd like to model with a beta GAMM, but don't understand the method for doing so. I've read that if the data includes 0's and 1's ...
Nate's user avatar
  • 1,261
0 votes
1 answer
90 views

How to interpret the DHARMa quantile residual plot?

We calculated a GLMM based on the beta distribution: ...
bos's user avatar
  • 3
0 votes
1 answer
44 views

Thompson Sampling with Two objectives - Cost and Success Rate

I have implemented a Thompson sampling algorithm with beta distribution that chooses between two processors to process the payments for each transaction such that it maximizes the success rate. For ...
Aayush Gupta's user avatar
0 votes
0 answers
71 views

Let X is beta distributed, what is the distribution of 1/X?

Let $X \sim Beta(a,b)$. I was wondering what is the distribution of $\frac{1}{X}$?. Here is my derivation by using transformation of random variable. Let $Y = h (X) = \frac{1}{X}$, which implies $h^{-...
Penn's user avatar
  • 31
0 votes
0 answers
34 views

Bounded variable: beta regression or switch to ratio?

My task is to study factors that influence the composition of labor force. The latter consists of two types of workers, full-time and part-time. My first approach was to run an OLS regression for the ...
Mikhail's user avatar
  • 87
2 votes
1 answer
81 views

Calculating the parameters of a Beta distribution using the harmonic mean and variance

Is there a similar way to this for calculating the $\alpha$ and $\beta$ parameters for a Beta distribution if I know the harmonic mean and variance that I want the distribution to have ($\alpha>1$ ...
peder's user avatar
  • 21
1 vote
0 answers
52 views

Power of Uniform Order Statistics

I know that if $U$ is a uniform r.v. in $(0,1)$, then $U^a\sim Beta(1/a,1)$ with $a>0$. On the other hand, if $U_{(1)}\leq \cdots\leq U_{(n)}$ are the uniform order statistics, then, with $U_{(0)}=...
Pierre's user avatar
  • 111
2 votes
0 answers
59 views

Distribution of product of Beta and Chi-Squared?

If $X$ is distributed as Beta distribution and $Y$ as Chi-Squared, does the distribution of $Z = X Y$ have a name? For instance if $X\sim \text{Beta}\left(\frac{1}{2},1\right)$ and $Y\sim \chi^2(1)$, ...
Yaroslav Bulatov's user avatar
0 votes
0 answers
116 views

How to report emmeans results when p value = 1.00?

I am working with data of vegetation cover (proportions) for different height strata (0-5, 5-15, 15-30, >30 cm, and also bare ground) amongst four different sites and two different time periods (...
Agustín Gabriel Álvarez's user avatar
2 votes
1 answer
55 views

When can we assume a particular distribution in a statistical model?

In statistics, we often assume that a particular variable follows a certain distribution. For example, if we know $Y \in \{0, 1\}$, then we can assume $Y \sim \text{Bernoulli}(p)$, since using the ...
Sal Balkus's user avatar
6 votes
3 answers
593 views

Why does dbeta not sum to 1?

Both dpois and dnorm in the code below sum to 1 (or thereabouts). This appears to confirm my understanding of the ...
luciano's user avatar
  • 14k
0 votes
0 answers
39 views

MLE fit for beta distribution given vector of rates?

Say that I have a vector of success rates, which are each ratios bound by [0,1]. I know how to get a normal approximation of this data; however, I'm interested in getting the MLE fit for Beta(a,b) ...
jbuddy_13's user avatar
  • 2,507
4 votes
1 answer
165 views

Performing a power analysis on finding the mean of a single sample, non-normal dataset

I would like to perform a power analysis on my pilot data. My test statistic is a single-sample mean with only 14 observations. The data are non-normal (it's percent vegetation cover, which I think ...
AdrieStC's user avatar
  • 161
1 vote
0 answers
15 views

Capturing increased uncertainty as data changes

I'm experimenting with quantifying uncertainty in data from a Bernoulli distribution by measuring the likelihood the p parameter using the beta distribution. Specifically, I'd like to show how ...
exchez's user avatar
  • 111
0 votes
0 answers
17 views

RJAGS - Bayesian Beta binomial syntax

I am working on a classic problem when the posterior probability distribution of a proportion must be obtained. This parameters is assumed to followed a beta distribution, therefore the number of ...
juands's user avatar
  • 11
0 votes
0 answers
32 views

Beta prior for the Clopper-Pearson interval

A binomial sample of $n$ trials consists of $k$ successes. The distribution of $k$ is $P(k|\theta, n) = C_n^k \theta^k(1-\theta)^{n-k}$ We would like to construct a confidence interval for the ...
Botond's user avatar
  • 217
2 votes
1 answer
110 views

Testing relationship between exponential and beta distributions using R

If X ~ Exp(3), Y ~ Exp(1) and h = X / (X + Y) then h ~ beta(1/3, 1) and E(h) = 1/4. But when I draw random deviates using the following R code, I find mean(h) ≈ 0.324 and the histogram doesn't ...
rob's user avatar
  • 21
0 votes
1 answer
53 views

Does a single observation from a population have the same distribution as that population?

Suppose X1 is one observation from a population with Beta(θ,1) PDF. Would X1 also have Beta(θ,1) PDF?
ally.williams's user avatar
0 votes
1 answer
58 views

How could I evaluate $A = \int_0^1 \log\left(\theta^s(1-\theta)^{n-s}\right)p(\theta)d\theta$?

Suppose that I want to evaluate the following integral: $$A = \int_0^1 \log\left(\theta^s(1-\theta)^{n-s}\right)p(\theta)d\theta,$$ where $p(\theta)\equiv$ Beta$(ws+1, w(n-s)+1)$ and $n$, $w$, and $s$ ...
Ron Snow's user avatar
  • 1,829
0 votes
0 answers
251 views

For a binary outcome, is the distribution necessarily Bernoulli? Could, for instance, "beta-Bernoulli be in play?

When a variable is binary, it sure seems like its distribution is totally characterized by the probability of being in one group: the variable takes one value with probability $p$ and the other value ...
Dave's user avatar
  • 58.4k
1 vote
0 answers
27 views

How to choose the input parameters for a Beta-Pert distribution if no expert estimates can be elicited?

The Beta-Pert-Distribution is often used to model uncertainty in risk management. It takes three values a minimum, maximum and most likely (mode). Generally, these numbers ought to be provided by ...
rememberthename_'s user avatar
2 votes
1 answer
359 views

Interpretation of Beta Family in Generalized Additive Model (GAM)

My code for generalized additive model with the beta family. ...
nerd's user avatar
  • 155
2 votes
0 answers
44 views

Interpreting coefficients of beta regression

I have implemented a beta regression and am a little confused on how I should interpret the coefficients of my model. For context, both my independent variables and dependent variable are expressed in ...
falc's user avatar
  • 21
0 votes
0 answers
41 views

Use of the Beta-Binomial Distribution in Capture-Recapture Sampling

During capture-recapture sampling, we aim to estimate a population size (e.g. of organisms) by capturing a sample of size $ n_1 $, marking them, releasing them, then re-sampling (assuming they have ...
Nick_2440's user avatar
0 votes
1 answer
91 views

How can I compute the joint distribution function of normal distribution and beta distribution? [closed]

In my problem, I have a condition in which I need to compute the joint distribution of two dependent distributions. The first distribution is normal and the second one is beta distribution. How can I ...
Nmgh's user avatar
  • 31
1 vote
0 answers
161 views

Factor Analysis: Simulating observations from predetermined factor loadings with beta-distributed variables

I have a question about simulating data in the context of (exploratory) factor analysis. I need to simulate n observations of p measurable variables derived from k latent variables given factor ...
Daniel Keller's user avatar
1 vote
0 answers
66 views

Expected value of the log of the sum of beta distribution

Can someone help me compute this expression: $$E[\log(X Y + (1-X)(1-Y))]$$ where $X\sim\operatorname{Beta}(a_1,b_1)$ and $Y\sim\operatorname{Beta}(a_2,b_2)$, and where $X$ and $Y$ are independent. In ...
sam's user avatar
  • 439
0 votes
0 answers
21 views

Does beta logit model assume dispersion like Poisson or in Binomial model?

I would like to know what are the assumptions of a beta logit model and more particularly does it assume certain dispersion. In other words, does one speak about over and under dispersion for beta ...
IRANI Alymuhammad's user avatar
0 votes
1 answer
28 views

Does the uniform distribution $U(1,n)$ have an equivalent Bernouli or beta distribution form?

For a uniform distribution on the interval between $0$ and $1$, there is a $Beta(1,1)$ and Bernouli distribution $ Bernouli(1, 0.5)$ that can describe this. What parameter values for the Beta and ...
student_'s user avatar
0 votes
0 answers
61 views

Sampling From Four-Parameter Beta Distribution

Most statistical computing packages have functions to sample out of a two-parameter Beta distribution, but not many offer functions for sampling out of a four-parameter Beta distribution. If I want to ...
nguzman's user avatar
  • 113
1 vote
0 answers
133 views

Can you create Kalman filter (or a recurssive state estimator) with Beta and Binomial distributions?

I have to infer the probability of a system failing from observations. Since probabilities are bounded between 0 and 1, they are sometimes modeled using Beta distribution. While the traditional Kalman ...
PPR's user avatar
  • 61
0 votes
0 answers
87 views

On the difference between two independent beta distribution

This is a follow up to this question. Consider again two independent rvs $X\sim Beta(a_1+1,b_1+1)$ and $Y \sim Beta(a_2+1,b_2+1)$. Here $a_1,b_1,a_2,b_2$ are in $\mathbb{N}$. Is it true that $\mathbb{...
Sushant Vijayan's user avatar
7 votes
1 answer
169 views

Property of two independent Beta distribution

I have been working with beta-bernoulli posteriors recently. Is it true that if $X,Y$ are independent rvs with $X \sim Beta(a_1+1,b_1+1)$ and $Y \sim Beta(a_2+1,b_2+1)$ then $\mathbb{P}(X>Y)>0.5$...
Sushant Vijayan's user avatar
0 votes
0 answers
25 views

Adjustments in Bayesian inference

I have $P$ as a random variable with the prior $P \sim N(p, \sigma)$, where these parameters are known. Let $p_1$ and $p_2$ be two unknown values from $P$. I am trying to estimate both of them using ...
corduroy0898's user avatar
2 votes
1 answer
143 views

PyMC3 Beta-Binomial fails to converge on actual parameter values

Something is not performing as expected with PyMC. I'm trying a simple Beta-Binomial conjugate prior model, trying to recover known parameters. Control data ...
jbuddy_13's user avatar
  • 2,507
1 vote
1 answer
633 views

What is the intuition behind quantile in scipy.stats.beta.ppf? [closed]

I'm trying to use scipy.stats.beta.ppf(q, a, b), where q is referred to as quantile. I understand how beta works and its details, but I'm not able to make sense of ...
akashdubey's user avatar

1
2 3 4 5
14