Longstaff Schwartz American Option Price Analysis
Simple implementation of the Longstaff Schwartz Least Square Regression approach and highlights how increasing the polynomial basis functions improves the convergence as expected.
Note that the run time will increase when number of sims increases.
Run the AmericanOptionExample.m file and probably best to run the first section to check run time.
Cite As
Ahmos Sansom (2024). Longstaff Schwartz American Option Price Analysis (https://www.mathworks.com/matlabcentral/fileexchange/64716-longstaff-schwartz-american-option-price-analysis), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Regression > Linear Regression >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |