Package org.drip.regression.curve
Class ZeroCurveRegressor
java.lang.Object
org.drip.regression.curve.ZeroCurveRegressor
- All Implemented Interfaces:
RegressorSet
public class ZeroCurveRegressor extends java.lang.Object implements RegressorSet
ZeroCurveRegressor implements the regression analysis set for the Zero Curve. The regression tests
do the consists of the following:
- Build a discount curve, followed by the zero curve
- Regressor #1: Compute zero curve discount factors
- Regressor #2: Compute zero curve zero rates
- Module = Computational Core Module
- Library = Computation Support
- Project = Regression Engine Core and the Unit Regressors
- Package = Curve Construction/Reconciliation Regression Engine
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description ZeroCurveRegressor()ZeroCurveRegressor constructor - Creates the base zero curve and initializes the regression objects -
Method Summary
Modifier and Type Method Description java.util.List<UnitRegressor>getRegressorSet()Retrieve the list of regressorsjava.lang.StringgetSetName()Retrieve the Regression Set NamebooleansetupRegressors()Set up the list of Regressors in the setMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ZeroCurveRegressor
public ZeroCurveRegressor()ZeroCurveRegressor constructor - Creates the base zero curve and initializes the regression objects
-
-
Method Details
-
setupRegressors
public boolean setupRegressors()Description copied from interface:RegressorSetSet up the list of Regressors in the set- Specified by:
setupRegressorsin interfaceRegressorSet- Returns:
- TRUE if set up is successful
-
getRegressorSet
Description copied from interface:RegressorSetRetrieve the list of regressors- Specified by:
getRegressorSetin interfaceRegressorSet- Returns:
- List of regressors
-
getSetName
public java.lang.String getSetName()Description copied from interface:RegressorSetRetrieve the Regression Set Name- Specified by:
getSetNamein interfaceRegressorSet- Returns:
- Regression Set Name
-