public class AssetUniverseStatisticalProperties
extends java.lang.Object
| Constructor and Description |
|---|
AssetUniverseStatisticalProperties(double dblRiskFreeRate)
AssetUniverseStatisticalProperties Constructor
|
| Modifier and Type | Method and Description |
|---|---|
AssetStatisticalProperties |
asp(java.lang.String strID)
Retrieve the ASP Instance corresponding to the specified ID
|
double |
correlation(java.lang.String strID1,
java.lang.String strID2)
Retrieve the Correlation between the Specified Assets
|
double[][] |
covariance(java.lang.String[] astrID)
Retrieve the Asset Covariance Matrix
|
double[] |
expectedReturns(java.lang.String[] astrAssetID)
Retrieve the Asset Expected Returns Array
|
static AssetUniverseStatisticalProperties |
FromMultivariateMetrics(MultivariateMoments mvm)
Construct an Instance of AUSP from the corresponding MultivariateMetrics Instance
|
double |
riskFreeRate()
Retrieve the Risk Free Rate
|
boolean |
setASP(AssetStatisticalProperties asp)
Set the ASP Instance
|
boolean |
setCorrelation(java.lang.String strID1,
java.lang.String strID2,
double dblCorrelation)
Set the Correlation Between the Specified Assets
|
public AssetUniverseStatisticalProperties(double dblRiskFreeRate)
throws java.lang.Exception
dblRiskFreeRate - The Risk Free Ratejava.lang.Exception - Thrown if the Inputs are Invalidpublic static final AssetUniverseStatisticalProperties FromMultivariateMetrics(MultivariateMoments mvm)
mvm - The MultivariateMetrics Instancepublic boolean setASP(AssetStatisticalProperties asp)
asp - ASP Instancepublic boolean setCorrelation(java.lang.String strID1,
java.lang.String strID2,
double dblCorrelation)
strID1 - Asset #1strID2 - Asset #2dblCorrelation - Cross-asset Correlationpublic double riskFreeRate()
public AssetStatisticalProperties asp(java.lang.String strID)
strID - The ASP IDpublic double correlation(java.lang.String strID1,
java.lang.String strID2)
throws java.lang.Exception
strID1 - Asset #1strID2 - Asset #2java.lang.Exception - Thtrown if the Inputs are Invalidpublic double[] expectedReturns(java.lang.String[] astrAssetID)
astrAssetID - Array of Asset IDspublic double[][] covariance(java.lang.String[] astrID)
astrID - Array of Asset ID