|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.akutan.blacklitterman.BLView
public class BLView
Models a single view in the Black-Litterman model.
| Field Summary | |
|---|---|
protected boolean |
_absolute
Indicates whether the view is relative of absolute |
protected double |
_confidence
Indicates an Idzorek style confidence in the view |
protected double |
_er
Expected return of the view portfolio |
protected java.lang.String |
_name
Name of the view |
protected double |
_omega
Uncertainty/variance of the estimated return of the view portfolio |
protected cern.colt.matrix.DoubleMatrix1D |
_weights
Weights of the assets in the view portfolio |
| Constructor Summary | |
|---|---|
BLView(java.lang.String name,
boolean absolute,
double confidence,
cern.colt.matrix.DoubleMatrix1D weights,
double er)
Constructs a Black-Litterman view |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clones the view (deep copy) |
double |
getConfidence()
Returns the Idzorek style confidence if one has been supplied |
double |
getEr()
Returns the expected return of the view portfolio |
java.lang.String |
getName()
Returns the name of the view |
double |
getOmega()
Returns the uncertainty/variance of the view portfolio |
cern.colt.matrix.DoubleMatrix1D |
getWeights()
Returns the vector of weights |
boolean |
isAbsolute()
|
void |
setConfidence(double confidence)
Sets the Idzorek style confidence |
void |
setEr(double er)
Sets the expected return of the view portfolio |
void |
setOmega(double omega)
Sets the uncertainty/variance of the view portfolio |
void |
setWeights(cern.colt.matrix.DoubleMatrix1D weights)
Sets the vector of weights |
java.lang.String |
toString()
Formats the view as a String for debugging |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String _name
protected boolean _absolute
protected double _confidence
protected cern.colt.matrix.DoubleMatrix1D _weights
protected double _er
protected double _omega
| Constructor Detail |
|---|
public BLView(java.lang.String name,
boolean absolute,
double confidence,
cern.colt.matrix.DoubleMatrix1D weights,
double er)
name - Name of the viewabsolute - Indicates the view is absolute or relativeconfidence - Idzorek style confidence value if relevantweights - The weights of the assets within the view portfolioer - The expected return of the view portfolio| Method Detail |
|---|
public java.lang.String getName()
public boolean isAbsolute()
public double getConfidence()
public void setConfidence(double confidence)
confidence - public cern.colt.matrix.DoubleMatrix1D getWeights()
public void setWeights(cern.colt.matrix.DoubleMatrix1D weights)
weights - public double getEr()
public void setEr(double er)
er - public double getOmega()
public void setOmega(double omega)
omega - public java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||