Help CenterHelp Center
cirtree
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
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
Hai fatto clic su un collegamento che corrisponde a questo comando MATLAB:
Esegui il comando inserendolo nella finestra di comando MATLAB. I browser web non supportano i comandi MATLAB.
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:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office