Skip to content

NCX2 distribution warning in CEV #11

@jaehyukchoi

Description

@jaehyukchoi
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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions