Skip to contents
    
    
  
    
      
      
      
      - 
          
          
besag_aghq() 
         
        - Fit Besag Small Area Estimation model using 
aghq. 
      
- 
          
          
besag_inla() 
         
        - Fit Besag Small Area Estimation model using 
R-INLA. 
      
- 
          
          
besag_tmb() 
         
        - Fit Besag Small Area Estimation model using 
TMB. 
      
- 
          
          
besag_tmbstan() 
         
        - Fit Besag Small Area Estimation model using 
tmbstan. 
      
- 
          
          
best_average() 
         
        - Compute length-scale such that averagely distant points have correlation 
p. 
      
- 
          
          
border_lengths() 
         
        - Create object containing lengths of borders from 
sf object. 
      
- 
          
          
border_precision() 
         
        - Create border ICAR precision matrix from 
sf. 
      
- 
          
          
bym2_aghq() 
         
        - Fit BYM2 Small Area Estimation model using 
aghq. 
      
- 
          
          
bym2_inla() 
         
        - Fit BYM2 Small Area Estimation model using 
R-INLA. 
      
- 
          
          
bym2_tmb() 
         
        - Fit BYM2 Small Area Estimation model using 
TMB. 
      
- 
          
          
bym2_tmbstan() 
         
        - Fit BYM2 Small Area Estimation model using 
tmbstan. 
      
- 
          
          
centroid_covariance() 
         
        - Compute centroid kernel Gram matrix.
 
      
- 
          
          
centroid_distance() 
         
        - Compute distances between area centroids.
 
      
- 
          
          
ck_aghq() 
         
        - Fit Bayesian Centroid MVN Small Area Estimation model using 
aghq. 
      
- 
          
          
ck_tmb() 
         
        - Fit Bayesian Centroid MVN Small Area Estimation model using 
TMB. 
      
- 
          
          
ck_tmbstan() 
         
        - Fit Bayesian Centroid MVN Small Area Estimation model using 
tmbstan. 
      
- 
          
          
constant_aghq() 
         
        - Fit constant Small Area Estimation model using 
aghq. 
      
- 
          
          
constant_inla() 
         
        - Fit constant Small Area Estimation model using 
R-INLA. 
      
- 
          
          
constant_tmb() 
         
        - Fit constant Small Area Estimation model using 
TMB. 
      
- 
          
          
constant_tmbstan() 
         
        - Fit constant Small Area Estimation model using 
tmbstan. 
      
- 
          
          
create_folds() 
         
        - Create cross-validation training data sets.
 
      
- 
          
          
create_sf_grid() 
         
        - Create height by width grid 
sf object 
      
- 
          
          
crps() 
         
        - Compute an approximation to the continuous ranked probability score.
 
      
- 
          
          
dic() 
         
        - Deviance information criterion generic.
 
      
- 
          
          
dxbinom() 
         
        - Density of the generalised binomial distribution.
 
      
- 
          
          
fck_aghq() 
         
        - Fit Centroid MVN Small Area Estimation model using 
aghq. 
      
- 
          
          
fck_inla() 
         
        - Fit Centroid MVN Small Area Estimation model using 
R-INLA. 
      
- 
          
          
fck_tmb() 
         
        - Fit Centroid MVN Small Area Estimation model using 
TMB. 
      
- 
          
          
fck_tmbstan() 
         
        - Fit Centroid MVN Small Area Estimation model using 
tmbstan. 
      
- 
          
          
fik_aghq() 
         
        - Fit Integrated MVN Small Area Estimation model using 
aghq. 
      
- 
          
          
fik_inla() 
         
        - Fit Sampling MVN Small Area Estimation model using 
R-INLA. 
      
- 
          
          
fik_tmb() 
         
        - Fit Integrated MVN Small Area Estimation model using 
TMB. 
      
- 
          
          
fik_tmbstan() 
         
        - Fit Integrated MVN Small Area Estimation model using 
tmbstan. 
      
- 
          
          
get_scale() 
         
        - Compute scale of a precision matrix using 
R-INLA. 
      
- 
          
          
get_time() 
         
        - Report the time taken to fit the model.
 
      
- 
          
          
held_out_metrics() 
         
        - Compute forecast assessments for model at a single held-out point.
 
      
- 
          
          
iid_aghq() 
         
        - Fit IID Small Area Estimation model using 
aghq. 
      
- 
          
          
iid_inla() 
         
        - Fit IID Small Area Estimation model using 
R-INLA. 
      
- 
          
          
iid_tmb() 
         
        - Fit IID Small Area Estimation model using 
TMB. 
      
- 
          
          
iid_tmbstan() 
         
        - Fit IID Small Area Estimation model using 
tmbstan. 
      
- 
          
          
ik_aghq() 
         
        - Fit Bayesian Integrated MVN Small Area Estimation model using 
aghq. 
      
- 
          
          
ik_tmb() 
         
        - Fit Bayesian Integrated MVN Small Area Estimation model using 
TMB. 
      
- 
          
          
ik_tmbstan() 
         
        - Fit Bayesian Integrated MVN Small Area Estimation model using 
tmbstan. 
      
- 
          
          
integrated_covariance() 
         
        - Compute integrated kernel Gram matrix.
 
      
- 
          
          
invgamma_prior() 
         
        - Find parameters of the inverse Gamma distribution such that 
plb of the probability mass is below lb
and pub of the probability mass is above ub. 
      
- 
          
          
list_to_df() 
         
        - Bind the rows of a list together, adding an 
id column. 
      
- 
          
          
marginal_intervals() 
         
        - Intervals for posterior marginals.
 
      
- 
          
          
mat_to_nb() 
         
        - Wrapper function for 
spdep::mat2listw. 
      
- 
          
          
matern() 
         
        - The Matern covariance function with smoothness parameter 3/2.
 
      
- 
          
          
mw 
         
        - Malawi DHS 2015 Survey Data.
 
      
- 
          
          
nb_to_graph() 
         
        - Create a graph from 
nb. 
      
- 
          
          
nb_to_precision() 
         
        - Create ICAR precision matrix from 
nb. 
      
- 
          
          
plot_graph() 
         
        - Produce a 
ggplot2 visualisation of a (neighbourhood) graph. 
      
- 
          
          
plot_matrix() 
         
        - Produce a 
ggplot2 visualisation of a matrix. 
      
- 
          
          
riebler_gv() 
         
        - Compute the Riebler generalised variance of a covariance matrix.
 
      
- 
          
          
rows_to_list() 
         
        - Convert the rows of a dataframe to a list.
 
      
- 
          
          
sample_marginal() 
         
        - Marginal samples.
 
      
- 
          
          
sample_quantile() 
         
        - Compute an the quantile of an observation within a vector of samples.
 
      
- 
          
          
scale_gmrf_precision() 
         
        - Scales the precision matrix of a Gaussian Markov random field.
 
      
- 
          
          
sf_to_nb() 
         
        - Wrapper function for 
spdep::poly2nb. 
      
- 
          
          
update_naming() 
         
        - A dictionary to convert from internal names to human readable names, used in the manuscript.
 
      
- 
          
          
waic() 
         
        - Watanabe–Akaike (Widely-Applicable) information criterion generic.
 
      
- 
          
          
wicar_inla() 
         
        - Fit Weighted ICAR Small Area Estimation model using 
R-INLA.