Yields come from the validator_yield rollup, recomputed on every pass from committed epoch snapshots. They are estimates from dividends actually paid, not a projection, and they are not taostats' formula: values differ from theirs.
For every committed epoch snapshot in which the hotkey held a validator permit on the subnet, the return is r = emission / total_stake, where total_stake is the hotkey's alpha stake plus its TAO (root) stake times TaoWeight. On root and before dTAO it is the TAO stake. Epochs with zero stake are skipped.
Over each window ending at the head (1 hour, 1 day, 7 days, 30 days) the mean of the per-epoch returns is r_w.
e is measured from the subnet's own epoch spacing over the last 30 days, so subnets with different tempos are comparable.
apy = (1 + r_w × e)^365 − 1: the daily return compounded daily for a year. The rewards tab of a validator turns it back into TAO per day on 1,000 TAO staked: 1000 × ((1 + apy)^(1/365) − 1).
The same rows are served by GET /api/v1/validators/yield (see the developer docs).