cirvolspec
Specify Cox-Ingersoll-Ross interest-rate volatility process
Description
Examples
Create a Structure Specifying the Volatility for cirtree
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
Sigma
— Volatility
numeric
Volatility, specified as a scalar using a numeric value.
Data Types: double
Alpha
— Mean reversion speed
numeric
Mean reversion speed, specified as a scalar using a numeric value.
Data Types: double
Theta
— Mean reversion level or long-term mean of short rate
numeric
Mean reversion level or long-term mean of the short rate, specified as a scalar using a numeric value.
Data Types: double
Output Arguments
VolSpec
— Volatility model for CIR tree
structure
Volatility model for the CIRTree
, returned as a structure.
Version History
Introduced in R2018a
See Also
Open Example
You have a modified version of this example. Do you want to open this example with your edits?
MATLAB Command
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
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)