LaTeX errors when creating PDF version.
This typically indicates Rd problems.
LaTeX errors found:
! Misplaced alignment tab character &.
<argument>  w_{i}^{(r)} = \begin {cases} w_{i} &
                                                 \text {if } i \text { not i...
l.1018 }{}
          
! Undefined control sequence.
<argument> ...(r)} = \begin {cases} w_{i} & \text 
                                                  {if } i \text { not in var...
l.1018 }{}
          
! Undefined control sequence.
<argument> ...{cases} w_{i} & \text {if } i \text 
                                                  { not in variance stratum ...
l.1018 }{}
          
! Misplaced alignment tab character &.
<argument> ...ilde {h} \\ a_{\tilde {h} g} w_{i} &
                                                   \text {if } i \text { in ...
l.1018 }{}
          
! Undefined control sequence.
<argument> ...} \\ a_{\tilde {h} g} w_{i} & \text 
                                                  {if } i \text { in } \tild...
l.1018 }{}
          
! Undefined control sequence.
<argument> ... {h} g} w_{i} & \text {if } i \text 
                                                  { in } \tilde {h} \text { ...
l.1018 }{}
          
! Undefined control sequence.
<argument> ...f } i \text { in } \tilde {h} \text 
                                                  { but not in random group ...
l.1018 }{}
          
! Misplaced alignment tab character &.
<argument> ...{ but not in random group } g \\ 0 &
                                                   \text {if } i \text { in ...
l.1018 }{}
          
! Undefined control sequence.
<argument> ...ot in random group } g \\ 0 & \text 
                                                  {if } i \text { in random ...
l.1018 }{}
          
! Undefined control sequence.
<argument> ...roup } g \\ 0 & \text {if } i \text 
                                                  { in random group } g \tex...
l.1018 }{}
          
! Undefined control sequence.
<argument> ...i \text { in random group } g \text 
                                                  { of } \tilde {h} \\ \end ...
l.1018 }{}
          
! Missing } inserted.
<inserted text> 
                }
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
! Missing \cr inserted.
<inserted text> 
                \cr 
l.1034 }{}
          
! Misplaced \cr.
<inserted text> \cr 
                    
l.1034 }{}
          
!  ==> Fatal error occurred, no output PDF file produced!