MATLAB Help Center
Specify Cox-Ingersoll-Ross interest-rate volatility process
VolSpec = cirvolspec(Sigma,Alpha,Theta)
VolSpec = cirvolspec(Sigma,Alpha,Theta) creates a Cox-Ingersoll-Ross (CIR) VolSpec.
VolSpec
Sigma
Alpha
Theta
Note
Alternatively, you can use the Cap object to price cap instruments. For more information, see Get Started with Workflows Using Object-Based Framework for Pricing Financial Instruments.
Cap
example
collapse all
cirtree
Create a Cox-Ingersoll-Ross volatility specification (CIRVolSpec) using the following data.
CIRVolSpec
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
Volatility, specified as a scalar using a numeric value.
Data Types: double
double
Mean reversion speed, specified as a scalar using a numeric value.
Mean reversion level or long-term mean of the short rate, specified as a scalar using a numeric value.
Volatility model for the CIRTree, returned as a structure.
CIRTree
Introduced in R2018a
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
Europe
Asia Pacific
Contact your local office