Today i have something unusual (at least for me) to share with you; it's an analysis of the world cup matches.
Of course, i have no idea about soccer, but i do know how to transform data, and as such i will show you something i created by scraping data off FIFA's website. I will proceed to explain the whole process in this blog post.
I created a R script that starts by loading the CSV to a data frame, and then starts grouping and summarizing the values such that i can have the matches expressed as a graph, i want to have a losing team "pointing" to the winning team. This is because i later want to apply the Page Rank algorithm, the one that google uses to rank websites.
If you don't know the page rank algorithm, it basically says "If you are linked to by important websites, then your website is important" (oversimplified).
Where weight is a value that i determine from the relative importance of the match, i determine it based on the amount of matches played in the same area, or a fixed value if it's not a preliminary match.
This is not a prediction, as it only reflects on past values, and not on some statistic model.
Sorry about the team names being in spanish, i had already done everything by the time i realized that.
Respondidos ó ¿Como hacer trampa en Preguntados?