Skip to content

Commit

Permalink
Updated italy text
Browse files Browse the repository at this point in the history
  • Loading branch information
themitvp committed Dec 8, 2015
1 parent 0ccffb5 commit b0903f4
Show file tree
Hide file tree
Showing 4 changed files with 127 additions and 109 deletions.
2 changes: 1 addition & 1 deletion static/javascripts/controllers/extra/italyController.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ app.controller('italyController', function ($scope, $http, $location, $routeSegm
$scope.Page = Page;
$scope.$routeSegment = $routeSegment;

Page.setTitle('Italy');
Page.setTitle('Is Italian Soccer Boring?');
});
2 changes: 1 addition & 1 deletion static/templates/extra/fun.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h4 class="list-group-item-heading">Best Transfers</h4>
<p class="list-group-item-text">Which clubs did the best transfers?</p>
</a>
<a href="extrafun/italy" class="list-group-item">
<h4 class="list-group-item-heading">Italy</h4>
<h4 class="list-group-item-heading">Is Italian Soccer Boring?</h4>
<p class="list-group-item-text">Does the Italian club win with fewer goals than other soccer clubs?</p>
</a>
</div>
Expand Down
230 changes: 124 additions & 106 deletions static/templates/extra/italy.html
Original file line number Diff line number Diff line change
@@ -1,113 +1,26 @@
<div class="row">
<div class="col-sm-12">
<p>
In this section it will be investigated whether Italian teams win with fewer goals than other teams.
A general belief in soccer is that <a target="_blank" href="https://www.quora.com/Why-is-Italian-football-so-boring">Italian soccer is boring</a> since there are not scored as many goals.
</p>
<p>
The findings are expected to show that the average number of goals for Italian clubs is lower compared to other countries. Additionally, the number of goals required to win a match should be lower as well.
</p>
<p>
To prove or disprove the hypothesis it is investigated how many goals a club must score to win a match in the following four leagues:
</p>
<ul>
<li>Seria A (Italy)</li>
<li>Superliga (Denmark)</li>
<li>La Liga (Spain)</li>
<li>Premiere League (England)</li>
</ul>
<p>
The analysis uses all the matches from the past 15 years for each league, and the result is presented in the tables below. Each table shows the probability of winning in relation to the number of goals.
</p>
<p>
Examining the tables below reveals that an Italian club must score at least the same number of goals to win as clubs from other countries. This discovery disproves the hypothesis there are scored fewer goals in Italian soccer. So maybe Italian soccer is not so boring after all.
</p>
<h3>Result</h3>
<table class="table table-striped">
<tbody>
<tr>
<th>Goals</th>
<th>Lose</th>
<th>Tie</th>
<th>Win</th>
<th>Lose %</th>
<th>Tie %</th>
<th>Win %</th>
</tr>
<tr>
<td>0</td>
<td>2591</td>
<td>1000</td>
<td>0</td>
<td>72,15%</td>
<td>27,84%</td>
<td>0</td>
</tr>
<tr>
<td>1</td>
<td>1617</td>
<td>1398</td>
<td>1133</td>
<td>38,98%</td>
<td>33,70%</td>
<td>27,84%</td>
</tr>
<tr>
<td>2</td>
<td>356</td>
<td>640</td>
<td>1748</td>
<td>12,97%</td>
<td>23,32%</td>
<td>63,70%</td>
</tr>
<tr>
<td>3</td>
<td>60</td>
<td>118</td>
<td>1091</td>
<td>4,72%</td>
<td>9,29%</td>
<td>85,97%</td>
</tr>
<tr>
<td>4</td>
<td>4</td>
<td>26</td>
<td>443</td>
<td>0,84%</td>
<td>5,49%</td>
<td>93,65%</td>
</tr>
<tr>
<td>5</td>
<td>0</td>
<td>2</td>
<td>139</td>
<td>0%</td>
<td>1,41%</td>
<td>98,58%</td>
</tr>
<tr>
<td>6</td>
<td>0</td>
<td>0</td>
<td>53</td>
<td>0%</td>
<td>0%</td>
<td>100%</td>
</tr>
<tr>
<td>7</td>
<td>0</td>
<td>0</td>
<td>14</td>
<td>0%</td>
<td>0%</td>
<td>100%</td>
</tr>
<tr>
<td>8</td>
<td>0</td>
<td>0</td>
<td>6</td>
<td>0%</td>
<td>0%</td>
<td>100%</td>
</tr>
<tr>
<td>9</td>
<td>0</td>
<td>0</td>
<td>1</td>
<td>0%</td>
<td>0%</td>
<td>100%</td>
</tr>
</tbody>
</table>

<h3>Italy</h3>

<table class="table table-striped">
Expand Down Expand Up @@ -380,5 +293,110 @@ <h3>Spain</h3>
</tr>
</tbody>
</table>

<h3>England</h3>
<table class="table table-striped">
<tbody>
<tr>
<th>Goals</th>
<th>Lose</th>
<th>Tie</th>
<th>Win</th>
<th>Lose %</th>
<th>Tie %</th>
<th>Win %</th>
</tr>
<tr>
<td>0</td>
<td>2591</td>
<td>1000</td>
<td>0</td>
<td>72,15%</td>
<td>27,84%</td>
<td>0</td>
</tr>
<tr>
<td>1</td>
<td>1617</td>
<td>1398</td>
<td>1133</td>
<td>38,98%</td>
<td>33,70%</td>
<td>27,84%</td>
</tr>
<tr>
<td>2</td>
<td>356</td>
<td>640</td>
<td>1748</td>
<td>12,97%</td>
<td>23,32%</td>
<td>63,70%</td>
</tr>
<tr>
<td>3</td>
<td>60</td>
<td>118</td>
<td>1091</td>
<td>4,72%</td>
<td>9,29%</td>
<td>85,97%</td>
</tr>
<tr>
<td>4</td>
<td>4</td>
<td>26</td>
<td>443</td>
<td>0,84%</td>
<td>5,49%</td>
<td>93,65%</td>
</tr>
<tr>
<td>5</td>
<td>0</td>
<td>2</td>
<td>139</td>
<td>0%</td>
<td>1,41%</td>
<td>98,58%</td>
</tr>
<tr>
<td>6</td>
<td>0</td>
<td>0</td>
<td>53</td>
<td>0%</td>
<td>0%</td>
<td>100%</td>
</tr>
<tr>
<td>7</td>
<td>0</td>
<td>0</td>
<td>14</td>
<td>0%</td>
<td>0%</td>
<td>100%</td>
</tr>
<tr>
<td>8</td>
<td>0</td>
<td>0</td>
<td>6</td>
<td>0%</td>
<td>0%</td>
<td>100%</td>
</tr>
<tr>
<td>9</td>
<td>0</td>
<td>0</td>
<td>1</td>
<td>0%</td>
<td>0%</td>
<td>100%</td>
</tr>
</tbody>
</table>
</div>
</div>
2 changes: 1 addition & 1 deletion templates/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<a href="/extrafun/transfers">Best Transfers</a>
</li>
<li ng-class="{ 'active': isActive('/extrafun/italy')}">
<a href="/extrafun/italy">Italy</a>
<a href="/extrafun/italy">Is Italian Soccer Boring?</a>
</li>
</ul>
</li>
Expand Down

0 comments on commit b0903f4

Please sign in to comment.