I admit I don't know what this is about, I briefly looked at this thread just now and I saw 50x50 grid and 7 digits accuracy in one sentence and I don't think I've ever seen that. I'm assuming this is a discretized 2D PDE solved with FDM you're talking about. Do you use a sixth or eighth order discretization?The Goursat FDM generates the matrix of values in one sweep. Then use interpolation for in-between values.
On a 50X50 grid we can easily get 7 digits accuracy.
** Trial #1
Subdivisions NX, NY: 72,86
Current max error: 0.007715036011428828
** Trial #2
Subdivisions NX, NY: 77,63
Current max error: 0.007715036011428828
Indeed. The list of all errors is printed at the end.I think Cuch is just keeping track of the max error up to that trial. So until a larger one appears in a subsequent trial the max error isn't updated.
I am using the 2nd order one-step box scheme for Goursat (it's old as Metusalah) on grids N, 2N, 4N until catastrophic cancellation creeps in.I admit I don't know what this is about, I briefly looked at this thread just now and I saw 50x50 grid and 7 digits accuracy in one sentence and I don't think I've ever seen that. I'm assuming this is a discretized 2D PDE solved with FDM you're talking about. Do you use a sixth or eighth order discretization?The Goursat FDM generates the matrix of values in one sweep. Then use interpolation for in-between values.
On a 50X50 grid we can easily get 7 digits accuracy.
EDIT: OK, I just saw extrapolation, if the base scheme is 4th order then OK. If it's 2nd then again this sounds strange, one extrapolation would get you to 4th (in theory) and a double one to 6th, but that would need a dense grid to actually deliver that theoretical order even if we're talking about a smooth function.
Yes to 1stWhat does extrapolate h/2 mean? I'm assuming h is the uniform grid spacing, so you use a 400x400 grid (since your base is 200x200) and then get Extrapolated solution= (4/3)*V(h/2) - (1/3)*V(h)?
And h/4 ?
1. Yes; the error is between my FDM and Genz/West as benchmark.1. Is the error estimated based on comparing against Genz West? They claim near double precision accuracy.
2. What's interesting to note is that the central motive for fast and high precision algorithms in Genz West paper is that conventional lower precision methods are to be avoided in option pricing (see section 4 "Option pricing disasters" in https://lyle.smu.edu/~aleskovs/emis/sqc ... umnorm.pdf )
No unique solution; it is a level set.oops, inverse of a cumulative bivariate doesn't make sense.
Indeed.No unique solution; it is a level set.oops, inverse of a cumulative bivariate doesn't make sense.
Good spot.The Genz West paper mentions option pricing issues, perhaps (just guessing!) negative probabilities that might not arise in your method?