Option2stat: Compute implied standardized moments from calls and puts

Description Usage Arguments Value Examples

View source: R/Option2stat.R

Description

Option2stat returns first N standardized moments of an asset's risk neutral log return distribution from traded put and call options traded on that asset, with equal time to maturity. Note that, as there only a discrete number of options employed in this approximation, the accuracy of the result will quickly decrease with N.

Usage

1
Option2stat(XC, C, XP, P, S0, df, N)

Arguments

XC

vector of call strikes

C

vector of call prices

XP

vector of put strikes

P

vector of put prices

S0

optional, if not given will be approximated along the way

df

optional, if not given, will be approximated along the way

N

optional, will return the N (4) first standardized moments. Note that, as there only a discrete number of options employed in this approximation, the accuracy of the result will quickly decrease with N.

Value

Vector of N (4) first standardized moments

Examples

1
2

Diffform/IMOMBOX documentation built on March 22, 2020, 1:18 a.m.