# 093. Zero recorded area analysis

**Question:** How does the share of zero recorded area vary by month?

## Result

The largest computed metric is 1 for jan; the smallest is 0 for dec. Metric: rate (Zero recorded-area share).

Zero is retained as an observed value. It does not mean that no fire occurred.

![Zero recorded area analysis](outputs/chart.png)

| month | events | n | rate | wilson_lower | wilson_upper |
| --- | --- | --- | --- | --- | --- |
| apr | 5 | 9 | 0.5556 | 0.2666 | 0.8112 |
| aug | 85 | 184 | 0.462 | 0.3914 | 0.534 |
| dec | 0 | 9 | 0 | 0 | 0.2992 |
| feb | 10 | 20 | 0.5 | 0.2993 | 0.7007 |
| jan | 2 | 2 | 1 | 0.3424 | 1 |
| jul | 14 | 32 | 0.4375 | 0.2817 | 0.6067 |
| jun | 9 | 17 | 0.5294 | 0.3096 | 0.7384 |
| mar | 35 | 54 | 0.6481 | 0.5148 | 0.7618 |
| may | 1 | 2 | 0.5 | 0.09453 | 0.9055 |
| nov | 1 | 1 | 1 | 0.2065 | 1 |
| oct | 10 | 15 | 0.6667 | 0.4171 | 0.8482 |
| sep | 75 | 172 | 0.436 | 0.3641 | 0.5108 |

The chart shows 12 of 12 result rows; the table previews the first 12 in the analysis-defined order. [Download the full result table](outputs/results.csv). Numerical values are computed from the source; missing results stay unavailable.

## Method

Zero-area indicator with monthly denominators and Wilson intervals.

The study uses shared source preparation and reusable statistical routines. Its specific transformations are in [analysis.py](analysis.py), and common model/evaluation code is in [portfolio/methods.py](../../portfolio/methods.py). The [notebook](analysis.ipynb) executes the study and displays the saved results.

## Decision and limitations

Confirm the source measurement convention before assigning zeros a physical meaning.

The sample consists of recorded fire observations, not all places and times at risk. Zero recorded area is not evidence of no ignition. No precise dates or event identifiers are supplied. This is not an emergency forecasting system. 

Related studies may share observations or holdouts. These are focused analytical studies, not independent replications or deployed business systems. Any model refinements informed by these results need new untouched evaluation data. No commercial impact is inferred from an association or backtest.

## Reproduce

From the repository root, after installing `requirements.txt`:

```powershell
python projects/093-zero-recorded-area-analysis/analysis.py
```

Source data are downloaded automatically if absent. Original archives are retained unchanged and checked by SHA-256. The cleaned cache normalizes column names; field-specific changes are visible in [data preparation](../../portfolio/data.py). Runtime evidence is in [receipt.json](outputs/receipt.json).

## Source

[Forest Fires](https://archive.ics.uci.edu/dataset/162/forest+fires), Cortez and Morais (2007). [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Source data are transformed and aggregated in this study. [Source provenance](../../data/provenance/fires.json) and [prepared-data audit](../../data/provenance/fires_prepared.json) record the downloaded files, field coverage and hashes.
