Hi all,
I've been pursuing a math project about analyzing the effect of momentum on round outcome in VALORANT.
Essentially I'm looking at in the last 5 rounds played, how many were won? And for each state (0/5, 1/5, etc.), how likely is it to win the next round?
So I've built some code to parse the VLR website and analyze momentum from a certain amount of matches. It works by looking at a team's matches page, extracting a certain amount of matches, then looking at the round-by-round data, counting each occurrence of each momentum state, and adding them up.
If that doesn't make sense, here's a sample input/output:
What is the team number?
2359
How many matches back are you looking to analyze? (maximum: 50)
36
Here is the momentum data you're looking for for team number 2359 in 36 matches:
Team Name: LEVIATÁN
5/5 win streak: 52 successful cases out of 84 total (61.90% success rate)
4/5 win streak: 162 successful cases out of 288 total (56.25% success rate)
3/5 win streak: 246 successful cases out of 452 total (54.42% success rate)
2/5 win streak: 205 successful cases out of 403 total (50.87% success rate)
1/5 win streak: 114 successful cases out of 236 total (48.31% success rate)
0/5 win streak: 26 successful cases out of 70 total (37.14% success rate)
Calculating overall round winrate...
Overall Round Winrate for LEVIATÁN:
Rounds Won: 1059
Total Rounds: 1993
Winrate: 53.14%
This is all the matches from LEV from the beginning of 2024 to now.
So far the data shows a clear correlation between momentum and round win probability. I'm still in the progress of debugging the code, as it for some reason does not show perfect results all the time, but I like it so far.
If you guys want to see the code, or have any advice on how to approach the eventual analysis of the data from a statistical viewpoint, then I'd be elated to hear your feedback. Thanks for reading!