BSc in Computer science (Università degli Studi di Milano)

The course aim at introducing the fundamentals of descriptive statistics, probability and parametric inferential statistics.

Expected results

Students will be able to carry out basic explorative analyses and inferences on datasets, they will know the main probability distributions and will be able to understand statistical analyses conducted by others; moreover, they will know simple methods for the problem of binary classification, and will be able to evaluate their performances. The students will also acquire the fundamental competences for studying more sophisticated techniques for data analysis and data modeling.


Date Info
28/02/2024 Schedule change for the lectures of «Statistics and data analytics»
Starting from March, 7th, the «Statistics and data analytics» lectures of each Thursday will take place in the G21 classroom.


Lectures are in italian.

Course schedule

Lectures take place in presence, during the spring semester, at the "Città studi" educational sector. The schedule is as follows:

Day Hour Place
Tuesday 10:30 - 12:30 208 (Settore didattico)
Thursday 13:30 - 16:30 G21 (via Golgi) Aula magna (Dip. di Informatica)

Any change to the schedule will be announced in class and published in paragraph News of this page.

Office hours

By appointment, room 5015 of the Computer Science Department. It is possible contact the teacher by e-mail, taking care to read in advance the guide prepared by Prof. Sebastiano Vigna and clearly specifying in the message the course name and the academic year. In particular, students are encouraged to always use their academic address (i.e. based on the domain signing with name and student ID number and recalling that the response time may vary depending on the teacher commitments.

Course material

The parts on descriptive statistics are taken from the first three chapters of the textbook Ross, Introductory statistics, Academic press, 2010, ISBN 9780123743886 (marked by PS in the lectures calendar). These chapters (from the italian edition) can be downloaded through authentication using the previously described credentials.

The remaining part course is mainly based on the following textbook: Ross, S., Introduction to Probability and Statistics for Engineers and Scientists, Academic press, 2020, ISBN 9780128243466 (marked by RPS in the lectures calendar).

Some lecture notes for topics not covered by the textbooks are available through a github repository, as well as in a form directly executable in a Web browser.

The book Wess McKinney, Python for Data Analysis, third edition, O'Reilly 2022, which is also available online, can be used for strenghtening the knowledge of Python.


The course explains the topics listed in the lecture calendar.


Students shall have passed the exam of «Calculus»; besides that, the course requires knowledge of the main topics of computer programming, and having passed the exam of «Discrete mathematics» is strongly suggested.

Lectures calendar


Exam modalities

Students should sign up for the examination session in order to be admitted at the exam.

The exam consists of a written and an oral test, both relating to the topics covered in the course. The written test takes place in a computer-based room and it lasts two hours and a half. It is based on open-ended questions and on the analysis of a dataset through the adequate application of the statistical techniques described during the classes. The evaluation, with a mark of pass/fail, takes into account the level of mastery of the topics and the correct use of mathematical formalism.

The oral test, which is accessed after passing the written test, is based on the discussion of the written test answers and on questions concerning topics covered in the course. Its evaluation, expressed on a scale between 0 and 30, takes into account the level of mastery of the topics, the clarity, the language skills, and the correct use of technical jargon.

Exam sessions

Session Date
June 12/06/2024
July 01/07/2024
September 13/09/2024
January N/A
February N/A
February N/A