quantdata.dysanos.tangent_levy.physical_measure#

Optional low-dimensional physical-measure drift estimation.

class quantdata.dysanos.tangent_levy.physical_measure.PhysicalMeasureFit(theta, ridge, residual_rmse, target_drift_norm, explained_drift_fraction)[source]#

Bases: object

Regularized constant factor market price of risk.

quantdata.dysanos.tangent_levy.physical_measure.fit_constant_market_price_of_risk(forward_density_history, dynamics, *, ridge=0.0001, consecutive_mask=None)[source]#

Fit alpha_P = alpha_Q + sum beta_n theta_n to historical mean drift.

This function estimates a physical layer; it does not alter or re-estimate the HJM-consistent risk-neutral drift stored by the core model.