I include a bit of an introduction, even though my main question is more mathematical. I was tasked with finding the Maximum Likelihood Estimate for $\theta$ in $$\mathrm P(X>x) = \left(\frac ax \right)^\theta $$ where $X$ is a variable, and $x$ represents a value that variable can take on. The Probability Density Function is $\newcommand\diff[2]{\frac{\mathrm d#1}{\mathrm d#2}}\diff Fx=\frac{-\theta a^\theta}{x^{\theta + 1}}$, where $F = \mathrm P(X>x)$. I maximise the loglikelihood function $l = \ln(-\theta) + \theta \ln a - (\theta + 1)\ln x\ $ to get $\hat\theta(x_i) = \frac 1{\ln x_i - \ln a}$, where the $\hat.$ indicates that $\hat\theta$ is an estimate of $\theta$, based on the data sample. Now, the answer is supposed to be $$\hat\theta = \frac 1{\overline {\ln x} - \ln a}$$ where $\overline {\phantom{x}}$ indicates the average: $\overline{\ln x} = \frac 1n \sum_i \ln x_i$. I am stumped as to how to get this answer directly from $\hat\theta(x_i)$.
Does $$\frac 1n \sum_i \frac 1{\ln x_i - \ln a} = \frac 1{\overline {\ln x} - \ln a}\qquad ?$$
I think $\frac 1n \sum_i \widehat{\frac 1{\theta(x_i)}} = \frac 1n\sum_i (\ln x_i - \ln a) =\overline{\ln x} - \ln a = \widehat {\frac 1\theta} \implies \hat\theta = \frac 1{\overline{\ln x} - \ln a}$, but is this the only way to show the above?
Comments
Post a Comment