Fit BYM2 Small Area Estimation model using TMB
.
Usage
bym2_tmb(sf, its = 1000, ii = NULL)
Arguments
- sf
A simple features object with some geometry.
- its
Number of iterations in outer loop optimisation, passed to nlminb
.
- ii
The (zero-indexed) indices of the observations held-out.
Examples
bym2_tmb(mw, its = 100)
#> Error in .class1(object): object 'mw' not found