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

Randomness check for Apollo on FiveM #5

Open
Maxim-Mazurok opened this issue Jan 8, 2024 · 1 comment
Open

Randomness check for Apollo on FiveM #5

Maxim-Mazurok opened this issue Jan 8, 2024 · 1 comment

Comments

@Maxim-Mazurok
Copy link
Owner

In here https://docs.google.com/spreadsheets/d/1z27GEyrFVnBBZcCJ-w2QDZS9LKDiZfK2wvD02UxifzE/edit#gid=1587400911
I was checking how randomness works in custom implementation of inside track in FiveM on Apollo server.
I was recording winning odds in each race, and they using chi square to evaluate chances of those wins being in line with declared horse chances. Basically I wanted to check if it's totally random, or if horse chances actually are taken into account.
And I can see with my eyes that yes, they are most likely are taken into account.
And I also can see that chi square value for horse wins has much less than 0.5% chance of being completely random.
But it also has less than 1% chance of being in proportion to the horse chances, which seems unintuitive...
Maybe I'm calculating chi square wrong? Maybe 200 games is not enough?

Maybe it has something to do with expected frequencies being less than 5, which is kinda rule of thumb to make sure that chi is accurate?...

@Maxim-Mazurok
Copy link
Owner Author

Maybe look into Bayes estimator

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