AmerPutLSM_CV(Spot = 1, sigma = 0.2, n = 1000, m = 365, Strike = 1.1, r = 0.06,
dr = 0, mT = 1)
"print"(x, ...)
"summary"(object, ...)AmerPutLSM_CV. AmerPutLSM_CV. print function gives the option type information and the price. The price as a single number can be derived using the price function. An overview of the entire object can be seen using the summary function.
Longstaff, F.A., and E.S. Schwartz. 2000. Valuing american option by simulation: A simple least-squared approach. The Review of Financial Studies. 14:113-147.
price,
AmerPutLSM,
AmerPutLSM_AV,
AsianAmerPutLSM, and
QuantoAmerPutLSM.
AmerPutLSM_CV()
put<-AmerPutLSM_CV(Spot=14.2, Strike=16.5, n=200, m=50)
put
summary(put)
price(put)
put$price
Run the code above in your browser using DataLab