Options
All
  • Public
  • Public/Protected
  • All
Menu

Cox-Ingersoll-Ross model class.

This class implements the Cox-Ingersoll-Ross model defined by $$ dr_t = k(\theta - r_t)dt + \sqrt{r_t}\sigma dW_t . $$

bug this class was not tested enough to guarantee its functionality.

Hierarchy

Implements

Implemented by

Index

Properties

_arguments

_arguments: Parameter[]

_constraint

_constraint: Constraint

_functionEvaluation

_functionEvaluation: Integer

_isDisposed

_isDisposed: boolean = false

_k

_observables

_observables: Set<Observable> = new Set()

_observers

_observers: Set<Observer> = new Set()

_problemValues

_problemValues: Real[]

_r0

_shortRateEndCriteria

_shortRateEndCriteria: Type

_sigma

_sigma: Parameter

_theta

_theta: Parameter

calibrate1

calibrate1: (instruments: CalibrationHelperBase[], method: OptimizationMethod, endCriteria: EndCriteria, additionalConstraint?: Constraint, weights?: Real[], fixParameters?: boolean[]) => void

Type declaration

calibrate2

calibrate2: (instruments: BlackCalibrationHelper[], method: OptimizationMethod, endCriteria: EndCriteria, additionalConstraint?: Constraint, weights?: Real[], fixParameters?: boolean[]) => void

Type declaration

cmInit

cmInit: (nArguments: Size) => CalibratedModel

Type declaration

constraint

constraint: () => Constraint

Type declaration

deepUpdate

deepUpdate: () => void

Type declaration

    • (): void
    • Returns void

discountBondOption2

discountBondOption2: (type: Type, strike: Real, maturity: Time, bondStart: Time, bondMaturity: Time) => Real

Type declaration

dispose

dispose: () => void

Type declaration

    • (): void
    • Returns void

endCriteria

endCriteria: () => Type

Type declaration

functionEvaluation

functionEvaluation: () => Integer

Type declaration

generateArguments

generateArguments: () => void

Type declaration

    • (): void
    • Returns void

isDisposed

isDisposed: boolean

notifyObservers

notifyObservers: () => void

Type declaration

    • (): void
    • Returns void

ofmInit

ofmInit: (nArguments: Size) => OneFactorModel

Type declaration

params

params: () => Real[]

Type declaration

problemValues

problemValues: () => Real[]

Type declaration

registerObserver

registerObserver: (o: Observer) => void

Type declaration

registerWith

registerWith: (h: Observable) => void

Type declaration

registerWithObservables

registerWithObservables: (o: Observer) => void

Type declaration

setParams

setParams: (params: Real[]) => void

Type declaration

    • (params: Real[]): void
    • Parameters

      Returns void

srmInit

srmInit: (nArguments: Size) => ShortRateModel

Type declaration

unregisterObserver

unregisterObserver: (o: Observer) => void

Type declaration

unregisterWith

unregisterWith: (h: Observable) => Size

Type declaration

unregisterWithAll

unregisterWithAll: () => void

Type declaration

    • (): void
    • Returns void

value1

value1: (params: Real[], instruments: CalibrationHelperBase[]) => Real

Type declaration

value2

value2: (params: Real[], instruments: BlackCalibrationHelper[]) => Real

Type declaration

Methods

A

B

cisrInit

  • Parameters

    • Default value r0: Real = 0.05
    • Default value theta: Real = 0.1
    • Default value k: Real = 0.1
    • Default value sigma: Real = 0.1
    • Default value withFellerConstraint: boolean = true

    Returns CoxIngersollRoss

discount

discountBond1

discountBond2

discountBondOption1

dynamics

k

  • Returns Real

ofamInit

sigma

  • Returns Real

theta

  • Returns Real

tree

update

  • update(): void

x0

  • Returns Real