cirvolspec

Specify Cox-Ingersoll-Ross interest-rate volatility process

Description

example

VolSpec = cirvolspec(Sigma,Alpha,Theta) creates a Cox-Ingersoll-Ross (CIR) VolSpec.

Examples

collapse all

Create a Cox-Ingersoll-Ross volatility specification (CIRVolSpec) using the following data.

Alpha = 0.03; 
Theta = 0.02;  
Sigma = 0.1;   
CIRVolSpec = cirvolspec(Sigma,Alpha,Theta)
CIRVolSpec = struct with fields:
    FinObj: 'CIRVolSpec'
     Sigma: 0.1000
     Alpha: 0.0300
     Theta: 0.0200

Input Arguments

collapse all

Volatility, specified as a scalar using a numeric value.

Data Types: double

Mean reversion speed, specified as a scalar using a numeric value.

Data Types: double

Mean reversion level or long-term mean of the short rate, specified as a scalar using a numeric value.

Data Types: double

Output Arguments

collapse all

Volatility model for the CIRTree, returned as a structure.

See Also

Introduced in R2018a