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

Standard Error Bug #52

Open
cmdty opened this issue Feb 19, 2024 · 0 comments
Open

Standard Error Bug #52

cmdty opened this issue Feb 19, 2024 · 0 comments
Labels
bug Something isn't working modelling Issues around the calculations

Comments

@cmdty
Copy link
Owner

cmdty commented Feb 19, 2024

Some testing found that the standard error calculation contains a bug. As antithetic variance reduction is used, all PV sims are not independent hence the standard error calculation is incorrect. The solution is to take the average of all pairs of PVs calculated from the same random numbers and then calculate standard error as usual.

@cmdty cmdty added bug Something isn't working modelling Issues around the calculations labels Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working modelling Issues around the calculations
Projects
None yet
Development

No branches or pull requests

1 participant