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

Fix Diebold-Mariano as a TTest #205

Merged
merged 2 commits into from
May 26, 2020

Conversation

guilhermebodin
Copy link
Contributor

@guilhermebodin guilhermebodin commented May 24, 2020

As a TTest it should have a xbar, stderr, and \mu0. @PaulSoderlind pointed out in #203 an error and it is due to not having these in the DieboldMarianoTest struct

@PaulSoderlind
Copy link
Contributor

One more gripe (sorry...): I would suggest cutting lines 31-42 of the test file.

Motivation: (a) the random numbers are not guaranteed to be the same across Julia versions (you need StableRNGs.jl for that). Second, the motivation/comment on line 31 may not always hold - especially not in out-of-sample setting.

@mschauer
Copy link
Member

Good point, I agree to the removal.

@guilhermebodin
Copy link
Contributor Author

Removed :)

@mschauer mschauer merged commit d1ec83d into JuliaStats:master May 26, 2020
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

Successfully merging this pull request may close these issues.

None yet

3 participants