scieee AI-readable full text Open interactive document viewer

On the use of simulation methods to compute probabilities: application to the first division Spanish soccer league

Díaz-Emparanza, Ignacio,Núñez-Antón, Vicente

Abstract

We consider the problem of using the points a given team has in the First Division Spanish Soccer League to estimate its probabilities of achieving a specific objective, such as, for example, staying in the first division or playing the European Champions League. We started thinking about this specific problem and how to approach it after reading that some soccer coaches indicate that a team in the first division guarantees its staying in that division if it has a total of 42 points at the end of the regular season. This problem differs from the typical probability estimation problem because we only know the actual cumulative score a given team has at some point during the regular season. Under this setting a series of different assumptions can be made to predict the probability of interest at the end of the season. We describe the specific theoretical probability model using the multinomial distribution and, then, introduce two approximations to compute the probability of interest, as well as the exact method. The different proposed methods are then evaluated and also applied to the example that motivated them. One interesting result is that the predicted probabilities can then be dynamically evaluated by using data from the current soccer competition.

Full text

Statistics & Operations Research Transactions SORT 34 (2) July-December 2010, 181-200 Statistics & Operations Research Transactions c Institut d’Estad´ ıstica de Catalunya [email protected] ISSN: 1696-2281 www.idescat.cat/sort/ On the use of simulation methods to compute probabilities: application to the first division Spanish soccer league Ignacio D´ ıaz-Emparanza∗and Vicente N´ u˜ nez-Ant´ on∗∗ Universidad del Pa´ ıs Vasco Abstract We consider the problem of using the points a given team has in the First Division Spanish Soccer League to estimate its probabilities of achieving a specific objective, such as, for example, staying in the first division or playing the European Champions League. We started thinking about this specific problem and how to approach it after reading that some soccer coaches indicate that a team in the first division guarantees its staying in that division if it has a total of 42 points at the end of the regular season. This problem differs from the typical probability estimation problem because we only know the actual cumulative score a given team has at some point during the regular season. Under this setting a series of different assumptions can be made to predict the probability of interest at the end of the season. We describe the specific theoretical probability model using the multinomial distribution and, then, introduce two approximations to compute the probability of interest, as well as the exact method. The different proposed methods are then evaluated and also applied to the example that motivated them. One interesting result is that the predicted probabilities can then be dynamically evaluated by using data from the current soccer competition. MSC: 62F05, 62P99, 6204, 6207 Keywords: Monte Carlo simulations, multinomial distribution, prediction, soccer league Address for correspondence: Vicente N´ u˜ nez-Ant´ on, Departamento de Econometr´ ıa y Estad´ ıstica (E.A. III), Universidad del Pa´ ıs Vasco, Avenida Lehendakari Aguirre, 83, E-48015 Bilbao, Spain. Phone: +34 94 601 3749; Fax: +34 94 601 3754; E-mail: [email protected] * Departamento de Econometr´ ıa y Estad´ ıstica (E.A. III), Universidad del Pa´ ıs Vasco, Bilbao, Spain. E-mail: [email protected] **Departamento de Econometr´ ıa y Estad´ ıstica (E.A. III), Universidad del Pa´ ıs Vasco, Bilbao, Spain. E-mail: [email protected] Received: January 2010 Accepted: July 2010 182 On the use of simulation methods to compute probabilities 1. Introduction The Liga de F´ utbol Profesional (LFP) stated that, starting at the regular season 1997- 1998, there will be twenty teams competing in the First Division Spanish Soccer League. During the regular season, each team should play two games against each one of the remaining nineteen teams, one game at its own field and the other one at the other team’s field. Therefore, during the regular season there will be a total of thirty-eight games played by each one of the teams participating in this league. After the 1995-1996 regular season the LFP stated the actual scoring system: a win gets a team three points, a draw one point and a defeat, no points. In this way, at the end of the regular season (i.e., after the thirty-eight games have been played), teams classified in the last three positions in the table (i.e., positions eighteenth to twentieth) will lose their place in the first division and will have to play the next regular season in the Second Division Spanish Soccer League. In addition, teams classified in the first four positions will play the European Champions League, the most prestigious soccer tournament in Europe (i.e., the one that only “the best” soccer teams in Europe will play), while teams classified in the fifth and sixth positions will play the UEFA tournament (nowadays called Europa League), an important soccer tournament for the so called “next-to-the-best” teams in Europe. Soccer is the most important sport in Spain and there are several sports-related (TV and radio) programs that concentrate most of their attention and efforts on the Spanish soccer league. It is a fact that sports-related programs in Spain can very well be labelled as “soccer-centred programs.” In the past few years, it has been very frequent to hear sport broadcasters indicating that “soccer coaches training teams in the first division believe that if a team obtains a total of 42 points at the end of the regular season, the team will remain in this division for the next regular season.”1That is, the 42 points figure somehow represents the barrier that will determine if a team plays in the first or second division for the next regular season. In fact, after reading a specialized and well known sports newspaper, the first author’s older son asked him the question of why some specific soccer coaches indicate that a team in the first division guarantees its staying in that division if it has a total of 42 points at the end of the regular season. This very simple and straightforward question originated our curiosity as to how one can propose some kind of approach to answer it. It also made us ask ourselves whether the question had been raised before by someone else. A very simple analysis of the available data for the last twelve regular seasons reveals that only in three occasions a team obtaining a total of 42 points at the end of the regular season lost its right to play in the first division for the next season. More specifically, during the 1999-2000 and the 2008-2009 regular seasons, Betis, a soccer team from Seville and, during the 2007-2008 regular season, Zaragoza, another soccer team from a city with the same name, were both sent to play the corresponding next regular season in 1. For more details on this see, for example: http://bit.ly/biPsGx, http://bit.ly/maportugal, http://bit.ly/brindisosasuna, or http://bit.ly/racing42. Ignacio D´ ıaz-Emparanza and Vicente N´ u˜ nez-Ant´ on 183 the second division. Even though there are some statistical papers that propose to model scores in soccer leagues (see, e.g., Lee, 1997; Karlis and Ntzoufras, 2000; Rue and Salvensen, 2000; Brillinger, 2008; and Karlis and Ntzoufras, 2009), we are not aware of any scientific study or attempt that has tried to find out the actual probability that a team playing in the first division with 42 points at the end of the regular season stays in that division during the next season. Along the same lines, we do not know of any attempt that has been able to establish, using a rigorous statistical reasoning or tool, the total number of points a team should obtain during the regular season, so that it can stay in the first division for the next season. These represent two of the main objectives that have led us to put forward some of the proposals included in the next sections. The rest of the paper is organized as follows. Section 2 introduces some basic notation and contains a brief description of all of the possible classifications at the end of a regular season for a four and a twenty team league. Section 3 describes the use of the multinomial distribution in the context of the soccer league under study, as well as the normal approximation, Monte Carlo simulations approximation and the exact probability computation for the different probabilities of interest. In Section 4, we include the proposed method to compute the probability of a team staying in the first division for the next regular season. Section 5 puts forward a dynamic probability computation method that allows the researcher or individual to compute different probabilities of interest during the regular season. Finally, Section 6 ends with some conclusions and practical recommendations. All of the proposals contained in the different sections of the paper are illustrated and evaluated with data from the First Division Spanish Soccer League. 2. Basic notation and possible classifications settings Let Airepresent each of the i(i=1,...,N) teams participating in a given league. That is, all teams will be denoted by A1,...,AN. The order of the team is not relevant and it could be, in fact, alphabetical, per region, or sorted by any other criteria. Let Eik represent the points obtained by team ion its k-th game during the regular season (k=1,...,2(N−1)). In this way, the result of the game played by teams Aiand Ajin the k-th of the regular season can be easily summarized by the 2×1 score vector (Eik,Ejk)′. In the following sections we will analyze these results for the case of a league of four and twenty teams, which is the actual size of the First Division Spanish Soccer League under study. As we will see in later sections and without loss of generality, we assume equiprobability. That is, in each game we assume that the probability that the local team wins, loses or that the result is a draw are all equal. This implies that all possible final classifications have the same probability. This assumption implies that no additional a priori information is needed to be able to compute, for example, the probability that a team loses its category when having 42 points at the end of the regular season, or the probabil- 184 On the use of simulation methods to compute probabilities ity of winning the league with a given number of points at the end of the regular season. In this sense, all of the results reported here could be applied not only to the First Division Spanish Soccer League, but also to any second division or to any other division or league using the scoring system proposed in this league. In any case and given that it is very unlikely that all teams in this league have the same constant probability of winning a given soccer game, this is clearly a restrictive hypothesis that may be considered too strong in some cases for practical reasons but, at the same time, it may also be considered simple enough to be interesting from a didactic point of view. In fact, this is the main reason to start analyzing this problem under this assumption because, in our view, it clearly simplifies its solution and, in addition, it will also provide reference values for the probabilities of interest that may then be useful for the analysis of any other soccer league one wishes to study in the future. A less restrictive assumption that also allows us to obtain interesting statistical results, can be that of equal strength. In order for this assumption to hold, the probability that the local team wins and the probability that it loses should be the same. That is, if we let p1be the probability that the local team wins, p2the probability that the result is a draw, and p3the probability that the local team loses the game, equal strength will occur if p1=p3= (1−p2)/2. One interesting fact about this assumption is that it includes the equiprobability case as a particular case (i.e., if p1=p2=p3=1/3), but it also includes additional possibilities that could also be analyzed. Along these lines, if we consider the First Division Spanish Soccer League historical data for the 11,242 games played from the 1976-1977 up to the 2008-2009 seasons, the estimated value we obtain for p2, if we use the relative frequency for the event that the result of the game is a draw is, approximately, ˆp2=0.25. In the following sections, we will use both the equiprobability and the equal strength assumptions. Finally, we should also mention that the equiprobability and equal strength assumptions imply that the probability that a given team wins, loses or that the result of its game is a draw, does not depend on which team it is playing against and that, therefore, there is an underlying independence assumption between games. This may also be a restrictive assumption but, in our view, it simplifies the solution to the problem of interest and, in addition, it provides the reader some very useful insights about the solution to a more complex problem. 2.1. A four-team soccer league If we have four teams in the league, A1,A2,A3,A4, there will be three games in which a given team plays at home and three games in which it plays away from it, as a visiting team. That is, the regular season will have a total of six games. In this case, each date for which games are scheduled will have two games being played at the same time. If we let a= (E11,E21)′be the score for the game played by teams A1and A2, and b= (E31,E41)′ be the game played by teams A3and A4, the possible scores for the first set of games to be played is listed in Table 1. After this first set of games is played, there are 32=9 possible score vectors that are listed in the corresponding columns of Table 2. In order Ignacio D´ ıaz-Emparanza and Vicente N´ u˜ nez-Ant´ on 185 Table 1: Possible score vectors for a two-team soccer league. Possibilities 1 2 3 Score vector a: (3,0)′(1,1)′(0,3)′ Score vector b: (3,0)′(1,1)′(0,3)′ Table 2: Possible scores for a four-team soccer league after the first set of games have been played. Result a1b1 a1b2 a1b3 a2b1 a2b2 a2b3 a3b1 a3b2 a3b3 Team A1333111000 Team A2000111333 Team A3310310310 Team A4013013013 to better understand both the notation and contents in Table 2, let us describe one of the results provided therein (i.e., axby). The result in the fourth column of Table 2 (i.e., a2b1) indicates that in the game between teams A1and A2the result was a draw (i.e., the second possible result for the score vector a in Table 1, or a2), and in the game between teams A3and A4the result was that team A3won (i.e., the first possible result for the score vector b in Table 1, or b1). For this specific case, the final scores obtained by each of the teams A1,A2,A3and A4after the two games have been played would be of 1, 1, 3, and 0 points, respectively and, thus, the score vector would then be (1,1,3,0)′ (see the fourth column in Table 2). In summary, after the regular season ends (i.e., after each team has played its six corresponding games), there could be 32×6=96=531,441 different2results that will, in turn, generate their corresponding score vectors for these four teams. The aforementioned number of possible results is clearly quite large. However, it can be easily managed by a computer. As the reader may have already guessed, this is exactly the situation in the first round of the Champions League competition, where only the first two teams in each group of four teams advance to the next round. Therefore, it would not be difficult to compute, for example, what would be the exact probability, for each possible score, that a team finishes the competition in the first two positions (i.e., the probability that the team advances to the next round in the Champions League): Score: ≤6 7 8 9 ≥10 Prob(next round): 0 0.0047477 0.18593 0.97050 1 That is, in all of the possible 531,441 different results, we look for all results where a team having a given score finishes the competition in the first two positions (i.e., these 2. These results are different in the sense that, even though the scores could end up being equal for some of the cases, they were generated from different results in the games the teams have played. 186 On the use of simulation methods to compute probabilities will the favourable cases) and divide this absolute frequency by the total number of cases where teams had obtained this score (i.e., these will be the possible cases). 2.2. The twenty-team or first division Spanish soccer league The Spanish First Division Soccer League, as well as, for example, the ones in France or the United Kingdom, has a total of twenty teams (i.e., N=20), so that every round there will be ten different games played at the same time. In addition, every team should play nineteen games at home and another nineteen games as a visiting team, so that the regular season will have a total of thirty-eight different rounds. If we let (Eik,Ejk)′be the score vector representing the result of the game between teams Aiand Ajin the k-th round of games during the regular season, we have that: (Eik,Ejk) =      (3,0)if Aiwins (1,1)if the result is a draw (0,3)if Ajwins Therefore, after the k-th round of games is over (i.e., after the ten scheduled games have been played by the twenty teams in the league), we will have that Ek= (E1k,E2k,...,E20k)′represents the score vector assigned to all teams for the games played that date. Moreover and given that for each one of the ten games played that date there are only three possible different results, the number of different score vectors that one can obtain for that specific date is equal to 310 =59,049. Let Ckbe the 20×1 score vector containing the sum of the scores from the first up to the k-th round of games, so that Ck= k ∑ l=1 El, andCk= (C1k,...,C20k)′. Therefore,Cik,i=1,...,20; k=1,...,38 represents the score team Aihas after playing kgames. If we place the elements of Ckin descending order and denote this new score vector by Co k= (C(1)k,...,C(20)k)′= (Co 1k,...,Co 20k)′, we will have in the elements of the ordered score vector Co kthe complete information about teams classification or standings after k games have been played, which will be very relevant to compute the probabilities of interest. If, for example, we wish to analyze the number of vectors with possible different scores after two rounds of games have been played (i.e., C2), we have to consider that each one of the 59,049 resulting score vectors for the second date for which games were scheduled can be added to each one of the 59,049 score vectors for the first date for which games were also scheduled, making a total of 310×2=59,049×59,049 = 3,486,784,401 possible results, even though we know that a large number of them will be basically equal. If we follow the same reasoning, we can find out that the number of Ignacio D´ ıaz-Emparanza and Vicente N´ u˜ nez-Ant´ on 187 vectors with possible different scores for the score vector C38 at the end of the regular season would then be 310×38 =3380 ≃2.023376E+181. In order to be able to compute the exact probability of losing the category for a team having 42 points, just as we did in Section 2.1 for the probability of advancing to the next round in the Champions League for the four teams’ case, we would have to find out for how many of these 2.023376E+181 score vectors a team having 42 points stays away from the last three positions in the table (i.e., stays away from the last three positions in the ordered score vectorCo 38). It is clear that, even with the current capabilities large computers haveto compute this probability, it is not reasonable to think about working with such a large number of possibilities. For example, if the computer is able to compute 1,000 score vectors per second, after a year of computations, the computer would have only computed about 3.1536E+10 score vectors. Therefore, there is a need to look for efficient and reasonable proposals that can make such a complicated computation of probabilities possible. 3. Multinomial distribution The settings we have introduced in the previous sections allow us to state that, for each game and team, the set of possible results can be classified in the disjoint events: R1 (winning the game), R2(game ends in a draw) or R3(losing the game). We now define the probabilities for these events as follows: Pr(Rj) = pjwith 0 <pj<1,j=1,2,3 and p1+p2+p3=1 To start with a simple setting, we can consider a discrete uniform probability distribution for the three alternatives, so that it is assumed that p1=p2=p3=1/3. That is, we start with the initial aforementioned equiprobability assumption. Under this assumption, for any team in the league, the random variable X= (X1,X2,X3)′, describing the event that after ndates for which games were scheduled during the regular season, there were x1times where the event R1occurred, x2times where the event R2, and x3 times where the event R3occurred, follows a multinomial distribution with probability mass function given by (see, e.g., Morris, 1975) Pr(X1=x1,X2=x2,X3=x3) = n! x1!x2!x3!px1 1px2 2px3 3,(1) x1+x2+x3=n,0<pj<1,j=1,2,3 and p1+p2+p3=1 It is well known that the marginal distribution of each of the Xjvariables from a multinomial distribution follows a binomial distribution with parameters nand pj; that is, Xj∼B(n,pj),j=1,2,3 with E(Xj) = npj,Var(Xj) = npj(1−pj)andCov(Xi,Xj) = 188 On the use of simulation methods to compute probabilities −npipj,i,j=1,2,3,i6=j. As we have already mentioned, we are under the equiprobability assumption. However, the distribution of the random variable X= (X1,X2,X3)′ is multinomial as long as the assumed probabilities p1,p2and p3remain unchanged for all games in the league. This implies that, for example, under the equal strength assumption, the distribution of the random variable Xis also multinomial. 3.1. Normal distribution approximation If we use the multivariate normal central limit (see, e.g., Agresti, 1990, p. 424; or Rao, 1973, p. 128), we can see that the multinomial distribution converges to the multivariate normal distribution, so that X= (X1,X2,X3)′converges in distribution to a multivariate normal distribution with mean vector given by µX= (np1,np2,np3)′and variancecovariance matrix ΣXwith elements given by: ΣXij =(npi(1−pi)if i=j −npipjif i6=j(2) The score a given team Aiobtains after playing ngames is Cin =3X1+X2, a linear combination of the components of the asymptotic multivariate normal random variable X, which can be written asCin =d′X, with d′= (3,1,0). Therefore,Cin converges to the univariate normal distribution N(d′µX,d′ΣXd). For the specific case under study, we have that n=38 and p1=p2=p3=1/3, so that the standard conditions (i.e., npi>5 and n(1−pi)>5, see, e.g., Hogg and Tanis, 1988 or Cryer and Miller, 1991) for a valid approximation hold and, therefore, we have that Ci38 ≈N(50.67,59.11)(3) The probability that a given team in the league loses its category is the probability that its ordered position after the regular season ends in one of the last three out of the twenty possible positions. Thus, we are interested in computing the critical score value, say C38c, such that there would be three teams below it (around 15% or 3 out of 20 teams) or three teams having a score smaller than C38c. In other words, C38cshould be such that Pr(Ci38 ≤C38c)≥0.15. In order to compute C38cand using the result in (3), we have that Ci38 −50.67 √59.11 ≈N(0,1) Therefore, PrCi38 −50.67 √59.11 ≤−z0.15 =−1.0364=0.15 (4) Ignacio D´ ıaz-Emparanza and Vicente N´ u˜ nez-Ant´ on 189 being−z0.15 =−1.0364, the15-th percentileofthe standardnormaldistribution,N(0,1). Solving for Ci38 in the left hand side inside the parenthesis, leads us to obtain that PrhCi38 ≤50.67−(1.0364)√59.11i=0.15 and, thus, Pr(Ci38 ≤42.70) = 0.15. If we apply a standard continuity correction3, we would have that the C38cvalue we are searching for is C38c=43. This value leads us to obtain that Pr(Ci38 ≤43) = 0.1755. Moreover, we can also easily verify that Pr(Ci38 ≤42) = 0.1439. Therefore, the objective score for any team wishing not to lose its category in the First Division Spanish Soccer League should be of 43 points. In addition, if we use the equal strength assumption with a probability that the result of a draw is p2=0.25, we have that Ci38 ≈N(52.25,65.92)and, therefore, Pr(Ci38 ≤43.83) = 0.15.If we use again the aforementioned continuity correction and given that we can easily compute Pr(Ci38 ≤44) = 0.1699 and Pr(Ci38 ≤43) = 0.1406, we would now have that C38c=44. 3.2. Monte Carlo simulations approximation A second alternative approach to obtain the distribution of Ci38 consists of using a simulations approach. Let us begin by recalling that we are assuming equal probabilities for each one of the three possible results than a given game can have; that is, R1(winning the game), R2(game ends in a draw) and R3(losing the game): Pr(Rj) = pj=1 3for j=1,2,3. Most statistical packages include random number generators based on the uniform distribution and, thus, it is quite simple to simulate the result of a given game with the use of this software4. In this sense, if we assume independence among the games played at each round during the regular season, the results for ten independent games can be easily simulated in order to obtain the scores for all twenty teams after that specific date. We also assume that the probabilities pjremain constant for each game so that, under the previous assumptions, the results for the different round of games are also independent. We can then repeat the whole simulation process thirty-eight times in order to be able to simulate the results for the final standings for all twenty teams in the league at the end of the regular season. The whole process can be easily summarized as follows: 3. We consider that for any x∈{0,1,...,n}, if the conditions to consider the normal approximation a valid one hold, then Pr(X≤x) = Pr(X<x+1)can be well approximated by Pr(Y≤x+1 2), where Yis a normal random variable having the same mean and variance as the random variable X. 4. We have used the open source software package gretl (see, e.g., http://gretl.sourceforge.net or Cottrell and Lucchetti, 2009). 196 On the use of simulation methods to compute probabilities score vector Co 38 is in one of its first seventeenth places, and zero otherwise. That is, D2will take value one if team Ai’s score value c=Ci38 at the end of the regular season is larger that the score obtained by the team at the eighteenth position in the final standings ordered score vector Co 38 (i.e., Co 18,38), and zero otherwise. We should point out that we are not taking into account any additional criteria such as, for example, goal differences that would decide the final position of two teams (i.e., the ones in positions seventeenth and eighteenth) in case of two teams having the same score, mainly because after thirty-eight games this is not so likely to occur. That is, D2=(1 ifCi38 >Co 18,38 0 ifCi38 ≤Co 18,38 which can be easily done simultaneously for all twenty teams, so that we would now have a 20×1 vector of binary indicator variables. •For the remaining 38−krounds of games, repeat step 3 in the simulation process described in Section 3.2, so that we obtain the final standings ordered score vector Co 38 at the end of the regular season. The binary variable D2will then take on values one or zero. •Repeat the whole process of generating the remaining 38 −kdates for which games are scheduled for a sufficiently large number of replications M. In each replication, the binary variable will take on values one or zero. If we let mbe the number of occasions in which the binary variable D2has taken value one, then m/Mwould be an approximation of the probability of team’s Ainot losing its category pnlc(c), conditioned on the current score vector Ck. We now apply this to the soccer league motivating our proposals (see Table 4). The third column in Table 4 (labelled as Co 19 in the left-hand side of the table), includes the standings for the First Division Spanish Soccer League after the k=19-th round of games (January 24, 2010). Using the method just described in this section and M= 10,000 replications, we have computed the probabilities, conditioned on the scores at k=19, of not losing the category, playing at least the “Europa League” (formerly UEFA tournament), playing the European Champions League, and winning the league for all twenty teams in the 2009-2010 regular season. These results are listed on the right-hand side of Table 4. In order to compare this prediction, based on the information available when about 50% of the regular games were played, with the actual final standings for the last regular season, it is probably worth noting that Barcelona won the league and that, in addition, Real Madrid, Valencia, and Sevilla classified to play the European Champions League. Furthermore, Mallorca and Getafe classified to play the “UEFA Europa League”, and Valladolid, Tenerife and Xerez lost their category. There were Ignacio D´ ıaz-Emparanza and Vicente N´ u˜ nez-Ant´ on 197 Table 4: Teams’ classification in the First Division Spanish Soccer League and probabilities computed with the Monte Carlo simulations approximation. In this case, we were in the k =19-th date for which games were scheduled-January 24, 2010 (for Pr(Win), if two or more teams have the same number of points at the end of the regular season, a tie-breaking mechanism that uses a uniform random variable has been applied). Team Co 19 pnlc Pr(Europa) Pr(Champ) Pr(Win) 1 Barcelona 49 1.0000 0.9983 0.9899 0.6812 2 Real Madrid 44 1.0000 0.9870 0.9452 0.2318 3 Valencia 39 1.0000 0.9190 0.7570 0.0591 4 Mallorca 34 0.9989 0.7043 0.3838 0.0088 5 Deportivo 34 0.9992 0.6916 0.3758 0.0093 6 Sevilla 33 0.9976 0.6370 0.3068 0.0055 7 Getafe 30 0.9900 0.3876 0.1471 0.0022 8 Athletic 30 0.9900 0.4016 0.1525 0.0022 9 Villarreal 26 0.9399 0.1580 0.0425 0.0001 10 Sporting 24 0.9037 0.0829 0.0175 0.0001 11 Atl´ etico 23 0.8894 0.0671 0.0160 0.0002 12 Osasuna 23 0.8867 0.0653 0.0212 0.0001 13 R´ acing 23 0.8825 0.0738 0.0244 0.0001 14 Espanyol 20 0.7389 0.0317 0.0062 0.0000 15 Almer´ ıa 18 0.5951 0.0148 0.0018 0.0000 16 M´ alaga 17 0.5120 0.0084 0.0011 0.0000 17 Valladolid 17 0.5234 0.0083 0.0012 0.0000 18 Tenerife 17 0.5089 0.0068 0.0006 0.0000 19 Zaragoza 14 0.3021 0.0009 0.0001 0.0000 20 Xerez 8 0.0689 0.0001 0.0001 0.0000 two relevant issues that provided not expected results for the 2009-2010 regular season: Zaragoza did not lose its category and Deportivo did not play the Europa League. Zaragoza’s performance during the second half of the regular season was quite better than that in the first half of the regular season (obtaining 27 points out of 57 possible points), a fact that allowed the team to stay in the first division. Deportivo’s performance during the second half of the regular season was quite unexpectedly bad (obtaining only 13 points out of the possible 57 points, while in the first half it had obtained 34 out of 57 points). As can be clearly seen, this is a fact the proposed method clearly did not take into account because its prediction was based on past data. Of course, it is clear that dynamic predictions would be better as we approach the end of the regular season. 6. Conclusions and practical recommendations We have proposed an approximate method to compute the probability that a team having 42 points has of losing its right to play in the first division the next regular 198 On the use of simulation methods to compute probabilities season. Under the assumption that all possible classifications are equally likely, this method allows us to obtain an estimated value of 0.3673 for this probability, and, an estimated value of 0.2307 under the equal strength assumption with probability of a draw of p2=0.25. We have described the normal and Monte Carlo simulated approximations, as well as the exact method, to estimate what would be the objective score a team should aim for in order to stay in the first division of the Spanish soccer League. All three methods have concluded that the objective score for such a team should be of at least 43 points. Finally, we have also proposed a simulation-based method that allows us to compute, in a dynamic form and after the k-th round of games has ended, the probability, conditioned on the scores it has up to and including that k-th date, of a team not losing its category (or winning the league, of playing the European Champions League or the Europa League tournament) As we have already mentioned in previous sections, the equiprobability and equal strength assumptions, even after being considered too simplistic or not too realistic hypotheses, have two fundamental and very relevant advantages: under these assumptions, computations are quite simple because of their underlying independence assumption between games, and, in addition, they do not require of any additional a priori information to be able to compute the probabilities of interest. In practice, if one wishes to study the problem of a “real” league, just like the First Division Spanish Soccer League in which there are real reasons to believe that the probability of winning a game, losing a game or that the result of the game is a draw for each team is different (i.e., large or even extreme differences in the budgets for the different teams), then the results reported here can be only considered as upper or lower bounds for the probabilities of interest. For example, it is quite reasonable to believe that a team in the first (or last) position in the league will have a probability larger (or smaller) than 1/3 of winning most of its games and this can clearly result in the fact that the probability values reported here for winning the league or winning a place to compete in the Champions League (or losing its category) for this specific team can be then considered as lower (or upper) bounds for the real probability of interest. Future research includes the possibility of not having equally likely classifications or adding some additional information, such as some differential characteristics the different teams in the league have. For example, teams having a larger budget (i.e., richer teams) have more possibilities of bringing better players to their teams. One way of approaching this new problem could be, for example, to establish an a priori probability of winning each game that somehow depends on the team’s budget. An additional possibility would be to establish this probability taking previous results as the basis for it. In any case, this is out of the scope of this paper and it will be the objective of future research. Ignacio D´ ıaz-Emparanza and Vicente N´ u˜ nez-Ant´ on 199 Acknowledgements This research was supported by grants SEJ2007-61362/ECON, MTM2007-60112, ECO 2010-15332 and MTM2010-14913 (Ministerio Espa˜ nol de Ciencia e Innovaci´ on and FEDER), and IT-334-07 (Departamento de Educaci´ on del Gobierno Vasco - UPV/EHU Econometrics Research Group). The authors would also like to thank two reviewers for providing thoughtful comments and suggestions which led to substantial improvement of the paper. References Agresti, A. (1990). Categorical Data Analysis. New York: Wiley. Brillinger, D. R. (2008). Modelling game outcome of the Brazilian 2006 Series A Championship as ordinalvalued. Brazilian Journal of Probability and Statistics, 22, 89-104. Cottrell, A. and Lucchetti, R. (2009) Gretl User’s Guide. Gnu Regression, Econometrics and Time Series. http://sourceforge.net/projects/gretl/files/manual/ [Online; November, 2009 version]. Cryer, J. B. and Miller, R. B. (1991). Statistics for Business: Data Analysis and Modelling. Boston: PWSKENT publishing Company. D´ ıaz-Emparanza, I. (2002). Is a small Monte Carlo analysis a good analysis? Checking the size, power and consistency of a simulation-based test. Statistical Papers, 43(4), 567-577. Hogg, R. W. and Tanis, E. A. (1988). Probability and Statistical Inference. New York: Macmillan Publishing Company. Karlis D. and Ntzoufras J. (2000). On modelling soccer data. Student, 3, 229-245. Karlis, D. and Ntzoufras, I. (2009). Bayesian modelling of football outcomes: using the Skellam’s distribution for the goal difference. IMA Journal of Management Mathematics, 20, 133-145 Kleijnen, J. P. C. (1987). Statistical Tools for Simulation Practitioners. New York: Marcel Dekker, Inc. Lee, A. J. (1997). Modeling scores in the premier league: is Manchester United really the best? Chance, 10, 15-19. Morris, C. (1975). Central limit theorems for multinomial sums. The Annals of Statistics, 14(1), 165-188. Rao, C. R. (1973). Linear Statistical Inference and its Applications. New York: Wiley. Rue, H. and Salvesen, O. (2000). Prediction and retrospective analysis of soccer matches in a league. Journal of the Royal Statistical Society-Series D (The Statistician), 49, 399-418.