Sample Geometric Mean as an estimator for a Gamma Distribution

1.2k Views Asked by At

How does one compute the bias for the estimator given by the sample geometric mean for a gamma distribution with parameters ($\theta$,1)?

i.e: Given $X_1,...,X_n$ are iid with distribution Gamma($\theta$,1), what is the bias of the estimator given by: $$\hat\theta = \left(\prod_{i=1}^n X_i\right)^{1/n}$$

I have that $\mathbb{B}(\hat\theta) = \prod_{i=1}^n \mathbb{E}\left[X_i^{1/n}\right] - \theta$. Evaluating this gives an awful expression littered with gamma functions. Have I made any mistakes here?

2

There are 2 best solutions below

7
On BEST ANSWER

For a $\Gamma(k,\lambda)$ you have to count the integral:

$$\int_0^\infty \frac {X^{k-1+1/n}e^{-\lambda X}\lambda^k}{\Gamma(k)}dX$$

All we need is to multiply and divide the fraction by $\lambda^{1/n-1}$

$$\frac{1}{\lambda^{1/n}}\int_0^\infty \frac {(X\lambda)^{k+1/n-1}e^{-\lambda X}}{\Gamma(k)}d\lambda X$$

Which is

$$\frac {\Gamma(k+1/n)}{\lambda^{1/n}\Gamma(k)}$$

So the bias is

$$\left(\frac {\Gamma(k+1/n)}{\lambda^{1/n}\Gamma(k)}\right)^n-\theta$$

0
On

For a gamma random variable $X$ with shape $\alpha$ and rate $\beta$, the PDF is $$f_X (x) = \frac{\beta^\alpha x^{\alpha-1} e^{-\beta x}}{\Gamma(\alpha)}, \quad x > 0.$$ Now let $Y = g(x) = \log X$, thus $Y$ is distributed with density $$f_Y(y) = f_X(g^{-1}(y)) \left| \frac{dg^{-1}}{dy} \right| = \frac{\beta^\alpha e^{(\alpha-1)y} \exp(-\beta e^y)}{\Gamma(\alpha)} e^y = \frac{\beta^\alpha}{\Gamma(\alpha)} \exp(\alpha y - \beta e^y), \quad -\infty < y < \infty.$$ If $$\{X_1, X_2, \ldots, X_n\}$$ is a random sample from $X$, then the estimator $$\hat \theta = \left(\prod_{i=1}^n X_i\right)^{1/n} = \exp(\bar Y),$$ where $\bar Y = \frac{1}{n} \sum_{i=1}^n Y_i$. It follows that $$\operatorname{E}[\hat\theta] = \operatorname{E}[e^{\bar Y}] = M_S(1/n) = (M_Y(1/n))^n$$ where $S = n \bar Y$ and $M_S$ is the moment generating function of $S$. Now the MGF of $Y$ is trivial: $$M_Y(t) = \operatorname{E}[e^{tY}] = \int_{y=-\infty}^\infty e^{ty} f_Y(y) \, dy = \frac{\Gamma(\alpha+t)}{\Gamma(\alpha)} \frac{\beta^\alpha}{\beta^{\alpha+t}} = \frac{\Gamma(\alpha+t)}{\Gamma(\alpha)\beta^t},$$ therefore for the shape $\alpha = \theta$ and rate $\beta = 1$, we obtain $$\operatorname{E}[\hat\theta] = \left(\frac{\Gamma(\theta+1/n)}{\Gamma(\theta)}\right)^n.$$


In fact, the above is quite a bit simpler if we notice that $$M_Y(t) = \operatorname{E}[e^{tY}] = \operatorname{E}[e^{t \log X}] = \operatorname{E}[X^t] = \frac{\Gamma(\theta+t)}{\Gamma(\theta)}.$$ It is not difficult to compute the $t^{\rm th}$ moment but for some reason my brain likes to work with MGFs instead.