Suppose $X_1,X_2,\ldots,X_n$ be a random sample of distribution with probability density function
$$f(x\mid\theta) = \theta x^{\theta-1},\quad 0\lt x \lt 1,\quad 0\lt \theta \lt \infty$$
how can i find MME of parameter $θ$?
My working:
$E[\theta x^{\theta-1}] = \bar X $
$\theta E[x^{\theta-1}]= \bar X$
$\theta = \bar X/E[x^{\theta-1}]$
Not sure whether this is correct.. Need some guidance on this...