"""Estimate benchmark sensitivity.

A beta of two describes sample sensitivity; it does not guarantee double the future return.
All inputs are synthetic teaching examples. Run: python 29_regression-beta.py
"""
from tv_math import *

v=beta([.02,.04,.06],[.01,.02,.03])
assert abs(v-2)<1e-12
print(v)
