# Uniform distribution with probability density function. Find the value of $k$.

For a random sample $X_1,X_2,...X_n$ from a uniform $[0,\Theta]$ distribution, with probability density function

$$f(x;\Theta) = \left\{ \begin{array} \ \frac{1}{\Theta} & 0\le x \le\Theta,\\ 0 & \text{otherwise}.\end{array}\right.$$

What is the value of $k$ such that $\hat{\Theta}=k\bar{X}$ is an unbiased estimator of $\Theta$?

I've done some questions similar to this but I'm not sure how to go about this one. I have a test in 3 hours so help is really appreciated!

-

$\overline{X}= \frac1n\sum X_i$ $\mathrm{E}(X_i)=\theta/2 =\mathrm{E}(\overline{X})$. So $\theta =\mathrm{E}(2\overline{X})$. Hence $k=2$. Joriki gave the correct answer but for the OP to understand an explanation seems in order. I hope this is in time for your test.

-
Hey thanks so much! A question I'd done before came up instead so I got lucky! Test went great thanks to everyone who answered my questions! :) – Fred Aug 11 '12 at 12:46

$2{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}$

-
I would upvote, but I don't want to ruin the $2$ in the votes. :-) – Asaf Karagila Nov 24 '12 at 20:50
I'd upvote your comment, @Asaf, but.... – Cameron Buie Dec 17 '12 at 15:50
I'd upvote your comment @CameronBuie, but... – MyCatsHat Dec 30 '12 at 16:17
I'd upvote your comment @user26698, but... – Parth Kohli Jan 10 '13 at 8:24
I also upvoted your comment @Novice, but... – kiss my armpit Jan 26 '13 at 14:32