1

I have a dataset with next columns: date, team_1, team_2, map, result_1, result_2, map_winner, starting_ct, rank_1, rank_2.

Example: Team 1 is playing against Team 2 on map X; result_1 is the number of points Team 1 got, and result_2 is for Team 2. map_winner shows which team won the game. rank_1 displays what rank is Team 1, and rank_2 displays Team 2 rank.

Here is an example of data from the dataset: enter image description here

starting_ct denotes what team starded on CT side (it is related to Counter Strike Global Offensive - a FPS shooter)

I would like to find out how the starting_ct fact influences a team win rate for a certain map (for example Nuke). How could I do this in R?

I would like to display this data in a plot, but I was also wondering if I could use this data to create a predictive model - a regression for example.

  • I have calculated before the general win rate of the team, and results for each map.

enter image description here enter image description here

Phil
  • 5,491
  • 3
  • 26
  • 61
MiRAY
  • 386
  • 1
  • 11
  • 1
    That's quite a question. Since I'm familiar with CSGO, I would also be interested in finding out the results. Unfortunately, I'm not as good at R, but Good Luck in seeking the answers! – Here4aReason Feb 01 '22 at 22:22
  • 1
    If you want great answers quickly, it's best to make your question reproducible. This includes sample data like the output from `dput(head(dataObject)))`, libraries you've used, and what code you've attempted thus far. Check it out: [making R reproducible questions](https://stackoverflow.com/q/5963269). – Kat Feb 02 '22 at 00:05
  • 1
    To me, what you are asking is beyond the scope of SO. The community is there to help you with coding errors, or how to get a specific (smaller scope) task done. What you are asking here is basically how to build a model in R. There is a lot of documentation out there on how to build a model. The two that I would recommend is Statistical Rethinking by McElreath if you want a bayesian approach that allows you to have good interpretation - here's a free book that covers the paid book using R code: https://bookdown.org/content/4857/ and then this book to do machine learning: https://www.tmwr.org/ – Phil Feb 02 '22 at 05:10
  • I'm not asking for creating a model for me, I was just curious if my data is enough to create one – MiRAY Feb 02 '22 at 21:46

0 Answers0