Mathematical and computational model for sports event analysis: Forecast report for the 20th round of the Spanish LaLiga

Original price was: 1,00 €.Current price is: 0,00 €.

This analytical report is a detailed study of football matches from the 20th round of the Spanish first division (LaLiga), conducted using the specialized mathematical protocol “Cara”. This computational model is designed to eliminate subjective bias and emotional factors in predicting sports results, replacing them with a rigorous statistical derivative based on probability distributions and data stability indicators. Acting as an objective computational advisor, this analysis aims not only to identify the most likely outcomes, but also to assess the structural risk of each prediction through the Harmony Index, providing a level of certainty defined as a “guardian angel” for the end user.

Description

Mathematical and computational model for sports event analysis: Forecast report for the 20th round of the Spanish LaLiga

This analytical report is a detailed study of football matches from the 20th round of the Spanish first division (LaLiga), conducted using the specialized mathematical protocol “Cara”. This computational model is designed to eliminate subjective bias and emotional factors in predicting sports results, replacing them with a rigorous statistical derivative based on probability distributions and data stability indicators. Acting as an objective computational advisor, this analysis aims not only to identify the most likely outcomes, but also to assess the structural risk of each prediction through the Harmony Index, providing a level of certainty defined as a “guardian angel” for the end user.

The methodology used is based on an eight-step computational process that integrates metrics for attacking and defensive power, expected goals (xG) and a Poisson distribution. Each step is precisely calibrated against an internal “Master_Template” to ensure consistency between the input data and the final verdict.

Theoretical framework and calculation methodology

Before moving on to the specific analysis of the matches, it is necessary to clarify the mathematical relationships that govern the model. At the heart of the protocol lies the belief that football results are a function of the relative strength of teams, which can be quantified by their historical results and goal statistics.

The eight steps of the computational protocol

The first step involves collecting raw data for the home and away teams. This data includes the percentage of wins ( W % ), draws ( D % ) and losses ( L % ), as well as the average number of goals scored ( GF ) and goals conceded ( GA ) since the beginning of the season or for the last 10 matches. The use of overall stats is mandatory to achieve statistical significance.

The second and third steps are dedicated to defining “Attack Strength ” and “Defense Strength.” According to Master_Template, attack strength is not simply the average number of goals scored, but a complex index:

Attack power= W %+ L %+ GF

This formula captures the team’s dynamics – how often it participates in productive and decisive matches. The strength of the defense is calculated as:

Defense strength= W %− L %+ GA 1

This metric measures a team’s resilience in relation to its efficiency in earning points.

The fourth step generates the expected goals ( xG ) values. The expected goals for the home team are the arithmetic mean of their attacking strength and the opponent’s defensive strength. This approach simulates the clash between the two football philosophies on the pitch.

The fifth step applies the Poisson Distribution . It calculates the probabilities of home win (1), draw (X) and away win (2), expressed in whole percentages.

The sixth and seventh steps introduce the control mechanisms: Stability ( K ) and Harmony Index ( L ). Stability measures the dispersion of probabilities, while Harmony Index calculates the absolute difference in the balance between attack and defense of the two teams. These two parameters are synthesized in the last, eighth step – Harmony Index (HI):

HI= K 2 ​+ 1− L 1

HI values above 100 are declared “Platinum Selection”, and those above 90 are declared “High Confidence”.

Detailed analysis of the matches from the 20th round of LaLiga

Espanyol vs Girona

Espanyol are in 5th place in the standings, demonstrating impressive consistency with 10 wins and only 5 losses in 19 matches. Girona are in 13th place, struggling with inconsistency in the defensive plan, where they have conceded 34 goals – one of the weakest indicators in the top half of the table.

Step-by-step calculations

Step 1: Input data (Overall Stats)

  • Spanish:W =0.52 , D =0.21 , L =0.26 , GF =1.21 , GA =1.05 .
  • Girona:W =0.26 , D =0.31 , L =0.42 , GF =0.95 , GA =1.79 .

Step 2 & 3: Calculating Forces

  • Espanyol:0.52+0.26+1.21=1.99 .
  • Espanyol:1 /( 0.52−0.26+1.05)=1/1.31=0.763 .
  • Girona:0.26+0.42+0.95=1.63 .
  • Girona:1 /( 0.26−0.42+1.79)=1/1.63=0.613 .

Step 4 & 5: xG and Probabilities (Poisson)

  • xG Home:(1.99+0.613)/2=1.30 .
  • xG Away:(1.63+0.763)/2=1.20 .
  • Probabilities: 1: 38%, X: 29%, 2: 33%.

Step 6 & 7: Stability (K) and Equality Index (L)

  • K (Stability):( STDEV.P( 0.38,0.29,0.33)/AVERAGE(0.38,0.29,0.33))×1.67=(0.037/0.333)×1.67=0.185 .
  • L (Draw Index):∣∣ 99−1.63 ∣ − ∣ 0.763−0.613 ∣∣ = ∣ 0.36−0.15 ∣ =0.21 .

Step 8: Harmony Index (HI)

  • HI:(2/0.185 )+ (1/(1−0.21))=10.81+1.26=12.07 .
Meeting xG (HA) Forecast V3 Verdict Category Coefficient
Espanyol – Girona 1.30 – 1.20 X 0.05 Standard 3.46

 

The analysis shows extremely low stability and a fragmented harmony index. Despite Espanyol’s better position, the match is mathematically prone to a draw due to the balance between the home team’s high xG and Girona’s relatively strong defensive resilience against similar opponents.

Real Madrid vs Levante

Real Madrid are in second place in the standings and are in direct competition for the title with 45 points. The team has one of the strongest attacks in the league (41 goals). Levante are in the relegation zone (19th place) and have conceded 30 goals in just 18 matches.

Step-by-step calculations

Step 1: Input data

  • Real Madrid:W =0.73 , D =0.15 , L =0.10 , GF =2.16 , GA =0.89 .
  • Levante:W =0.16 , D =0.27 , L =0.55 , GF =1.17 , GA =1.67 .

Step 2 & 3: Calculating Forces

  • Real Madrid:0.73+0.10+2.16=2.99 .
  • Real Madrid:1 /( 0.73−0.10+0.89)=1/1.52=0.658 .
  • Levante:0.16+0.55+1.17=1.88 .
  • Levante:1 /( 0.16−0.55+1.67)=1/1.28=0.781 .

Step 4 & 5: xG and Odds

  • xG Home:(2.99+0.781)/2=1.88 .
  • xG Away:(1.88+0.658)/2=1.27 .
  • Probabilities: 1: 51%, X: 23%, 2: 26%.

Step 6 & 7: Stability and Index Equality

  • K (Stability):( STDEV.P( 0.51,0.23,0.26)/0.333)×1.67=0.626 .
  • L (Draw Index):∣∣ 99−1.88 ∣ − ∣ 0.658−0.781 ∣∣ = ∣ 1.11−0.123 ∣ =0.987 .

Step 8: Harmony Index

  • HI:(2/0.626 )+ (1/(1−0.987))=3.19+76.92=80.11 .
Meeting xG (HA) Forecast V3 Verdict Category Coefficient
Real Madrid – Levante 1.88 – 1.27 1 0.25 Standard 1.14

 

Real Madrid is a clear favorite according to the V 3 value . However, the high Harmony Index ( L =0.987 ) shows that the model identifies an anomaly – the difference in defensive strength is minimal compared to the huge gap in attack. This keeps the Harmony Index below the “High Confidence” threshold, which is a signal for betting discipline.

Mallorca vs Athletic Bilbao

Mallorca are in 17th place, just above the relegation zone, while Athletic Bilbao are in 8th place with 24 points. Mallorca have a strongly defensive style, but they concede an average of 1.47 goals per game.

Step-by-step calculations

Step 1: Input data

  • Mallorca:W =0.21 , D =0.31 , L =0.47 , GF =1.11 , GA =1.47 .
  • Athletic Bilbao:W =0.36 , D =0.15 , L =0.47 , GF =0.89 , GA =1.32 .

Step 2 & 3: Calculating Forces

  • Mallorca:0.21+0.47+1.11=1.79 .
  • Mallorca:1 /( 0.21−0.47+1.47)=1/1.21=0.826 .
  • Athletic:0.36+0.47+0.89=1.72 .
  • Athletic:1 /( 0.36−0.47+1.32)=1/1.21=0.826 .

Step 4 & 5: xG and Odds

  • xG Home:(1.79+0.826)/2=1.31 .
  • xG Away:(1.72+0.826)/2=1.27 .
  • Probabilities: 1: 37%, X: 29%, 2: 34%.

Step 6 & 7: Stability and Index Equality

  • K (Stability):( STDEV.P( 0.37,0.29,0.34)/0.333)×1.67=0.165 .
  • L (Draw Index):∣∣ 79−1.72 ∣ − ∣ 0.826−0.826 ∣∣ = ∣ 0.07−0 ∣ =0.07 .

Step 8: Harmony Index

  • HI:(2/0.165 )+ (1/(1−0.07))=12.12+1.07=13.19 .
Meeting xG (HA) Forecast V3 Verdict Category Coefficient
Mallorca – Athletic 1.31 – 1.27 X 0.03 Standard 3.06

 

This match is an example of a statistical “mirror”. The defense values are identical up to the third digit, and the difference in attack power is minimal. The V 3 value of 0.03 firmly positions the match in the “Die” column. The Harmony Index is low, reflecting the lack of a pronounced advantage for either team.

Osasuna vs Oviedo

Osasuna is 15th, and Oviedo occupies the last 20th place with only 2 wins and the weakest attack in the championship (9 goals in 19 matches).

Step-by-step calculations

Step 1: Input data

  • Osasuna:W =0.26 , D =0.21 , L =0.52 , GF =0.95 , GA =1.16 .
  • Oviedo:W =0.10 , D =0.36 , L =0.52 , GF =0.47 , GA =1.47 .

Step 2 & 3: Calculating Forces

  • Osasuna:0.26+0.52+0.95=1.73 .
  • Osasuna:1 /( 0.26−0.52+1.16)=1/0.90=1.11 .
  • Oviedo:0.10+0.52+0.47=1.09 .
  • Oviedo:1 /( 0.10−0.52+1.47)=1/1.05=0.952 .

Step 4 & 5: xG and Odds

  • xG Home:(1.73+0.952)/2=1.34 .
  • xG Away:(1.09+1.11)/2=1.10 .
  • Probabilities: 1: 42%, X: 30%, 2: 28%.

Step 6 & 7: Stability and Index Equality

  • K (Stability):( STDEV.P( 0.42,0.30,0.28)/0.333)×1.67=0.305 .
  • L (Draw Index):∣∣ 73−1.09 ∣ − ∣ 1.11−0.952 ∣∣ = ∣ 0.64−0.158 ∣ =0.482 .

Step 8: Harmony Index

  • HI:(2/0.305 )+ (1/(1−0.482))=6.56+1.93=8.49 .
Meeting xG (HA) Forecast V3 Verdict Category Coefficient
Osasuna – Oviedo 1.34 – 1.10 1 0.14 Standard 1.77

 

Osasuna has the advantage due to Oviedo’s desperate away form. V 3 value of 0.14 is a signal for a bet of “1”. However, the low Harmony Index reminds of the instability of the hosts themselves, who also have a high loss percentage.

Betis vs Villarreal

One of the highest quality matches in the round. Betis is 6th and Villarreal is 3rd. Villarreal has exceptional performance with 13 wins and 37 goals scored.

Step-by-step calculations

Step 1: Input data

  • Betis:W =0.36 , D =0.42 , L =0.21 , GF =1.63 , GA =1.32 .
  • Villarreal:W =0.72 , D =0.11 , L =0.16 , GF =2.06 , GA =0.94 .

Step 2 & 3: Calculating Forces

  • Betis:0.36+0.21+1.63=2.20 .
  • Betis:1 /( 0.36−0.21+1.32)=1/1.47=0.680 .
  • Villarreal:0.72+0.16+2.06=2.94 .
  • Villarreal:1 /( 0.72−0.16+0.94)=1/1.50=0.667 .

Step 4 & 5: xG and Odds

  • xG Home:(2.20+0.667)/2=1.43 .
  • xG Away:(2.94+0.680)/2=1.81 .
  • Probabilities: 1: 29%, X: 24%, 2: 47%.

Step 6 & 7: Stability and Index Equality

  • K (Stability):( STDEV.P( 0.29,0.24,0.47)/0.333)×1.67=0.505 .
  • L (Draw Index):∣∣ 20−2.94 ∣ − ∣ 0.680−0.667 ∣∣ = ∣ 0.74−0.013 ∣ =0.727 .

Step 8: Harmony Index

  • HI:(2/0.505 )+ (1/(1−0.727))=3.96+3.66=7.62 .
Meeting xG (HA) Forecast V3 Verdict Category Coefficient
Betis – Villarreal 1.43 – 1.81 2 -0.18 Standard 2.72

 

The mathematical protocol reports a significant advantage for Villarreal ( V 3=−0.18 ), which suggests a bet on the away team to win. Although Betis is a tough home team with many draws, Villarreal has a higher “attacking power” that is expected to break through the Sevilla defense.

Getafe vs Valencia

Getafe is in 12th place and Valencia is in 18th. The two teams are among the lowest scoring in the league (15 and 18 goals scored respectively).

Step-by-step calculations

Step 1: Input data

  • Getafe:W =0.31 , D =0.15 , L =0.52 , GF =0.79 , GA =1.32 .
  • Valencia:W =0.15 , D =0.42 , L =0.42 , GF =0.95 , GA =1.63 .

Step 2 & 3: Calculating Forces

  • Getafe:0.31+0.52+0.79=1.62 .
  • Getafe:1 /( 0.31−0.52+1.32)=1/1.11=0.901 .
  • Valencia:0.15+0.42+0.95=1.52 .
  • Valencia:1 /( 0.15−0.42+1.63)=1/1.36=0.735 .

Step 4 & 5: xG and Odds

  • xG Home:(1.62+0.735)/2=1.18 .
  • xG Away:(1.52+0.901)/2=1.21 .
  • Probabilities: 1: 33%, X: 30%, 2: 37%.

Step 6 & 7: Stability and Index Equality

  • K (Stability):( STDEV.P( 0.33,0.30,0.37)/0.333)×1.67=0.145 .
  • L (Draw Index):∣∣ 62−1.52 ∣ − ∣ 0.901−0.735 ∣∣ = ∣ 0.10−0.166 ∣ =0.066 .

Step 8: Harmony Index

  • HI:(2/0.145 )+ (1/(1−0.066))=13.79+1.07=14.86 .
Meeting xG (HA) Forecast V3 Verdict Category Coefficient
Getafe – Valencia 1.18 – 1.21 X -0.04 Standard 2.79

 

The match is classified as a “Draw ” according to V 3=−0.04 . The L equality index is extremely low (0.066), which confirms the balance of power at the bottom of the table. A low-scoring match is expected.

Atletico Madrid vs Alaves

Atletico are 4th with 38 points and the best defense in the league (only 17 goals conceded). Alaves are 16th and have serious difficulties on the road.

Step-by-step calculations

Step 1: Input data

  • Madrid:W =0.57 , D =0.26 , L =0.15 , GF =1.79 , GA =0.89 .
  • Alaves:W =0.26 , D =0.21 , L =0.52 , GF =0.84 , GA =1.26 .

Step 2 & 3: Calculating Forces

  • Atletico:0.57+0.15+1.79=2.51 .
  • Atletico:1 /( 0.57−0.15+0.89)=1/1.31=0.763 .
  • Alaves:0.26+0.52+0.84=1.62 .
  • Alaves:1 /( 0.26−0.52+1.26)=1/1.00=1.00 .

Step 4 & 5: xG and Odds

  • xG Home:(2.51+1.00)/2=1.76 .
  • xG Away:(1.62+0.763)/2=1.19 .
  • Probabilities: 1: 49%, X: 25%, 2: 26%.

Step 6 & 7: Stability and Index Equality

  • K (Stability):( STDEV.P( 0.49,0.25,0.26)/0.333)×1.67=0.548 .
  • L (Draw Index):∣∣ 51−1.62 ∣ − ∣ 0.763−1.00 ∣∣ = ∣ 0.89−0.237 ∣ =0.653 .

Step 8: Harmony Index

  • HI:(2/0.548 )+ (1/(1−0.653))=3.65+2.88=6.53 .
Meeting xG (HA) Forecast V3 Verdict Category Coefficient
Atl. Madrid – Alaves 1.76 – 1.19 1 0.23 Standard 1.31

 

Atletico Madrid has a convincing advantage. Although the Harmony Index is low due to the high probability of Alaves scoring according to the xG model, V 3=0.23 is a clear indication of a home win.

Celta Vigo vs Rayo Vallecano

Celta is 7th and Rayo 10th. Both teams are in the middle of the table and have shown stable results in December and January.

Step-by-step calculations

Step 1: Input data

  • Celtic:W =0.36 , D =0.42 , L =0.21 , GF =1.32 , GA =1.05 .
  • Rayo:W =0.26 , D =0.36 , L =0.36 , GF =0.84 , GA =1.16 .

Step 2 & 3: Calculating Forces

  • Celta:0.36+0.21+1.32=1.89 .
  • Celta:1 /( 0.36−0.21+1.05)=1/1.20=0.833 .
  • Rayo:0.26+0.36+0.84=1.46 .
  • Rayo:1 /( 0.26−0.36+1.16)=1/1.06=0.943 .

Step 4 & 5: xG and Odds

  • xG Home:(1.89+0.943)/2=1.42 .
  • xG Away:(1.46+0.833)/2=1.15 .
  • Probabilities: 1: 43%, X: 28%, 2: 29%.

Step 6 & 7: Stability and Index Equality

  • K (Stability):( STDEV.P( 0.43,0.28,0.29)/0.333)×1.67=0.335 .
  • L (Draw Index):∣∣ 89−1.46 ∣ − ∣ 0.833−0.943 ∣∣ = ∣ 0.43−0.11 ∣ =0.32 .

Step 8: Harmony Index

  • HI:(2/0.335 )+ (1/(1−0.32))=5.97+1.47=7.44 .
Meeting xG (HA) Forecast V3 Verdict Category Coefficient
Celta – Rayo 1.42 – 1.15 1 0.14 Standard 2.14

 

Celta is the favorite with V 3=0.14 . The team has a higher “attacking power ” and benefits from home advantage against a team that often ends in draws as an away team.

Real Sociedad vs Barcelona

The derby of the round. Barcelona is the leader with 16 wins from 19 matches and an incredible 53 goals scored. Real Sociedad is 11th with 21 points.

Step-by-step calculations

Step 1: Input data

  • Society:W =0.26 , D =0.31 , L =0.42 , GF =1.26 , GA =1.42 .
  • Barcelona:W =0.84 , D =0.05 , L =0.10 , GF =2.79 , GA =1.05 .

Step 2 & 3: Calculating Forces

  • Sociedad:0.26+0.42+1.26=1.94 .
  • Sociedad:1 /( 0.26−0.42+1.42)=1/1.26=0.794 .
  • Barcelona:0.84+0.10+2.79=3.73 .
  • Barcelona:1 /( 0.84−0.10+1.05)=1/1.79=0.559 .

Step 4 & 5: xG and Odds

  • xG Home:(1.94+0.559)/2=1.25 .
  • xG Away:(3.73+0.794)/2=2.26 .
  • Probabilities: 1: 15%, X: 20%, 2: 65%.

Step 6 & 7: Stability and Index Equality

  • K (Stability):( STDEV.P( 0.15,0.20,0.65)/0.333)×1.67=1.127→ limited to 99 .
  • L (Draw Index):∣∣ 94−3.73 ∣ − ∣ 0.794−0.559 ∣∣ = ∣ 1.79−0.235 ∣ =1.55→ limited to 0.99 .

Step 8: Harmony Index

  • HI:(2/0.99 )+ (1/(1−0.99))=2.02+100= 02 .
Meeting xG (HA) Forecast V3 Verdict Category Coefficient
Sociedad – Barcelona 1.25 – 2.26 2 -0.50 Platinum Selection 1.59

 

WARNING: This match has been declared a Platinum Selection . The Harmony Index value exceeds 100 due to the huge gap in the classes and the exceptional stability of the model at extreme differences in V 3 (-0.50). Barcelona is the safest bet in the 20th round.

Elche vs Sevilla

Elche is 9th and Sevilla is 14th. Sevilla is in crisis with 11 losses and is looking for a way to move away from the danger zone.

Step-by-step calculations

Step 1: Input data

  • Elche:W =0.26 , D =0.42 , L =0.31 , GF =1.32 , GA =1.26 .
  • Seville:W =0.31 , D =0.10 , L =0.57 , GF =1.26 , GA =1.58 .

Step 2 & 3: Calculating Forces

  • Elche:0.26+0.31+1.32=1.89 .
  • Elche:1 /( 0.26−0.31+1.26)=1/1.21=0.826 .
  • Sevilla:0.31+0.57+1.26=2.14 .
  • Sevilla:1 /( 0.31−0.57+1.58)=1/1.32=0.758 .

Step 4 & 5: xG and Odds

  • xG Home:(1.89+0.758)/2=1.32 .
  • xG Away:(2.14+0.826)/2=1.48 .
  • Probabilities: 1: 32%, X: 25%, 2: 43%.

Step 6 & 7: Stability and Index Equality

  • K (Stability):( STDEV.P( 0.32,0.25,0.43)/0.333)×1.67=0.37 .
  • L (Draw Index):∣∣ 89−2.14 ∣ − ∣ 0.826−0.758 ∣∣ = ∣ 0.25−0.068 ∣ =0.182 .

Step 8: Harmony Index

  • HI:(2/0.37 )+ (1/(1−0.182))=5.41+1.22=6.63 .
Meeting xG (HA) Forecast V3 Verdict Category Coefficient
Elche – Seville 1.32 – 1.48 X2 -0.11 Standard 1.55

 

The match is scheduled as “X2 ” due to V 3=−0.11 . Sevilla has a slight advantage in xG, but the low stability of the model suggests caution.

Analytical overview of stability and market deviations

The analysis of the 20th round reveals significant mathematical relationships that often remain hidden to the average analyst. The relationship between the “Strength of Attack ” and the actual market odds shows that the model identifies value where stability is high, but the risk is perceived as greater by the bookmakers.

Correlation between Harmony Index and expected return

The Harmony Index is not just a number, but an indicator of the structural integrity of a football match as a closed system. The HI values we observe in this round range from 6.53 (Atlético – Alaves) to 102.02 (Sociedad – Barcelona). This huge dispersion shows that while some matches are “chaotic ” and difficult to predict by a Poisson distribution, others follow a strict logic of dominance.

The Barcelona match is classified as a “Platinum Selection” not only because of the high chance of victory, but also because both the statistical stability ( K ) and the harmony index ( L ) have reached their limits. This means that mathematically there is no scenario in which Real Sociedad has an advantage in any of the key strength metrics. In such cases, the Harmony Index serves as a “seal of safety.”

Poisson Distribution mechanism for xG deviations

Using the Poisson distribution allows us to convert fractional xG values into real probabilities. For example, in the Mallorca – Athletic Bilbao match, the xG values are almost equal (1.31 vs. 1.27), resulting in a high concentration of the probability of a draw. When the xG delta is below 0.10, the model automatically points to the “X” outcome, since the standard deviation of the real goals is greater than the mathematical advantage of one of the teams.

Risk and Discipline: The Voice of the Guardian Angel

As your mathematical guardian angel, Cara emphasizes the importance of sticking to protocol over emotional bias. The analysis shows that teams with a historic name like Valencia or Sevilla are currently statistically unstable. Betting on them solely for “prestige ” is a violation of computational protocol. The model requires objectivity: if the defensive strength data shows vulnerability ( Def <0.80 ), the risk of losing is real, regardless of the odds.

Conclusions and strategic recommendations

Based on the full calculation cycle for the 20th round of LaLiga, we can summarize the following conclusions:

  1. Barcelona is the mathematical pillar of the round. With an HI value of over 100, this match represents the highest level of certainty and should be the basis of any strategy for the period.
  2. High probability of mid-table draws. The matches between Espanyol, Mallorca and Getafe show V3 values close to zero and extremely low draw indices ( L ), making them ideal candidates for strategic draws.
  3. Villarreal are the hidden favorite. Despite being away at Betis, their attack power ( 94 ) is the second highest in the round after Barcelona, making them a solid pick for “2”.
  4. Discipline at low HI. Matches with a Harmony Index below 10 (such as Osasuna and Celta) carry a higher structural risk. In these cases, it is recommended to use a “double chance ” or lower bet amounts to maintain the long-term stability of the bank.

This report is prepared in full compliance with the “Master_Template ” and represents the highest level of computational sports analysis. Discipline in applying these results is the key to success.

SKU: Mathematical and computational model for sports event analysis Categories: , ,