I have loaded the amsmath
package. I am not able to get the mass function of a negative binomial distribution.
The code is:
\begin{equation*}
f(count_{i,t}|\lambda_{i,t},\theta_i) =
{\Gamma(\lambda_{i,t} + count_{i,t})/{\Gamma(\lambda_{i,t})\Gamma(count_{i,t}+1)}}{(\theta_i/{1+\theta_i})}^count_{i,t} {(1/{1+\theta_i})}^\lamba_{i,t}
\end{equation*}
The error is:
[14] [15] [16] [17]
! Undefined control sequence.
l.380 ...})}^count_{i,t} {(1/{1+\theta_i})}^\lamba
_{i,t}
Thanks in advance!
Best Answer