Package org.drip.capital.allocation
Class EntityElasticityAttribution
java.lang.Object
org.drip.capital.allocation.EntityElasticityAttribution
public class EntityElasticityAttribution
extends java.lang.Object
EntityElasticityAttribution holds the Attributions across all Entity Components into Fixed, Float,
and Pro-rata Elasticities. The References are:
- Bank for International Supervision (2005): Stress Testing at Major Financial Institutions: Survey Results and Practice https://www.bis.org/publ/cgfs24.htm
- Glasserman, P. (2004): Monte Carlo Methods in Financial Engineering Springer
- Kupiec, P. H. (2000): Stress Tests and Risk Capital Risk 2 (4) 27-39
- Module = Portfolio Core Module
- Library = Capital Analytics
- Project = Basel Market Risk and Operational Capital
- Package = Economic Risk Capital Entity Allocation
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description EntityElasticityAttribution(CorrelationCategoryBetaManager correlationCategoryBetaManager, boolean unitLoading)
EntityElasticityAttribution Constructor -
Method Summary
Modifier and Type Method Description boolean
accumulate(PnLAttribution pnlAttribution, EntityCapitalAssignmentSetting entityCapitalAssignmentSetting)
Accumulate with the Beta-Adjusted Component Attributionboolean
accumulateCorrelated(double correlatedAttribution, int correlatedAllocationCategory, int correlatedAllocationScheme)
Accumulate the Correlated Attribution with the Beta-Adjusted Component Attributionboolean
accumulateCorrelatedFixed(double correlatedFixedAttribution)
Accumulate the Correlated Fixed Attributionboolean
accumulateCorrelatedFloating(double correlatedFloatingAttribution)
Accumulate the Correlated Floating Attributionboolean
accumulateCorrelatedProRata(double correlatedProRataAttribution)
Accumulate the Correlated Pro-Rata Attributionboolean
accumulateIdiosyncratic(double idiosyncraticAttribution, int idiosyncraticAllocationCategory, int idiosyncraticAllocationScheme)
Accumulate the Idiosyncratic Attribution with the Beta-Adjusted Component Attributionboolean
accumulateIdiosyncraticFixed(double idiosyncraticFixedAttribution)
Accumulate the Idiosyncratic Fixed Attributionboolean
accumulateIdiosyncraticFloating(double idiosyncraticFloatingAttribution)
Accumulate the Idiosyncratic Floating Attributionboolean
accumulateIdiosyncraticProRata(double idiosyncraticProRataAttribution)
Accumulate the Idiosyncratic Pro-Rata Attributionboolean
accumulateNoStress(double noStressAttribution, int noStressAllocationCategory, int noStressAllocationScheme)
Accumulate the No Stress Attribution with the Beta-Adjusted Component Attributionboolean
accumulateNoStressFixed(double noStressFixedAttribution)
Accumulate the No-Stress Fixed Attributionboolean
accumulateNoStressFloating(double noStressFloatingAttribution)
Accumulate the No-Stress Floating Attributionboolean
accumulateNoStressProRata(double noStressProRataAttribution)
Accumulate the No-Stress Pro-Rata Attributionboolean
accumulateSystemic(double systemicAttribution, int systemicAllocationCategory, int systemicAllocationScheme)
Accumulate the Systemic Attribution with the Beta-Adjusted Component Attributionboolean
accumulateSystemicFixed(double systemicFixedAttribution)
Accumulate the Systemic Fixed Attributionboolean
accumulateSystemicFloating(double systemicFloatingAttribution)
Accumulate the Systemic Floating Attributionboolean
accumulateSystemicProRata(double systemicProRataAttribution)
Accumulate the Systemic Pro-Rata AttributionEntityComponentElasticityAttribution
correlated()
Retrieve the Correlated Elasticity Attributiondouble
correlatedProRata()
Retrieve the Pro-Rata Correlated Capitaldouble
correlatedTotal()
Retrieve the Total Correlated Component Capitaldouble
fixed()
Retrieve the Fixed Beta Capital Componentdouble
floating()
Retrieve the Floating Beta Capital ComponentEntityComponentElasticityAttribution
idiosyncratic()
Retrieve the Idiosyncratic Elasticity Attributiondouble
idiosyncraticProRata()
Retrieve the Pro-Rata Idiosyncratic Capitaldouble
idiosyncraticTotal()
Retrieve the Total Idiosyncratic Component CapitalEntityComponentElasticityAttribution
noStress()
Retrieve the "No Stress" Elasticity Attributiondouble
noStressProRata()
Retrieve the Pro-Rata No-Stress Capitaldouble
noStressTotal()
Retrieve the Total No Stress Component Capitaldouble
proRata()
Retrieve the Pro-Rata Beta Capital ComponentEntityComponentElasticityAttribution
systemic()
Retrieve the Systemic Elasticity Attributiondouble
systemicProRata()
Retrieve the Pro-Rata Systemic Capitaldouble
systemicTotal()
Retrieve the Total Systemic Component CapitalMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
EntityElasticityAttribution
public EntityElasticityAttribution(CorrelationCategoryBetaManager correlationCategoryBetaManager, boolean unitLoading) throws java.lang.ExceptionEntityElasticityAttribution Constructor- Parameters:
correlationCategoryBetaManager
- The Correlation Category Beta ManagerunitLoading
- The Unit Loading Flag- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
systemic
Retrieve the Systemic Elasticity Attribution- Returns:
- The Systemic Elasticity Attribution
-
idiosyncratic
Retrieve the Idiosyncratic Elasticity Attribution- Returns:
- The Idiosyncratic Elasticity Attribution
-
noStress
Retrieve the "No Stress" Elasticity Attribution- Returns:
- The "No Stress" Elasticity Attribution
-
accumulateSystemicFixed
public boolean accumulateSystemicFixed(double systemicFixedAttribution)Accumulate the Systemic Fixed Attribution- Parameters:
systemicFixedAttribution
- Systemic Fixed Attribution- Returns:
- TRUE - The Systemic Fixed Attribution successfully updated
-
accumulateIdiosyncraticFixed
public boolean accumulateIdiosyncraticFixed(double idiosyncraticFixedAttribution)Accumulate the Idiosyncratic Fixed Attribution- Parameters:
idiosyncraticFixedAttribution
- Idiosyncratic Fixed Attribution- Returns:
- TRUE - The Idiosyncratic Fixed Attribution successfully updated
-
accumulateNoStressFixed
public boolean accumulateNoStressFixed(double noStressFixedAttribution)Accumulate the No-Stress Fixed Attribution- Parameters:
noStressFixedAttribution
- No-Stress Fixed Attribution- Returns:
- TRUE - The No-Stress Fixed Attribution successfully updated
-
accumulateSystemicFloating
public boolean accumulateSystemicFloating(double systemicFloatingAttribution)Accumulate the Systemic Floating Attribution- Parameters:
systemicFloatingAttribution
- Systemic Floating Attribution- Returns:
- TRUE - The Systemic Floating Attribution successfully updated
-
accumulateIdiosyncraticFloating
public boolean accumulateIdiosyncraticFloating(double idiosyncraticFloatingAttribution)Accumulate the Idiosyncratic Floating Attribution- Parameters:
idiosyncraticFloatingAttribution
- Idiosyncratic Floating Attribution- Returns:
- TRUE - The Idiosyncratic Floating Attribution successfully updated
-
accumulateNoStressFloating
public boolean accumulateNoStressFloating(double noStressFloatingAttribution)Accumulate the No-Stress Floating Attribution- Parameters:
noStressFloatingAttribution
- No-Stress Floating Attribution- Returns:
- TRUE - The No-Stress Floating Attribution successfully updated
-
accumulateSystemicProRata
public boolean accumulateSystemicProRata(double systemicProRataAttribution)Accumulate the Systemic Pro-Rata Attribution- Parameters:
systemicProRataAttribution
- Systemic Pro-Rata Attribution- Returns:
- TRUE - The Systemic Pro-Rata Attribution successfully updated
-
accumulateIdiosyncraticProRata
public boolean accumulateIdiosyncraticProRata(double idiosyncraticProRataAttribution)Accumulate the Idiosyncratic Pro-Rata Attribution- Parameters:
idiosyncraticProRataAttribution
- Idiosyncratic Pro-Rata Attribution- Returns:
- TRUE - The Idiosyncratic Pro-Rata Attribution successfully updated
-
accumulateNoStressProRata
public boolean accumulateNoStressProRata(double noStressProRataAttribution)Accumulate the No-Stress Pro-Rata Attribution- Parameters:
noStressProRataAttribution
- No-Stress Pro-Rata Attribution- Returns:
- TRUE - The No-Stress Pro-Rata Attribution successfully updated
-
accumulateSystemic
public boolean accumulateSystemic(double systemicAttribution, int systemicAllocationCategory, int systemicAllocationScheme)Accumulate the Systemic Attribution with the Beta-Adjusted Component Attribution- Parameters:
systemicAttribution
- The Systemic AttributionsystemicAllocationCategory
- The Systemic Allocation CategorysystemicAllocationScheme
- The Systemic Allocation Scheme- Returns:
- TRUE - The Systemic Partition with the Beta-Adjusted Increment
-
accumulateIdiosyncratic
public boolean accumulateIdiosyncratic(double idiosyncraticAttribution, int idiosyncraticAllocationCategory, int idiosyncraticAllocationScheme)Accumulate the Idiosyncratic Attribution with the Beta-Adjusted Component Attribution- Parameters:
idiosyncraticAttribution
- The Idiosyncratic AttributionidiosyncraticAllocationCategory
- The Idiosyncratic Allocation CategoryidiosyncraticAllocationScheme
- The Idiosyncratic Allocation Scheme- Returns:
- TRUE - The Idiosyncratic Partition with the Beta-Adjusted Increment
-
accumulateNoStress
public boolean accumulateNoStress(double noStressAttribution, int noStressAllocationCategory, int noStressAllocationScheme)Accumulate the No Stress Attribution with the Beta-Adjusted Component Attribution- Parameters:
noStressAttribution
- The No Stress AttributionnoStressAllocationCategory
- The No Stress Allocation CategorynoStressAllocationScheme
- The No Stress Allocation Scheme- Returns:
- TRUE - The No Stress Partition with the Beta-Adjusted Increment
-
accumulate
public boolean accumulate(PnLAttribution pnlAttribution, EntityCapitalAssignmentSetting entityCapitalAssignmentSetting)Accumulate with the Beta-Adjusted Component Attribution- Parameters:
pnlAttribution
- PnL AttributionentityCapitalAssignmentSetting
- Entity Capital Assignment Setting- Returns:
- TRUE - The Accumulation is successful
-
systemicTotal
public double systemicTotal()Retrieve the Total Systemic Component Capital- Returns:
- The Total Systemic Component Capital
-
idiosyncraticTotal
public double idiosyncraticTotal()Retrieve the Total Idiosyncratic Component Capital- Returns:
- The Total Idiosyncratic Component Capital
-
noStressTotal
public double noStressTotal()Retrieve the Total No Stress Component Capital- Returns:
- The Total No Stress Component Capital
-
fixed
public double fixed()Retrieve the Fixed Beta Capital Component- Returns:
- The Fixed Beta Capital Component
-
floating
public double floating()Retrieve the Floating Beta Capital Component- Returns:
- The Floating Beta Capital Component
-
proRata
public double proRata()Retrieve the Pro-Rata Beta Capital Component- Returns:
- The Pro-Rata Beta Capital Component
-
systemicProRata
public double systemicProRata()Retrieve the Pro-Rata Systemic Capital- Returns:
- The Pro-Rata Systemic Capital
-
idiosyncraticProRata
public double idiosyncraticProRata()Retrieve the Pro-Rata Idiosyncratic Capital- Returns:
- The Pro-Rata Idiosyncratic Capital
-
noStressProRata
public double noStressProRata()Retrieve the Pro-Rata No-Stress Capital- Returns:
- The Pro-Rata No-Stress Capital
-