logo

0. Overview

This report provides a science-based framework for determining the number of farmer focus groups necessary for an accurate estimate of historical climate risk in the 1AF Nigeria index insurance project.

This analysis takes a social science power calculations approach, in which some evidence-based assumptions about the outcome under study and the similarity of observations within a sampling unit are used to estimate the trade-off between sample size and precision.

In this case, we want to know a) how many wards (administrative level 3 units) we must sample and b) how many villages we must sample within each ward in order to reach a certain level of precision. The answer to this question depends on how much variability there is in farmers’ responses within v.s. between wards (the “intra-cluster correlation” or ICC). For example, if all villages within a ward give us similar answers, but answers vary a large amount between wards, than we can achieve a greater level of precision for the same cost by sampling more wards, but fewer villages per ward.

Since we do not have farmer data from this area of Nigeria yet, our estimate of the ICC must come from a previous survey. Fortunately, in this case, we can draw on the national survey of nearly 1,000 villages conducted for Zambia’s FISP program, which collected very similar types of data. We use assumptions drawn from this comparable data to simulate the trade-off between sample size and precision in the 1AF Nigeria project.

The following graphs show the results of our statistical power calculations for the 1AF Nigeria project. Using these graphs, we can find the optimal number of wards and the optimal number of villages per ward to sample in order to reach a certain level of precision. The graphs show the trade-off between sample size and statistical power, which is defined as the probability of correctly identifying our feature of interest (i.e., whether or not a given year was bad for farmers) in the population. The Appendix describes our methodology in greater detail.

The key finding from this analysis is that sufficient statistical power is reached with a sample of around 20-25 wards, and around 3-4 villages per ward, for a total of 60-100 focus groups.

In Section 2 of this analysis, we present some suggestions of how to sample villages within wards.


1. Results

This graph shows the trade-off between the number of wards sampled and statistical power, holding the number of samples per cluster fixed at 5. Conventionally, a statistical power of 80% or greater is considered sufficient. We see that this level is reached somewhere between 20 and 25 wards.


This graph shows the trade-off between the number of villages sampled per ward and statistical power, holding the number of wards fixed at 30. Conventionally, a statistical power of 80% or greater is considered sufficient. We see that this level is reached at around 3 to 4 villages.


Note that we do not yet have information on where villages are located within the wards. Care should be taken that the sample is geographically representative of where farmers live within each ward; for example, enumerators in Zambia split each administrative area into quadrants and randomly visited one village per quadrant. Local expertise is essential for this selection.

There are a total of 113 wards across the project area, pictured below.

2. Geographic Context

To information the targeting of the village sample, we analyze the geographic distribution of climate conditions and population within the project area.

We find that the project areas experience similar patterns of drought and extreme rainfall – 70% of the overall variability in rainfall extremes from 1983-2022 is common across LGAs.

These plots present principal components analysis (PCA) results for Nigeria overall as well as the project area alone. This analysis finds the distinct patterns of extreme rainfall that explain the most variability of historical conditions. For visual interpretation, we map the the pattern that explains the most variance (component 1) to the color red, component 2 to blue, and component 3 to green.

In both cases, the most important rainfall extremes are common to the entire project area – as depicted by the uniform red. Secondarily, there is some north-south gradient (blue), but this explains a much smaller fraction of the overall variation.

In sum, this analysis suggests that there are not identifiable micro-climates within the project area, at least in terms of what can be measured by satellite based rainfall estimates. This means there is no strong motivation for stratifying the farmer sample by climate.

The project years also exhibit similar average climate conditions in absolute terms as well as in extremes – they share the same Koppen climate classification of Aw (tropical savanna).

A reference for Koppen classifications and their corresponding colors can be found here.

For further reference, the distribution of population (as estimated by the publicly available WorldPop dataset) within the project areas is shown below. This may be useful for discriminating between urban and rural wards.


3. Appendix - Full Methodology

In our Zambia FISP data, we have a sample of about 40 years, measuring whether or not each was bad (for simplicity here, a binary outcome), from about 1,000 villages. Villages are located in districts (admin 2) which are located within provinces (admin 1).

Some variation in farmers’ responses is due to actual variation in weather patterns and farming practices between areas; other is due to things like recall and entry error, which we will treat as stochastic for the sake of this exercise.

We want to figure out how many localities to sample, and how many farmers to sample in a given locality, in order to get a sufficiently precise picture of each location’s bad years. For a given level of precision, the optimal balance between those two choices depends on the intra-cluster (i.e., locality) correlation in outcomes.

Using the Zambia data, we can approximate that quantity. To decompose the variability in the data into within- and between-cluster variability, we use a multilevel random effects model, in which the data is modeled as a hierarchy of years -> provinces -> districts -> camps. The results are as follows:

## Generalized linear mixed model fit by maximum likelihood (Laplace
##   Approximation) [glmerMod]
##  Family: binomial  ( logit )
## Formula: is_bad ~ (1 | year/province/district)
##    Data: fby.df.all
## 
##      AIC      BIC   logLik deviance df.resid 
##  31726.6  31760.1 -15859.3  31718.6    32556 
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -1.7666 -0.5044 -0.3904 -0.2726  4.1065 
## 
## Random effects:
##  Groups                   Name        Variance Std.Dev.
##  district:(province:year) (Intercept) 0.5683   0.7539  
##  province:year            (Intercept) 0.1889   0.4346  
##  year                     (Intercept) 0.2629   0.5127  
## Number of obs: 32560, groups:  
## district:(province:year), 4218; province:year, 370; year, 37
## 
## Fixed effects:
##             Estimate Std. Error z value Pr(>|z|)    
## (Intercept)  -1.5399     0.0899  -17.13   <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

The first term gives us an estimate of the intra-cluster (i.e., within a given district, holding year and province constant) correlation, which is close to 56%.

Given that, and the formula for proportion confidence intervals in a cluster-randomized design, we can back out the power calculations presented above.

We need one last set of assumptions for this exercise, which are the null and alternative hypotheses for the true proportion of the outcome in our population. Since we are trying to capture bad years of a given frequency (i.e. the worst 8 years of the last 40), we have an obvious choice for the alternative hypothesis: The “true” bad years should appear in the set of all years 1/8th of the time. For the null, we can calculate how likely those years would appear if one were guessing at random from all years (~1/40th of the time).

From these assumptions, we can calculate power curves for the number of clusters and the number of villages per cluster.