Can you show me what I'm doing wrong here? This is the homework problem:
Consider a random sample $Y_1, \ldots , Y_n$ from the pdf $f_Y(y;\theta) = 2y\theta^2$ where $0\le y \le \frac{1}{\theta}$. Find the maximum likelihood estimator for $\theta$.
The likelihood function for this pdf is $\prod_{i=1}^{n} f_Y(y;\theta) = \prod_{i=1}^{n} 2y_{i}\theta^2 = 2^n \theta^{2n} \prod_{i=1}^{n} y_i$.
So to me, it looks like I can maximize the likelihood function by choosing $y_{max}$ for the MLE. But then what do I do about the condition $0\le y \le \frac{1}{\theta}$?
I tried looking up how to do this but the only example I can find is the one about the uniform distribution, but that one is much more straightforward because the condition on y is just $0 \le y \le \theta$ and not $\frac{1}{\theta}$. To maximize $\frac{1}{\theta}$ I would choose my MLE to be $y_{min}$ but that wouldn't maximize the likelihood function.
Any help would be GREATLY appreciated.