Using the data provided, create a stock specification (StockSpec), rate specification (RateSpec), and tree time layout specification (TimeSpec). Then use these specifications to create a CRR tree with crrtree.
Stock specification, specified by the StockSpec obtained
from stockspec. See stockspec for information on creating
a stock specification.
Data Types: struct
Interest-rate specification for initial risk-free rate curve,
specified by the RateSpec obtained from intenvset. For information on the interest-rate
specification, see intenvset.
Note
The standard CRR tree assumes a constant interest rate, but RateSpec allows
you to specify an interest-rate curve with varying rates. If you specify
variable interest rates, the resulting tree is not a standard CRR
tree.
Data Types: struct
Tree time layout specification, specified by the TimeSpec obtained
from crrtimespec. The TimeSpec defines
the observation dates of the CRR binomial tree. See crrtimespec for information on the tree
structure.
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.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.