# OLS Weighted Telescopic Form

> [!TIP]
> **Quick start:** run `./run_all.sh` from the repo root to reproduce paper figures (default), or `./run_all.sh --all` for the full pipeline.

## Overview

This folder contains the numerical derivation and verification of the OLS weighted telescopic form used in the theoretical motivation section of the paper.

## Paper Output

| Output | Produced by |
|---|---|
| Table: `Inclusion_Exclusion_Table_OLS` | `OLS_Weighted_Telescopic_Form.ipynb` |

## Files

| File | Description |
|---|---|
| `OLS_Weighted_Telescopic_Form.ipynb` | Self-contained notebook that derives and numerically validates the inclusion-exclusion structure of OLS weights under the telescoping window design |

## Running

```bash
# Easiest — from repo root:
./run_all.sh

# Or manually:
cd analysis/OLS_Weighted_Telescopic_Form
jupyter notebook OLS_Weighted_Telescopic_Form.ipynb
```

No external data files are required; all computation is self-contained within the notebook.
