Here is a question:
We have a machine A that functions with probability $\theta_1 \theta_2$, and a machine B that functions with probability $\theta_1 \theta_2^2$. A random sample of $n$ A machines and an independent random sample of $n$ B machines are selected. Of these, $n_1$ and $n_2$ function respectively. Find the MLEs of $\theta_1$ and $\theta_2$.
I have problems understand the question when it says $n_1$ and $n_2$. Does that mean each type of machine samples have $2$ out of $n$ working? and is there any difference we need to draw between Sample A and B since sample B is independent?
Thanks a lot!
Your likelihood function looks like this
$$(\theta_1\theta_2)^{n_1}(1-\theta_1\theta_2)^{n-n_1}(\theta_1\theta_2^2)^{n_2}(1-\theta_1\theta_2^2)^{n-n_2}$$
Maximizing log likelihood we can find that
$$\theta_1\theta_2^2= \frac{n_2} n$$
$$\theta_1\theta_2= \frac{n_1} n$$
From here I think we can infer that $\theta_2=n_2/n_1$ and $\theta_1=n_1^2/nn_2$
If someone could check my solution I would appreciate that.