Fit Integrated MVN Small Area Estimation model using aghq
.
fik_aghq.Rd
Random effects have a multivariate Gaussian distribution with covariance
matrix calculated using integrated_covariance
.
Arguments
- sf
A simple features object with some geometry.
- k
Number of quadrature points per hyperparameter dimension.
- L
The number of Monte Carlo samples to draw from each area.
- type
The
type
argument ofsf::st_sample
, defaults to"hexagonal"
- kernel
A kernel function, defaults to
matern
.- ii
The (zero-indexed) indices of the observations held-out.
- ...
Additional arguments to
kernel
.
Examples
fik_tmb(mw)
#> Error in nrow(sf): object 'mw' not found