Session aims:
π Big thank you to Nora for lots of hard work on π¦ [netz]!
Usage: the proportion of people who have slept under a bed net the previous night. This is effective coverage.
Access: the proportion of the population that could sleep under a net.
π¦ [netz] has functions to convert between usage and access:
netz::usage_to_access(usage = 0.5, use_rate = 0.8)
netz::access_to_usage(access = 0.5, use_rate = 0.8)
You can view empirical estimates of country use rates with:
netz::get_usage_rate_data()
Access: the proportion of the population that could sleep under a net.
Crop: the total number of nets in the population. Crop increases with net distributions and decreases as nets are worn out and thrown away over time.
π¦ [netz] has functions to convert between access and crop:
netz::access_to_crop(access = 0.5)
netz::crop_to_access(crop = 0.5)
Crop: the total number of nets in the population. Crop increases with net distributions and decreases as nets are worn out and thrown away over time.
Distribution: Nets distributed. These may be via mass-distributions or continuous distribution routes.
π¦ [netz] has functions to convert between crop and distribution:
netz::crop_to_distribution(crop = 0.5, distribution_frequency = 3 * 365, half_life = 2 * 365)
netz::distribution_to_crop(crop = 0.5, distribution_frequency = 3 * 365, half_life = 2 * 365)
Net retention half-lives are estimated in the model by Bertozzi-Villa et al and can be accessed with:
netz::get_halflife_data()
As crop is the cumulative impact of past distributions, different combinations of past distributions may lead to similar crop estimates. We can dynamically translate between no-equilibrium crop and distributions with:
netz::crop_to_distribution_dynamic(crop = c(0.1, 0.2, 0.5, 0.1), netz::net_loss_map)
netz::distribution_to_crop_dynamic(distribution = c(0.1, 0.2, 0.5, 0.1), netz::net_loss_map)
Net retention can be modelled with different function forms.
In the model by Bertozzi-Villa et al, they use an s-shaped function form.
In π¦ [malariasimulation] net retention is exponentially distributed.
These are modelled by:
netz::net_loss_map()
and netz::net_loss_exp()
These functions can be passed when the argument net_loss_function
is required.
We may to try and harmonise the bed net models at some point.
population_usage()
function to view the bed net usage in the model resulting from a given set of bed net distributions (model inputs):# Target usage associated time points
target <- c(0.45, 0.33, 0.7)
target_tt <- c(2, 5, 9) * 365
# Time points at which distribution will occur
distribution_tt <- c(1, 4, 8) * 365
# Fit
fit <- netz::fit_usage(
target_usage = target,
target_usage_timesteps = target_tt,
distribution_timesteps = distribution_tt
)
$interventions
section of a site file.head(
foresite::TGO$interventions[, c("iso3c", "name_1", "urban_rural", "year",
"itn_use", "itn_input_dist", "net_type",
"pyrethroid_resistance",
"dn0", "rn0", "rnm", "gamman")]
)
iso3c name_1 urban_rural year itn_use itn_input_dist net_type
1 TGO Centre rural 2000 0.04239319 3.972372e-02 pyrethroid_only
2 TGO Centre rural 2001 0.03059912 1.999607e-03 pyrethroid_only
3 TGO Centre rural 2002 0.02194407 1.225237e-05 pyrethroid_only
4 TGO Centre rural 2003 0.02110716 3.579113e-03 pyrethroid_only
5 TGO Centre rural 2004 0.14395837 1.402791e-01 pyrethroid_only
6 TGO Centre rural 2005 0.20412837 9.050257e-02 pyrethroid_only
pyrethroid_resistance dn0 rn0 rnm gamman
1 0.46 0.2933696 0.6736694 0.24 2.346871
2 0.48 0.2899376 0.6761727 0.24 2.331779
3 0.50 0.2869886 0.6783065 0.24 2.317303
4 0.53 0.2826286 0.6814312 0.24 2.294338
5 0.55 0.2792447 0.6838313 0.24 2.278917
6 0.57 0.2763609 0.6858590 0.24 2.262831
All of these bed net elements get translated into π¦ [malariasimulation] parameters when using the π¦ [site] site_parameters()
function.
We also include future resistance extrapolations in the $resistance
part of the site file.
π No time today to explore all of the amazing work on insecticide resistance and net efficacy, but huge thanks to Tom, Ellie and others for all the hard work!
mvw::run_tutorial("Bednet")