Chooses the shape parameter k so that a given share of total burned area falls in a given share of the largest fires.

landmine_estimate_kBest(
  biggestPossibleFireSizeHa,
  interval = c(0.05, 0.99),
  nDraws = 1e+06,
  topFireQuantile = 0.95,
  targetAreaShare = 0.95
)

Arguments

biggestPossibleFireSizeHa

numeric, the distribution's upper bound, in hectares.

interval

length-2 numeric, the search interval for k.

nDraws

integer, draws per objective evaluation. The objective is stochastic, so this trades run time against the precision of the fit.

topFireQuantile

numeric, the quantile defining "the largest fires" – 0.95 means the largest 5%.

targetAreaShare

numeric, the share of total burned area those fires should carry.

Value

A numeric scalar, the fitted shape parameter.

Details

This is a rule of thumb, deliberately not a fit to fire data: Dave Andison's "95% of the area is in 5% of the fires". The observational record (NBAC, NFDB) is used elsewhere, in the burn summaries, but not here – see the LandMine documentation for why that was decided.

The rule has been restated several times, and the module carried each earlier version as commented-out code. They are recorded here instead, since they are history rather than options:

  • "90% of area in 5% of fires" – the original rule of thumb;

  • "95% of area in 5% of fires" – Eliot's adjustment, because each year came out too constant and the regime needed more variation. This is what the defaults reproduce;

  • "95% of area in 10% of fires" (2018-10-23) – a further adjustment for still more variation, which was written but never adopted.

Because the objective draws nDraws random fire sizes on every evaluation, the result varies from call to call. Set a seed for reproducibility.

Examples

set.seed(1)
k <- landmine_estimate_kBest(1e6, nDraws = 1e4)