# Determine the MLE of parameter $\theta$ [closed]

Suppose $X_1,\ldots,X_n$ are a random sample of distribution with probability density function

$$f(x) = \begin {cases} \frac{\theta}{2} & \text{}\ x=-1,1 \\ 1-\theta & \text{} \ x=0 \end {cases},0<\theta<1$$

Determine the MLE of parameter $\theta$

-

## closed as too localized by Did, William, Noah Snyder, Norbert, Nate EldredgeOct 7 '12 at 17:22

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

What did you try? Where are you stuck? – Davide Giraudo Sep 11 '12 at 11:45
You asked 46 questions, I believe you added motivation, what you tried, where you were stuck, to none of them. On second thought, I prefer to delete my answer. – Did Sep 11 '12 at 16:35

First of all this is a discrete probability distribution and is not a density function.You need to know the observed values for $X$$_i for i=1,2,...,n. Then for the likelihood use terms in the product that are θ/2 when X$$_i$=-1 or $X$$_i=1 and 1-θ when X$$_i$=0. You could look at this like a binomial where θ is the probability of a 1 or -1 and and 1-θ is the probability of a 0. Then the mle for θ would be the proportion of times a 1 or a -1 comes up.