Example 1
This example performs the optimization described in the paper to obtain the physical distribution P and the martingale distributions Q, where:
n
is the number of states consideredalpha
is a parameter limiting the second moment of the pricing kernellambda
is a parameter for the Tikhonov-type regularizationomega_l
includes the disjunct state space partitions of interestsp
represents the spot prices in 4 different states of the worldstrike
represents the strike prices of different optionsbid
represents the bid prices of different optionsask
represents the ask prices of different optionspflag
indicates whether an option si a call or a put optionresult
includes two elements: the P distribution and the Q distribution
Last updated