pub struct EulerAllocationResult {
pub portfolio_risk_measure: f64,
pub portfolio_mean: f64,
pub portfolio_risk_capital: f64,
pub standalone_means: Vec<f64>,
pub standalone_risk_measures: Vec<f64>,
pub allocated_total: Vec<f64>,
pub allocated_capital: Vec<f64>,
pub allocation_shares: Vec<f64>,
pub diversification_credit: Vec<f64>,
pub diversification_ratio: f64,
}Expand description
Output of an Euler coherent risk-measure capital allocation across d lines.
Fields§
§portfolio_risk_measure: f64Portfolio aggregate risk measure rho(S).
portfolio_mean: f64Portfolio expected loss E[S].
portfolio_risk_capital: f64Portfolio risk capital above mean rho(S) - E[S].
standalone_means: Vec<f64>Standalone expected loss E[X_i] per line (length d).
standalone_risk_measures: Vec<f64>Standalone risk measure rho(X_i) per line (length d).
allocated_total: Vec<f64>Euler allocated total risk measure AC_i per line (sum_i AC_i == rho(S)).
allocated_capital: Vec<f64>Euler allocated risk capital above mean AC_i - E[X_i] per line.
Allocation shares AC_i / rho(S) per line (summing to 1.0 when rho(S) != 0).
diversification_credit: Vec<f64>Diversification credit per line: standalone_risk_measures[i] - allocated_total[i].
diversification_ratio: f64Portfolio diversification ratio rho(S) / sum_i rho(X_i).
Trait Implementations§
Source§impl Clone for EulerAllocationResult
impl Clone for EulerAllocationResult
Source§impl Debug for EulerAllocationResult
impl Debug for EulerAllocationResult
Source§impl<'de> Deserialize<'de> for EulerAllocationResult
impl<'de> Deserialize<'de> for EulerAllocationResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EulerAllocationResult
impl PartialEq for EulerAllocationResult
Source§impl Serialize for EulerAllocationResult
impl Serialize for EulerAllocationResult
impl StructuralPartialEq for EulerAllocationResult
Auto Trait Implementations§
impl Forget for EulerAllocationResult
impl Freeze for EulerAllocationResult
impl Move for EulerAllocationResult
impl RefUnwindSafe for EulerAllocationResult
impl Send for EulerAllocationResult
impl Sync for EulerAllocationResult
impl Unpin for EulerAllocationResult
impl UnsafeUnpin for EulerAllocationResult
impl UnwindSafe for EulerAllocationResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more