I have a PDF defined by: $$Pr(X=k)=p \left({n\choose k}a^k(1-a)^{n-k}\right)+(1-p) \left({n\choose k}b^k(1-b)^{n-k}\right)$$ I am not given any information about the parameters $n, p, a, b$. I am given a data-set $x=(x_1,\ldots,x_N)$, generated from this distribution with unknown parameters, and my aim is to find estimators for these parameters. My main issue is with the parameter for $n$.
So far I have used $\hat{n}=\max{x_i}$. I also tried using the MLE, along with the log-likelihood, but could not find a way to simplify the formula to be able to work with it.
Is using MLE a viable option in this case? If yes, how should I go about it? Is there any other way (not involving MLE) as a good estimator for n?
I recently asked a similar question, but for a Binomial Distribution.