Does the surrounding of the student have any influence on his/her alcohol consumption?
Initially, we wanted to know how a student’s surroundings can affect his/her alcohol consumption, for instance, if a student lives in a city with lots of pubs, clubs, and restaurants he/she would be more exposed to alcohol whereas one who has less or no pubs, clubs and such places in his/her city the student will have less access to alcohol. Therefore we collected some information about the two cities in which the highschool was located.
Évora, the city in which Gabriel Pereira (GP) school is located, is a medium-sized city with lots of historical landmarks. Because of its long and rich history, monuments and structures are the main draw for visitors. Moreover, the municipality and other organisations sponsor a large number of "Festas Populares" honouring saints, holidays, "Feiras" (fairs), and cultural events (like televised musical performances). On the other side, Portalegre where the other school, Mousinho da Silveira (MS) is located, is a small city with religious sites, museums etc. We plotted the maps of the two cities using mapbox and marked down the places in which alcohol sale could be possible, for instance bars, restaurants, pubs etc. As shown on the map, Evora has more pubs, restaurants and bars compared to Portalegre. This could be because Evora is a touristic area, so it would have to meet up the touristic needs. On contrary to the output of this map, we got a different result. Students in the Portalegre region tend to drink slightly more than of the students in Evora.
Is there a correlation between the student's grade and their alcohol consumption?
The second question that arose in our mind was if there were any particular relation between students’ alcohol consumption and their performance in school. As it is a common belief that one who drinks a lot has a lower academic performance compared to one who avoids alcohol. In order to verify whether the latter hypothesis is true, we decided to plot an alluvial plot with the help of Rawgraphs.
The two variables that we took into account are the alcohol consumption range and the grade range. The alcohol consumption column was derived by taking the mean of the two columns Dalc (workday alcohol consumption) and Walc (weekend alcohol consumption), which was further grouped from high to low. The grade range column was derived by grouping the column G3 (final grade) according to the Portuguese grading system, shown below:
| 18 to 20 | Excellent |
| 16 to 17 | Very good |
| 14 to 15 | Good |
| 10 to 13 | Sufficient |
| 0 to 9 | Fail |
The output of the graph sustains the aforementioned hypothesis. The students who drink too much often fail or score low marks. But this does not mean that the students who consume less or no alcohol always get a good score.