# Data dictionary

## `outputs/cpi_selected_indices.csv`

- `date`: first day of the reference month.
- `米`, `豬肉`, `牛肉`, `雞肉`, `雞蛋`, `水產品`, `蔬菜`, `水果`, `食用油`, `中式米食`, `中式麵食`, `總指數`: DGBAS consumer price indices, base year 2021=100.

## `outputs/cpi_log_changes_mom.csv`

Monthly log change in percentage points: `100 × [ln(P_t) − ln(P_t−1)]`.

## `outputs/cpi_log_changes_yoy.csv`

Year-on-year log change in percentage points: `100 × [ln(P_t) − ln(P_t−12)]`.

## `outputs/rice_price_correlations.csv`

- `product`: candidate agricultural product.
- `n_mom`, `n_yoy`: valid paired observations.
- `pearson_mom`, `pearson_yoy`: Pearson correlations with rice monthly or year-on-year log changes.
- `spearman_mom`, `spearman_yoy`: rank correlations with rice changes.

## `outputs/prepared_rice_food_models.csv`

Separate OLS models of prepared Chinese rice-food year-on-year inflation on each product's inflation, all-items CPI inflation, and calendar-month fixed effects.

- `beta`: coefficient on the named product.
- `se_hac`, `p_hac`, `ci_low`, `ci_high`: 12-lag Newey–West HAC inference.
- `r2`: model R-squared. It must not be interpreted as causal attribution.

## `outputs/festival_month_models.csv`

Separate OLS models of each product's monthly log change on an indicator for the month containing lunar 7/15, calendar-month fixed effects, and a linear trend. Inference is 12-lag Newey–West HAC.

## `outputs/hog_market_daily_aggregate.csv`

- `date`: market trading date.
- `heads`: total transactions excluding frozen factories across reporting markets.
- `weighted_price`: head-count-weighted average price in NTD/kg.
- `price_7d`, `heads_7d`: rolling seven-trading-day means, requiring at least three observations.

