---
name: audit-coef-se-stars
description: Runs the policyreplication audit check `coef_se_stars` (coefficients, standard errors and stars agree). Use when auditing papers cited by U.S. policy documents for this check.
check_id: coef_se_stars
status: planned
tier: 1
unit: paper
needs: fulltext
cost: cpu
module: Reported-numbers consistency
depends_on: []
---

# Coefficients, standard errors and stars agree

The economics version of statcheck: for each regression table cell, |coefficient / SE| must match the significance stars under the table's own thresholds.

**When it applies:** Papers with regression tables.

## Inputs

- Extracted regression tables
- The table note (star legend, and whether parentheses hold SEs, t-statistics or intervals)

## When to run it

Cheap filters, cheapest first. The planner runs the check only on targets that pass them; the rest get a `not_applicable` row.

- Full text held, and tables extracted.
- Field is economics, finance, political science or public health (regression tables with stars).
- JEL codes present (any), where available: a reliable sign of an economics paper.
- Cheap text test: a star legend such as "* p < 0.1" or "*** significant at 1%".

Filter as SQL over the audit views (D1):

```sql
SELECT t.paper_id FROM audit_target t JOIN paper_fulltext f USING (paper_id) WHERE f.has_fulltext = 1
```

**Decision-model trigger:** None needed: the filter is exact and the check itself costs less than a model call.

## How to run

Not implemented yet. To build it, register a function with `@check(...)` in `audit/checks.py` style, using the id, tier, unit and needs above, and follow the steps below. Write a `not_applicable` row for every target the check skips.

## Steps

1. Read the star thresholds and what the parentheses hold from the table note.
2. Compute z = |b / se| for each cell.
3. Compare with the stars, allowing for rounding of b and se.

## Outcomes

| outcome | meaning |
| --- | --- |
| fail | stars off by two levels or more |
| flag | one level off |
| pass | all agree |
| not_applicable | no regression tables |

Every result row carries `evidence` (JSON: quotes, values, ids, URLs) so a reviewer can confirm it without rerunning.

## False positives

Parentheses that hold t-statistics or intervals; small-sample t thresholds instead of normal ones; rounding of tiny SEs.

**Precision:** Not measured.

## Prompt to give an agent

```
Run the policyreplication audit check `coef_se_stars` following audit/skills/coef_se_stars/SKILL.md
in github.com/Jomanw/policyreplication. Target corpus: sig2025 (change as needed).
Write one result per target to out/results.jsonl in the audit_result shape
(check_id, version, paper_id, citation_id, outcome, value, evidence).
Then report outcome counts and list every fail and flag with its evidence for
human review. Do not publish or contact anyone about a flag.
```

## Rules for agents

- Write a result for every target, including `not_applicable`, so denominators stay honest.
- A flag is a lead for human review, not a finding. Never publish or report a flag that names a paper or its authors until a person has checked it.
- Use only legally obtained full text. Record blocks; never bypass them.
- Avoid paid LLM calls unless the check's tier is 2 and a budget has been set.
