docs.rs failed to build toraniko-model-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
toraniko-model
Factor return estimation for the toraniko factor model.
Overview
This crate provides the core factor return estimation logic, implementing a characteristic factor model similar to Barra and Axioma systems.
Key Types
FactorReturnsEstimator- Main entry point for factor return estimationEstimatorConfig- Configuration for the estimator
Usage
use ;
use ReturnsEstimator;
let estimator = with_config;
let = estimator.estimate?;
Mathematical Model
The factor model decomposes asset returns as:
r_asset = β_market * r_market + Σ(β_sector * r_sector) + Σ(β_style * r_style) + ε
Where:
r_marketis the market factor returnr_sectorare sector factor returns (constrained to sum to zero)r_styleare style factor returnsεis the idiosyncratic residual