I have a sample of data points independently sampled from a uniform distribution with a density function $f(x)=\frac{1}{a}, 0\leq x \leq a$.
I need to use the method of moments to estimate $a_{mom}$.
My idea is to just calculate the variance, then multiply by 12 and take the square root so I get $b-a$. Then I'm kind of stumped what to do further.