LaTeX errors when creating PDF version.
This typically indicates Rd problems.
LaTeX errors found:
! Undefined control sequence.
<recently read> \mathbb 
                        
l.265 ...{N}_{0}=\mathbb{N}\cup\lbrace 0\rbrace}{}
                                                   that describe
! Undefined control sequence.
<argument> \mathbb {N}_{0}=\mathbb 
                                   {N}\cup \lbrace 0\rbrace 
l.265 ...{N}_{0}=\mathbb{N}\cup\lbrace 0\rbrace}{}
                                                   that describe
! Undefined control sequence.
<argument> \mathbb 
                   {P}(Y=y|\lambda ,\alpha )=\left \lbrace \begin {array}{cc...
l.277 \right.}{}
                
! Undefined control sequence.
<argument> ...mbda ^{y}e^{-\lambda }}{y!} & \text 
                                                  {Poisson distribution} \cr...
l.277 \right.}{}
                
! Undefined control sequence.
<argument> ...^{-1}+\lambda }\right )^{y} & \text 
                                                  {negative binomial distrib...
l.277 \right.}{}
                
! Undefined control sequence.
<argument> ...a ^{y}}{(1+\lambda )^{y+1}} & \text 
                                                  {geometric distribution} \...
l.277 \right.}{}
                
! Undefined control sequence.
<argument> \mathbb 
                   {P}(Y=y|Y>0)=\left \lbrace \begin {array}{cc} \frac {\mat...
l.305 \end{array}\right.}{}
                           
! Undefined control sequence.
<argument> \mathbb 
                   {P}(Y=y)
l.305 \end{array}\right.}{}
                           
! Undefined control sequence.
<argument> 1-\mathbb 
                     {P}(Y=0)
l.305 \end{array}\right.}{}
                           
! Undefined control sequence.
<argument> ...}(Y=y)}{1-\mathbb {P}(Y=0)} & \text 
                                                  {when }y\neq 0 \cr 0 & \te...
l.305 \end{array}\right.}{}
                           
! Undefined control sequence.
<argument> ... \text {when }y\neq 0 \cr 0 & \text 
                                                  {when }y=0 \end {array}\ri...
l.305 \end{array}\right.}{}
                           
! LaTeX Error: Environment aligned undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Misplaced alignment tab character &.
<argument>  \begin {aligned} \hat {N} &
                                       = \sum _{k=1}^{N_{obs}}\frac {1}{1-\e...
l.317 }{}
         
! Misplaced alignment tab character &.
<argument> ...}\frac {1}{1-\exp (-\lambda _{k})} &
                                                   \text { For Poisson distr...
l.317 }{}
         
! Undefined control sequence.
<argument> ...{1}{1-\exp (-\lambda _{k})} & \text 
                                                  { For Poisson distribution...
l.317 }{}
         
! Misplaced \cr.
<argument> ...ext { For Poisson distribution} \cr 
                                                  \hat {N} &= \sum _{k=1}^{N...
l.317 }{}
         
! Misplaced alignment tab character &.
<argument> ...Poisson distribution} \cr \hat {N} &
                                                  = \sum _{k=1}^{N_{obs}}\fr...
l.317 }{}
         
! Misplaced alignment tab character &.
<argument> ...\lambda _{k})^{-\alpha _{k}^{-1}}} &
                                                   \text { For negative bino...
l.317 }{}
         
! Undefined control sequence.
<argument> ... _{k})^{-\alpha _{k}^{-1}}} & \text 
                                                  { For negative binomial di...
l.317 }{}
         
! Misplaced \cr.
<argument> ...negative binomial distribution} \cr 
                                                  \hat {N} &= \sum _{k=1}^{N...
l.317 }{}
         
! Misplaced alignment tab character &.
<argument> ...inomial distribution} \cr \hat {N} &
                                                  = \sum _{k=1}^{N_{obs}}\fr...
l.317 }{}
         
! Misplaced alignment tab character &.
<argument> ...rac {1+\lambda _{k}}{\lambda _{k}} &
                                                   \text { For geometric dis...
l.317 }{}
         
! Undefined control sequence.
<argument> ...\lambda _{k}}{\lambda _{k}} & \text 
                                                  { For geometric distributi...
l.317 }{}
         
! LaTeX Error: \begin{list} on input line 261 ended by \end{aligned}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Undefined control sequence.
<recently read> \mathbb 
                        
l.323 ...relate to whether \eqn{\mathbb{P}(Y=0)}{}
                                                   is
! Undefined control sequence.
<argument>  \mathbb 
                    {P}_{new}(Y=y|Y>0) = \left \lbrace \begin {array}{cc} \o...
l.330 \end{array}\right.}{}
                           
! Undefined control sequence.
<argument> ...}{cc} \omega + (1 - \omega )\mathbb 
                                                  {P}_{old}(Y=1|Y>0)& \text ...
l.330 \end{array}\right.}{}
                           
! Undefined control sequence.
<argument> ... )\mathbb {P}_{old}(Y=1|Y>0)& \text 
                                                  {when: } y = 1 \cr (1 - \o...
l.330 \end{array}\right.}{}
                           
! Undefined control sequence.
<argument> ...: } y = 1 \cr (1 - \omega ) \mathbb 
                                                  {P}_{old}(Y=y|Y>0) & \text...
l.330 \end{array}\right.}{}
                           
! Undefined control sequence.
<argument> ... \mathbb {P}_{old}(Y=y|Y>0) & \text 
                                                  {when: } y \neq 1 \end {ar...
l.330 \end{array}\right.}{}
                           
! Undefined control sequence.
<argument>  \mathbb 
                    {P}_{new}(Y=y) = \left \lbrace \begin {array}{cc} \mathb...
l.338 }{}
         
! Undefined control sequence.
<argument> ... \lbrace \begin {array}{cc} \mathbb 
                                                  {P}_{old}(Y=0) & \text {wh...
l.338 }{}
         
! Undefined control sequence.
<argument> ...{cc} \mathbb {P}_{old}(Y=0) & \text 
                                                  {when: } y = 0 \cr \omega ...
l.338 }{}
         
! Undefined control sequence.
<argument> ...en: } y = 0 \cr \omega (1 - \mathbb 
                                                  {P}(Y=0)) + (1 - \omega )\...
l.338 }{}
         
! Undefined control sequence.
<argument> ...bb {P}(Y=0)) + (1 - \omega )\mathbb 
                                                  {P}_{old}(Y=1) & \text {wh...
l.338 }{}
         
! Undefined control sequence.
<argument> ...ega )\mathbb {P}_{old}(Y=1) & \text 
                                                  {when: } y = 1 \cr (1 - \o...
l.338 }{}
         
! Undefined control sequence.
<argument> ...: } y = 1 \cr (1 - \omega ) \mathbb 
                                                  {P}_{old}(Y=y) & \text {wh...
l.338 }{}
         
! Undefined control sequence.
<argument> ...ga ) \mathbb {P}_{old}(Y=y) & \text 
                                                  {when: } y > 1 \end {array...
l.338 }{}
         
! Undefined control sequence.
<argument>  \mathbb 
                    {P}_{new}(Y=y) = \left \lbrace \begin {array}{cc} \omega...
l.348 }{}
         
! Undefined control sequence.
<argument> ...}{cc} \omega + (1 - \omega )\mathbb 
                                                  {P}_{old}(Y=1)& \text {whe...
l.348 }{}
         
! Undefined control sequence.
<argument> ...mega )\mathbb {P}_{old}(Y=1)& \text 
                                                  {when: } y = 1 \cr (1 - \o...
l.348 }{}
         
! Undefined control sequence.
<argument> ...: } y = 1 \cr (1 - \omega ) \mathbb 
                                                  {P}_{old}(Y=y) & \text {wh...
l.348 }{}
         
! Undefined control sequence.
<argument> ...ga ) \mathbb {P}_{old}(Y=y) & \text 
                                                  {when: } y \neq 1 \end {ar...
l.348 }{}
         
! Undefined control sequence.
<argument>  \mathbb 
                    {P}_{new}(Y=y|Y>0) = \left \lbrace \begin {array}{cc} \f...
l.355 }{}
         
! Undefined control sequence.
<argument> 1 - (1-\omega )\mathbb 
                                  {P}_{old}(Y=0)
l.355 }{}
         
! Undefined control sequence.
<argument> 1 - (1-\omega )\mathbb 
                                  {P}_{old}(Y=0)
l.355 }{}
         
! Undefined control sequence.
<argument> ...ega )\mathbb {P}_{old}(Y=0)}\mathbb 
                                                  {P}_{old}(Y=1)& \text {whe...
l.355 }{}
         
! Undefined control sequence.
<argument> ...(Y=0)}\mathbb {P}_{old}(Y=1)& \text 
                                                  {when: } y = 1 \cr \frac {...
l.355 }{}
         
! Undefined control sequence.
<argument> 1 - (1-\omega )\mathbb 
                                  {P}_{old}(Y=0)
l.355 }{}
         
! Undefined control sequence.
<argument> ...ega )\mathbb {P}_{old}(Y=0)}\mathbb 
                                                  {P}_{old}(Y=y) & \text {wh...
l.355 }{}
         
! Undefined control sequence.
<argument> ...Y=0)}\mathbb {P}_{old}(Y=y) & \text 
                                                  {when: } y > 1 \end {array...
l.355 }{}
         
! Undefined control sequence.
<recently read> \mathbb 
                        
l.364 \eqn{\mathbb{P}(y=0)}{}
                              remains the same but estimation of parameters
! LaTeX Error: Environment aligned undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Misplaced alignment tab character &.
<argument>  \begin {aligned} \hat {N} &
                                       = \sum _{k=1}^{N_{obs}}\frac {1}{1-(1...
l.375 }{}
         
! Misplaced alignment tab character &.
<argument> ...-\omega _{k})\exp (-\lambda _{k})} &
                                                  \text { For base Poisson d...
l.375 }{}
         
! Undefined control sequence.
<argument> ...a _{k})\exp (-\lambda _{k})} &\text 
                                                  { For base Poisson distrib...
l.375 }{}
         
! Misplaced \cr.
<argument> ... For base Poisson distribution} \cr 
                                                  \hat {N} &= \sum _{k=1}^{N...
l.375 }{}
         
! Misplaced alignment tab character &.
<argument> ...Poisson distribution} \cr \hat {N} &
                                                  = \sum _{k=1}^{N_{obs}}\fr...
l.375 }{}
         
! Misplaced alignment tab character &.
<argument> ...\lambda _{k})^{-\alpha _{k}^{-1}}} &
                                                  \text { For base negative ...
l.375 }{}
         
! Undefined control sequence.
<argument> ...a _{k})^{-\alpha _{k}^{-1}}} &\text 
                                                  { For base negative binomi...
l.375 }{}
         
! Misplaced \cr.
<argument> ...negative binomial distribution} \cr 
                                                  \hat {N} &= \sum _{k=1}^{N...
l.375 }{}
         
! Misplaced alignment tab character &.
<argument> ...inomial distribution} \cr \hat {N} &
                                                  = \sum _{k=1}^{N_{obs}}\fr...
l.375 }{}
         
! Misplaced alignment tab character &.
<argument> ... _{k}}{\lambda _{k} + \omega _{k}} &
                                                  \text { For base geometric...
l.375 }{}
         
! Undefined control sequence.
<argument> ...{\lambda _{k} + \omega _{k}} &\text 
                                                  { For base geometric distr...
l.375 }{}
         
! LaTeX Error: \begin{list} on input line 261 ended by \end{aligned}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Undefined control sequence.
<argument>  \ell _{\text 
                         {ztoi}}=\boldsymbol {f}_{1}\ln {\frac {\boldsymbol ...
l.383 }{}
         
! Undefined control sequence.
<argument> ...}{N_{obs}} \right )} + \ell _{\text 
                                                  {zot}} 
l.383 }{}
         
! Undefined control sequence.
<argument> \ell _{\text 
                        {zot}}
l.384 where \eqn{\ell_{\text{zot}}}{}
                                      is the log likelihood
! Undefined control sequence.
<argument> \mathbb 
                   {P}(Y=y|Y>1)=\left \lbrace \begin {array}{cc} \frac {\mat...
l.390 \end{array}\right.}{}
                           
! Undefined control sequence.
<argument> \mathbb 
                   {P}(Y=y)
l.390 \end{array}\right.}{}
                           
! Undefined control sequence.
<argument> 1-\mathbb 
                     {P}(Y=0)-\mathbb {P}(Y=1)
l.390 \end{array}\right.}{}
                           
! Undefined control sequence.
<argument> 1-\mathbb {P}(Y=0)-\mathbb 
                                      {P}(Y=1)
l.390 \end{array}\right.}{}
                           
! Undefined control sequence.
<argument> ... {P}(Y=0)-\mathbb {P}(Y=1)} & \text 
                                                  {when }y > 1 \cr 0 & \text...
l.390 \end{array}\right.}{}
                           
! Undefined control sequence.
<argument> ... & \text {when }y > 1 \cr 0 & \text 
                                                  {when }y\in \lbrace 0, 1\r...
l.390 \end{array}\right.}{}
                           
! Undefined control sequence.
<recently read> \mathbb 
                        
l.391 where \eqn{\mathbb{P}(Y)}{}
                                  is the probability mass function of
! LaTeX Error: Environment aligned undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Misplaced alignment tab character &.
<argument>  \begin {aligned} \hat {N} &
                                       = \boldsymbol {f}_{1} + \sum _{k=1}^{...
l.412 }{}
         
! Misplaced alignment tab character &.
<argument> ...-\lambda _{k}\exp (-\lambda _{k})} &
                                                  \text { For base Poisson d...
l.412 }{}
         
! Undefined control sequence.
<argument> ...da _{k}\exp (-\lambda _{k})} &\text 
                                                  { For base Poisson distrib...
l.412 }{}
         
! Misplaced \cr.
<argument> ... For base Poisson distribution} \cr 
                                                  \hat {N} &= \boldsymbol {f...
l.412 }{}
         
! Misplaced alignment tab character &.
<argument> ...Poisson distribution} \cr \hat {N} &
                                                  = \boldsymbol {f}_{1} + \s...
l.412 }{}
         
! Misplaced alignment tab character &.
<argument> ...ambda _{k})^{-1-\alpha _{k}^{-1}}} &
                                                  \text { For base negative ...
l.412 }{}
         
! Undefined control sequence.
<argument> ..._{k})^{-1-\alpha _{k}^{-1}}} &\text 
                                                  { For base negative binomi...
l.412 }{}
         
! Misplaced \cr.
<argument> ...negative binomial distribution} \cr 
                                                  \hat {N} &= \boldsymbol {f...
l.412 }{}
         
! Misplaced alignment tab character &.
<argument> ...inomial distribution} \cr \hat {N} &
                                                  = \boldsymbol {f}_{1} + \s...
l.412 }{}
         
! Misplaced alignment tab character &.
<argument> ...+\lambda _{k}+1}{\lambda _{k}^{2}} &
                                                  \text { For base geometric...
l.412 }{}
         
! Undefined control sequence.
<argument> ...da _{k}+1}{\lambda _{k}^{2}} &\text 
                                                  { For base geometric distr...
l.412 }{}
         
! LaTeX Error: \begin{list} on input line 261 ended by \end{aligned}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Undefined control sequence.
<argument> ...lbrace \begin {array}{cc} 0 & \text 
                                                  {if }Y = 1 \cr 1 & \text {...
l.422 \end{array}\right.}{}
                           
! Undefined control sequence.
<argument> ... 0 & \text {if }Y = 1 \cr 1 & \text 
                                                  {if }Y = 2 \end {array}\ri...
l.422 \end{array}\right.}{}
                           
! Undefined control sequence.
<argument>  \text 
                  {logit}(p_{k})= \ln \left (\frac {\lambda _{k}}{2}\right )...
l.427 \boldsymbol{\beta}\mathbf{x}_{k}=\eta_{k}}{}
                                                  
! Undefined control sequence.
<recently read> \mathbb 
                        
l.457 ...n{\mathbb{E}(Y|Y>0), \text{var}(Y|Y>0)}{}
                                                   or
! Undefined control sequence.
<argument> \mathbb {E}(Y|Y>0), \text 
                                     {var}(Y|Y>0)
l.457 ...n{\mathbb{E}(Y|Y>0), \text{var}(Y|Y>0)}{}
                                                   or
! Undefined control sequence.
<recently read> \mathbb 
                        
l.458 \eqn{\mathbb{E}(Y), \text{var}(Y)}{}
                                           respectively.
! Undefined control sequence.
<argument> \mathbb {E}(Y), \text 
                                 {var}(Y)
l.458 \eqn{\mathbb{E}(Y), \text{var}(Y)}{}
                                           respectively.
! Undefined control sequence.
<recently read> \text 
                      
l.471 \eqn{\text{cov}(\hat{\boldsymbol{\beta}})}{}
                                                   and \eqn{\boldsymbol{X_{v...
! Undefined control sequence.
<recently read> \mathbb 
                        
l.478 ...ether to return \eqn{\mathbb{P}(Y|Y>0)}{}
                                                   or
! Undefined control sequence.
<recently read> \mathbb 
                        
l.479 \eqn{\mathbb{P}(Y)}{}
                           .
! Undefined control sequence.
<argument> ...boldsymbol {\beta }_{(a-1)} + \text 
                                                  {stepsize} \cdot \text {st...
l.614 ...text{stepsize} \cdot \text{step}_{(a)}}{}
                                                  
! Undefined control sequence.
<argument> ...-1)} + \text {stepsize} \cdot \text 
                                                  {step}_{(a)}
l.614 ...text{stepsize} \cdot \text{step}_{(a)}}{}
                                                  
! Undefined control sequence.
<argument> ...boldsymbol {\beta }_{(a-1)} + \text 
                                                  {stepsize} \cdot (\text {s...
l.618 ...ext{momentum}\cdot\text{step}_{(a-1)})}{}
                                                  
! Undefined control sequence.
<argument> ...1)} + \text {stepsize} \cdot (\text 
                                                  {step}_{(a)} + \text {mome...
l.618 ...ext{momentum}\cdot\text{step}_{(a-1)})}{}
                                                  
! Undefined control sequence.
<argument> ...} \cdot (\text {step}_{(a)} + \text 
                                                  {momentum}\cdot \text {ste...
l.618 ...ext{momentum}\cdot\text{step}_{(a-1)})}{}
                                                  
! Undefined control sequence.
<argument> ...{(a)} + \text {momentum}\cdot \text 
                                                  {step}_{(a-1)})
l.618 ...ext{momentum}\cdot\text{step}_{(a-1)})}{}
                                                  
! Undefined control sequence.
<argument> \hat {\sigma }=\sqrt {\hat {\text 
                                             {var}}(\hat {N})}
l.757 ...igma}=\sqrt{\hat{\text{var}}(\hat{N})}}{}
                                                  
! Undefined control sequence.
<argument> \hat {\sigma }=\sqrt {\hat {\text 
                                             {var}}(\hat {N})} \frac {\Gamma...
l.763 \sqrt{\frac{N_{obs}}{2}}}{}
                                 
! Undefined control sequence.
<argument> \boldsymbol {W}=\mathbb 
                                   {E}\left (\text {Diag} \left (\frac {\par...
l.896 \partial\boldsymbol{\eta}}\right)\right)}{}
                                                 
! Undefined control sequence.
<argument> ...dsymbol {W}=\mathbb {E}\left (\text 
                                                  {Diag} \left (\frac {\part...
l.896 \partial\boldsymbol{\eta}}\right)\right)}{}
                                                 
! Undefined control sequence.
<argument>  \boldsymbol {W} = \mathbb 
                                      {E}\left (\begin {bmatrix} \text {Diag...
l.915 \end{bmatrix}\right)}{}
                             
! LaTeX Error: Environment bmatrix undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Undefined control sequence.
<argument> ...bb {E}\left (\begin {bmatrix} \text 
                                                  {Diag}\left (\frac {\parti...
l.915 \end{bmatrix}\right)}{}
                             
! Misplaced alignment tab character &.
<argument> ...{1}^{T}\partial \eta _{1}}\right ) &
                                                   \text {Diag}\left (\frac ...
l.915 \end{bmatrix}\right)}{}
                             
! Undefined control sequence.
<argument> ...\partial \eta _{1}}\right ) & \text 
                                                  {Diag}\left (\frac {\parti...
l.915 \end{bmatrix}\right)}{}
                             
! Misplaced alignment tab character &.
<argument> ...{1}^{T}\partial \eta _{2}}\right ) &
                                                   \dotso & \text {Diag}\lef...
l.915 \end{bmatrix}\right)}{}
                             
! Undefined control sequence.
<argument> ...partial \eta _{2}}\right ) & \dotso 
                                                  & \text {Diag}\left (\frac...
l.915 \end{bmatrix}\right)}{}
                             
! Misplaced alignment tab character &.
<argument> ...artial \eta _{2}}\right ) & \dotso &
                                                   \text {Diag}\left (\frac ...
l.915 \end{bmatrix}\right)}{}
                             
! Undefined control sequence.
<argument> ...\eta _{2}}\right ) & \dotso & \text 
                                                  {Diag}\left (\frac {\parti...
l.915 \end{bmatrix}\right)}{}
                             
! Misplaced \cr.
<argument> ...}^{T}\partial \eta _{p}}\right )\cr 
                                                  \text {Diag}\left (\frac {...
l.915 \end{bmatrix}\right)}{}
                             
! Undefined control sequence.
<argument> ...partial \eta _{p}}\right )\cr \text 
                                                  {Diag}\left (\frac {\parti...
l.915 \end{bmatrix}\right)}{}
                             
! Misplaced alignment tab character &.
<argument> ...{2}^{T}\partial \eta _{1}}\right ) &
                                                   \text {Diag}\left (\frac ...
l.915 \end{bmatrix}\right)}{}
                             
! Undefined control sequence.
<argument> ...\partial \eta _{1}}\right ) & \text 
                                                  {Diag}\left (\frac {\parti...
l.915 \end{bmatrix}\right)}{}
                             
! Misplaced alignment tab character &.
<argument> ...{2}^{T}\partial \eta _{2}}\right ) &
                                                   \dotso & \text {Diag}\lef...
l.915 \end{bmatrix}\right)}{}
                             
! Undefined control sequence.
<argument> ...partial \eta _{2}}\right ) & \dotso 
                                                  & \text {Diag}\left (\frac...
l.915 \end{bmatrix}\right)}{}
                             
! Misplaced alignment tab character &.
<argument> ...artial \eta _{2}}\right ) & \dotso &
                                                   \text {Diag}\left (\frac ...
l.915 \end{bmatrix}\right)}{}
                             
! Undefined control sequence.
<argument> ...\eta _{2}}\right ) & \dotso & \text 
                                                  {Diag}\left (\frac {\parti...
l.915 \end{bmatrix}\right)}{}
                             
! Misplaced \cr.
<argument> ...}^{T}\partial \eta _{p}}\right )\cr 
                                                  \vdots & \vdots & \ddots &...
l.915 \end{bmatrix}\right)}{}
                             
! Misplaced alignment tab character &.
<argument> ...rtial \eta _{p}}\right )\cr \vdots &
                                                   \vdots & \ddots & \vdots ...
l.915 \end{bmatrix}\right)}{}
                             
! Misplaced alignment tab character &.
<argument> ...a _{p}}\right )\cr \vdots & \vdots &
                                                   \ddots & \vdots \cr \text...
l.915 \end{bmatrix}\right)}{}
                             
! Misplaced alignment tab character &.
<argument> ...ight )\cr \vdots & \vdots & \ddots &
                                                   \vdots \cr \text {Diag}\l...
l.915 \end{bmatrix}\right)}{}
                             
! Misplaced \cr.
<argument> ...dots & \vdots & \ddots & \vdots \cr 
                                                  \text {Diag}\left (\frac {...
l.915 \end{bmatrix}\right)}{}
                             
! Undefined control sequence.
<argument> ... \vdots & \ddots & \vdots \cr \text 
                                                  {Diag}\left (\frac {\parti...
l.915 \end{bmatrix}\right)}{}
                             
! Misplaced alignment tab character &.
<argument> ...{p}^{T}\partial \eta _{1}}\right ) &
                                                   \text {Diag}\left (\frac ...
l.915 \end{bmatrix}\right)}{}
                             
! Undefined control sequence.
<argument> ...\partial \eta _{1}}\right ) & \text 
                                                  {Diag}\left (\frac {\parti...
l.915 \end{bmatrix}\right)}{}
                             
! Misplaced alignment tab character &.
<argument> ...{p}^{T}\partial \eta _{2}}\right ) &
                                                   \dotso & \text {Diag}\lef...
l.915 \end{bmatrix}\right)}{}
                             
! Undefined control sequence.
<argument> ...partial \eta _{2}}\right ) & \dotso 
                                                  & \text {Diag}\left (\frac...
l.915 \end{bmatrix}\right)}{}
                             
! Misplaced alignment tab character &.
<argument> ...artial \eta _{2}}\right ) & \dotso &
                                                   \text {Diag}\left (\frac ...
l.915 \end{bmatrix}\right)}{}
                             
! Undefined control sequence.
<argument> ...\eta _{2}}\right ) & \dotso & \text 
                                                  {Diag}\left (\frac {\parti...
l.915 \end{bmatrix}\right)}{}
                             
! LaTeX Error: \begin{list} on input line 851 ended by \end{bmatrix}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Undefined control sequence.
<argument> \mathbb 
                   {P}(Y_{k}>0)
l.1090 ...{obs}}\frac{1}{1-\mathbb{P}(Y_{k}=0)}}{}
                                                  
! Undefined control sequence.
<argument> 1-\mathbb 
                     {P}(Y_{k}=0)
l.1090 ...{obs}}\frac{1}{1-\mathbb{P}(Y_{k}=0)}}{}
                                                  
! Emergency stop.
\bm@command ->$\hfil \endtemplate 
                                  
l.1188 \end{pmatrix}^{T}}{}
                           
!  ==> Fatal error occurred, no output PDF file produced!