STATISTICAL MODELLING
cod. 1012636

Academic year 2025/26
1° year of course - Second semester
Professor
Asad Ullah KHAN
Academic discipline
Statistica (SECS-S/01)
Field
Formazione matematico-statistica
Type of training activity
Characterising
63 hours
of face-to-face activities
9 credits
hub: PARMA
course unit
in ENGLISH

Learning objectives

By the end of the course, students will be able to:
Understand the principles behind statistical modeling.
Build and interpret linear and generalized linear models.
Conduct model selection, diagnostics, and validation.
Apply the robust tools of outlier detection in order not only to find atypical observations but also the evaluate their effect on the model.
Apply supervised and unsupervised classification methods
Apply statistical models to real-world problems using appropriate software.
Communicate statistical findings clearly and effectively.

Prerequisites

Course on Introduction to Data Science with notions of programming.

Course unit content

Statistical modelling (now also called Machine Learning) refers to the automated identification of patterns in data. The purpose of this course is to establish foundation for Artificial Intelligence and Machine Learning. Statistic, Probability, Interpolation and robust analysis are the core components of AI/ML. This course will enable students to implement mathematical concepts using MALTAB-Programming which will enhance the knowledge and skills to use the methodology for solving AI/ML based problems of various domains. The course covers a range of statistical techniques for analyzing data and building predictive models using supervised and unsupervised learning passing through multiple regression and its extensions. Students will learn how to select appropriate models, interpret results, and validate model performance. Both classical and modern statistical approaches will be covered. Students will work with real-world datasets and use modern data science tools to extract meaningful insights and communicate results effectively

Full programme

Week Topic Key Concepts
Week 1: Principal Component Analysis (PCA) I
Introduction to dimensionality reduction and multivariate data structures. Algebraic foundations: eigenvalues and eigenvectors. Variance decomposition and maximization of projected variance. Criteria for selecting the number of components (Scree plot, cumulative variance explained).
Week 2: Principal Component Analysis (PCA) II
Advanced interpretation: loadings, scores, and biplots. Diagnostic tools and residual checking in PCA. Handling missing data and detecting outliers in high-dimensional spaces. Practical applications in data preprocessing.
Week 3: Correspondence Analysis (CA)
Extension of factorial methods to categorical variables. Analysis of contingency tables and row/column profiles. Chi-square distance metrics and geometric representation of associations.
Week 4: Regression Analysis I
Introduction to statistical modelling. Simple linear regression: estimation (OLS), interpretation of coefficients, and hypothesis testing. Matrix formulation of the general linear model. Initial diagnostic checking.
Week 5: Regression Analysis II
Multiple linear regression. Addressing multicollinearity and variance inflation factors (VIF). Model selection strategies (Stepwise, AIC/BIC). Handling categorical predictors, dummy variables, and interaction terms.
Week 6: Regression Analysis III
Introduction to logistic regression for binary outcomes. Robust estimation techniques: M-estimation, LMS, LTS, and the forward search for outlier detection. Transformations of the response and explanatory variables.
Week 7: IoT & ThingSpeak Analytics
Analyzing data from sensors. Configuring devices to send data to ThingSpeak using popular IoT protocols (MQTT/HTTP). Real-time data visualization and on-demand aggregation from third-party sources. Running IoT analytics automatically based on schedules or events to build serverless IoT systems.
Week 8: Unsupervised Learning: Clustering I
Introduction to cluster analysis and proximity measures. Hierarchical methods (agglomerative and divisive). Distance metrics (Euclidean, Manhattan, Mahalanobis) and linkage functions (Single, Complete, Average, Ward’s method).
Week 9: Unsupervised Learning: Clustering II
Non-hierarchical methods: the K-means approach. Optimization of the objective function. Extensions of K-means using robust model-based clustering. Choosing the optimal number of groups and the trimming factor to handle noise and outliers.
Week 10: Supervised Learning (SL) & Neural Networks (NN)
Classification techniques: Linear and Quadratic Discriminant Analysis. Logistic classification, Adaboost, and Classification Trees. Introduction to Neural Networks: architectures and backpropagation. Performance evaluation using ROC curves and diagnostics.
Week 11: Final Exam
Final assessment of the course material via project presentation.

Bibliography

Teaching methods

Frontal lessons and practical sessions on PC. For each week there will be 4 frontal lessons and two hours practical lesson in front of the PC so that students will be able to verify whether the concepts in the frontal lessons have been digested.

Assessment methods and criteria

In the final week of the course students will apply statistical modeling techniques to a dataset of their choice, formulate hypotheses, build models, interpret results, and write a report. Presentations will be held in the final week.
The final exam is done using the computer.
The students are required to write a MATLAB code which addresses both code queries and comments in order to verify the interpretation of the results.
The duration of the final exam is 75 minutes. Written answers will be assessed overall on five criteria: knowledge, the ability to apply knowledge, the capacity to communicate with appropriate technical language and terminology, independence of judgment and capacity to learn. During the exams the student are allowed to browse the textbook. Phone are not permitted.
The score of the final exam keeps also into account
Homework Assignments, Participation to seminars & Quizzes (GitHub Interaction)
Final project

The final exam is evaluated on a 0-30 scale. The vote "30 cum laude" will be awarded to particularly deserving students who, in addition to having complied with the requisites necessary to obtain the full evaluation, in the performance of the test have overall demonstrated an appreciable systematic knowledge of the topic, an excellent ability to apply the knowledge acquired to the specific problem in question, a considerable autonomy of judgment, as well as a particular care in the formal drafting of the essay.

Results will be published in the usual web platform ESSE3 within 10 days.
Please note that online registration for the exam is mandatory.

Other information

Contact for this course


Student registry office

Contact the service desk unipr for information on your career and enrollment procedures.

Teaching quality service

T. +39 0521 902296
E. didattica.sea@unipr.it

Education manager:
Anna De Vita

Deputy President of the degree course

Marco Riani
E. marco.riani@unipr.it

Career guidance delegate

Chiara Panari
E. chiara.panari@unipr.it

Student tutors

Dr. Giacomo Gibellini
E. tutor.datascience@unipr.it

Dr. Maria Novitasari
E. tutor.datascience@unipr.it