What does this symbol mean for the MLE method?

206 Views Asked by At

This is an implementation of the maximum likelihood method on $\hat \pi$. I am unsure what that $\mathbf 1$ looking symbol means.

MLE estimate of $\pi_y$ is $$\hat\pi_y:\frac{1}{n}\sum_{i=1}^n\mathbf 1\{y_i = y\}.$$

Source.

1

There are 1 best solutions below

0
On BEST ANSWER

That is an indicator random variable. It means $$\mathbf 1\{y_i = y\} = \begin{cases} 1,&\text{if } y_i = y\\0,&\text{if } y_i\neq y\end{cases}$$