Compute Choquet price for a Solar Option
solarOption_choquet(
model,
moments,
portfolio,
nmonths = 1:12,
lambda = 0,
implvol = 1,
put = TRUE,
control_options = control_solarOption()
)An object with the class solarModel. See the function solarModel for details.
Tibble containing the forecasted moments for different days ahead. See the function solarMoments for more details.
Optional, A list of objects of the class solarOptionPortfolio.
Numeric vector, months in which the payoff should be computed. Can vary from 1 (January) to 12 (December).
Numeric, Sugeno parameter.
Numeric, implied volatility.
Logical, when TRUE, the default, will be computed the price for a put contract, otherwise for a call contract.
Named list with control parameters. See control_solarOption for more details.
Version 1.0.0.
model = solarModel$new(spec)
model$fit()
#> No outliers!
moments <- model$moments$unconditional[1:365,]
lambda = 0
control_options = control_solarOption()
solarOption_choquet(model, moments[1:30,], lambda = 0.01)
#> Error in UseMethod("filter"): no applicable method for 'filter' applied to an object of class "NULL"
solarOption_model(model, moments[1,])
#> Error in UseMethod("filter"): no applicable method for 'filter' applied to an object of class "NULL"
solarOption_choquet(model, moments, lambda = 0.1, put = F)
#> Error in UseMethod("filter"): no applicable method for 'filter' applied to an object of class "NULL"