Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NCX2 distribution warning in CEV #11

Open
jaehyukchoi opened this issue Feb 22, 2021 · 0 comments
Open

NCX2 distribution warning in CEV #11

jaehyukchoi opened this issue Feb 22, 2021 · 0 comments
Assignees

Comments

@jaehyukchoi
Copy link
Member

FER::CevPrice(seq(0.1, 2, 0.1), 1, 1, sigma=0.1, beta=0.5)

causing a warning message

Warning message:
In stats::pchisq(800, df = 4, ncp = 400, lower.tail = F) :
  full precision may not have been achieved in 'pnchisq'

strike=2 corresponds to

stats::pchisq(800, df=4, ncp=400, lower.tail=F)
  • It is just a warning. The value seems OK. How to make the warnings silent?
  • Also consider Hagan's equivalent BS volatility for very small volatility.
@jaehyukchoi jaehyukchoi self-assigned this Feb 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant