# Questions tagged [gamma-distribution]

A non-negative continuous probability distribution indexed by two strictly positive parameters.

574 questions
Filter by
Sorted by
Tagged with
435 views

### If I have three sets of continuous data which are not normally distributed, can I still compare them with ANOVA?

I have three sets of data from some experiments. I fitted each set to different distributions, and each one fits a different distribution. For example, Gamma, Weibull, and Lognormal. If I want to ...
23 views
+100

### Pareto/NBD with time-varying covariates

I am trying to incorporate time-varying covariates into the Pareto/NBD model (http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.597.3165&rep=rep1&type=pdf) Model assumptions start at ...
18 views

### Distribution transformation when having same mean and variance

Is it possible to transform the distribution to Gaussian, with same mean and variance? For example, The Gamma RV. X with K=7.5 and theta=1.0. --> The Gaussian RV. X' with not changing mean and ...
27 views

### Concave downward link function for a glm?

I seem to occasionally find datasets where the relationship between X and Y is concave downward. It seems like it should be trivial to find a link function that fits a concave downward curve, but they ...
142 views

### finding quantiles of a kernel density estimation

I used R to find kernel density estimates of my dataset (for experiment I used 1000 samples generated from a known distribution in this step). I used code density()...
23 views

### Statistical significance testing of an observation derived from Gamma distributed population [closed]

I have genetic mutation data for whole genome collected in bins of 3000bp. When I plot this data the distribution looks like a gamma distribution. I estimated the parameter for the above ...
45 views

### Distribution of the sample variance $S^2$ from a normal population [on hold]

Let $X_1, X_2, X_3, ….., X_n$ be $N(\mu, \sigma^2)$ distributed. Then what is the distribution of $S^2$ I have already proven that if $X_i$ are $N(\mu, \sigma^2)$, then $\frac{(n-1)S^2}{\sigma^2}$ ...
17 views

### Posterior (conjugate) prior of two parameter Gamma likelihood

This question is related to a previous question on this site. Assume some data is generated from Gamma distribution $p(x\mid\alpha,\beta) \sim \operatorname{Gamma} (\alpha,\beta)$, and both parameters ...
3k views

### Data transformation to fit gamma distribution in R

I'm having trouble to fit and simulate a gamma distribution using the fitdistr function from the ...
77 views

### How to use Gamma distributions to estimate the number of failures?

I need to calculate the expected number of failures of a product within 6 years. The time until failure is said to be gamma distributed with $\alpha=2$ and $\beta=0.5$ for a mean time between ...
78 views

### Gamma GLM - Derive prediction intervals for new x_i

In a Gamma GLM, the statistical model for each observation 𝑖 is assumed to be $Y_i \sim Gamma(shape, scale)$, where $E(Y_i) = \mu_i = f(X_i\beta)$, and $f$ is the link function. I've used MLE to ...
148 views

### Mean of nearest neighbour distance in a clustered distribution

What would be the expected value of distances to the nearest neighbor in a set of points in 2-dim space that have a clustered (not random) spatial distribution? If the distribution is random the ...
59 views

### How Gamma generalized linear model with zero dependent variable value is derived?

I understand that Gamma distribution generates only positive values. And this is reflected in R gamma family glm function which ...
282 views

### Product of Gamma by Beta rv

If $X$ has a beta distribution $\beta(\alpha,b)$, $Y$ has a gamma distribution $\Gamma (K,\theta)$ and $X$ is independent of $Y$. What is the distribution of the product $P=XY$ . Thanks!
44 views

### Generating Matrix-Gamma distributed random variables

Is there an established algorithm for sampling from the Matrix-Gamma distribution (https://en.wikipedia.org/wiki/Matrix_gamma_distribution)? I suspect the procedure would be similar to generating from ...
548 views

### Application of Pareto/NBD and Pareto/GGG models for customer lifetime value estimates in high churn setting

I have been attempting to estimate customer lifetime value in the context of online classifieds (high churn context) using probabilistic models, chiefly the Pareto/NBD and Pareto/GGG techniques ...
57 views

### Gamma Distribution for generating random numbers

I defined a gamma distribution with following parameters: shape,scale = 4.2503, 7037. This dribuation is used to generate random numbers. The random numbers will be recalculated to the x-asix value. ...
184 views

### Survival time problem exponential with gamma prior

The survival times, in days, of patients diagnosed with a severe form of a terminal illness are thought to be well modelled by an exponential($\theta$) distribution. We observe the survival times ...
14 views

### Distribution of X/(X+Y)of gamma variables [duplicate]

Does anyone know how to calculate the distribution of $$X/(X+Y)$$ X ~ G(p,a) Y~G(p,b) G is gamma distribution
216 views

### Multivariate generalization of Poisson-Gamma model?

I actually assumed it would be easy to find a multivariate version of the Poisson distribution, but couldn't find any concrete solution (in terms of a well cited publication). It seems that ...
187 views

### Name for a distribution between exponential and gamma?

The density $$f(s)\propto \frac{s}{s+\alpha}e^{-s},\quad s > 0$$ where $\alpha \ge 0$ is a parameter, lives between the exponential ($\alpha=0$) and $\Gamma(2,1)$ ($\alpha \to \infty$) ...
21 views

### Is it possible to calculate the scale param θ for the Gamma distribution, given shape param K and a quantile value Q?

Stats-ophils, I am running into a problem, in which I'd like to generate a Gamma distribution (in Julia) and I know the value of the quantile Q(0.9) = 130 as well as the shape parameter k=2. Is it ...
29 views

### Failed to get Uniform distribution from Gamma distribution

I read in Chapter 6 in this book that $p(K)\propto 1$ is equivalent to $e^{-K}\sim Gamma(0,0)I(0,1)$ where $K$>0 and is uniform distribution, e.g., $K \sim Uniform(0,100)$; $I(a,b)$ is the ...
65 views

### How do I get the CDF of a gamma distribution with mean and sd?

I have the mean and standard deviation of my data, which I determined follows a gamma distribution. I don't understand the function I found online for the CDF of a gamma distribution because of the ...
185 views

### Merits of reparameterizing the Gamma and inverse Gamma

Wikipedia states that the PDFs for the Gamma distribution is: $$f(x|\alpha,\beta) = \frac{\beta^\alpha}{\Gamma(\alpha)}x^{\alpha-1}\exp(-\beta x)$$ However, in Rasmussen 2000, the pdf for the ...
46 views

### What kind of regression to use with heavily skewed data?

I have data with an explanatory variable $X$ (I think I can treat this as continuous, as scores 1-100 on a certain test) and a response variable $Y$ (continuous variable, never lower than 0). Both ...
22 views

### What’s the difference between k-theta and alpha-beta parameterization for gamma distribution?

In my book “Mathematical statistics with Applications”, written by Wackerly, it’s stated that there are two methods for parameterization of gamma distribution. The first one is k-theta and the second :...
280 views

### Parameterization of Gamma Distribution

I have come upon different parameterizations of the Gamma Distribution, but not with regard to shape-scale or shape-rate. It is rather about the sign in the exponent. Wolfram lists the pdf as being ...
44 views

464 views

### Constructing an L-moment ratio diagram

How can I find the L-skewness and L-kurtosis values for different distributions? For example, I'd like to be able to plot the curves or points for the Generalized Extreme Value, Gamma, Generalized ...
464 views

### Gamma distribution and applications

I'm looking for references to read about gamma distribution and applications in industry or in quality control. I had a look at statistical methods for reliability data (Meeker and Escobar). It has ...
20 views

### Relating Chi Squared and Gamma Distributions using code?

How do we relate the chi squared and gamma distributions with code? For example if we have a chi squared distribution with cdf(x, k) and we calculate ...
56 views

### Fitting Gamma Distribution in Python with scalar factor

I have done optimization to minimize error of resulted model, however, the R-squared is still low. I try to multiply a scalar to the resulted model to obtain a better fit. The scalar will be generated ...
81 views

### Gamma Distribution CDF Intuition; Are My Parameters Correct?

I'm learning about gamma distributions and I want to make sure my reasoning is correct for an example I found here. Suppose you are fishing and you expect to get a fish once every 1/2 hour. ...
2k views

### Deriving exponential distribution from sum of two squared normal random variables

Let $X$, $Y$ be i.i.d. random variables with distribuition $\mathcal{N}(0,1/2)$ and $Z = X^2 + Y^2$. I'd like to prove based on $X$ and $Y$ pdf's that $Z$ has exponential distribuition.
55 views

### Model validation in R - Gamma GLMM

I'm trying to model a response variable y with respect to a nested variable x in R. First of all, I fitted a linear mixed model (LMM) as it follows: ...
18 views

### Poisson and Gamma distribution for testing randomness

In genetics I want to test whether InDel (insertion and deletion in DNA) sizes occurs with the same probability. I heard that I should gamma distribution to model it. I found ...
4k views

### Test if two gamma distributed populations are different

I have data from two populations of different sizes. Both have Gamma distributions with different shapes and scales (as estimated in R): ...
1k views

### P.d.f for Gamma posterior with Exponential data

I am trying to perform a simple exercise: Sample $N$ points from $\text{Exponential}(\lambda=0.1)$ Assume a $\text{Gamma}(\alpha,\beta)$ prior for the parameter $\lambda$ above Build a p.d.f for the ...
57 views