- Docente: Giuliano Galimberti
- Credits: 8
- SSD: STAT-01/A
- Language: English
- Teaching Mode: In-person learning (entirely or partially)
- Campus: Bologna
- Corso: First cycle degree programme (L) in Statistical Sciences (cod. 6661)
-
from Sep 15, 2026 to Dec 14, 2026
Learning outcomes
By the end of the course the student should know the basic theory of normal linear models and generalized linear models. In particular the student should be able: - to define a statistical model - to formulate the normal linear model, estimate its parameters and test their significance - to use the variable selection procedures - to define a generalized linear model, by combining a random component with a linear predictor with a proper link function - to estimate and test the significance of the parameter of a generalized linear model - to evaluate the goodness of fit of a model and to detect violations of model assumptions
Course contents
- Basic framework for linear models
- model specification and assumptions;
- parameter estimation: least squares and maximum likelihood methods;
- coefficient of determination R2: definition and properties;
- finite and asymptotic properties of the estimators;
- hypothesis testing on regression coefficients.
- Regression diagnostics
- residuals: definitions and properties;
- Influential observations and leverage points;
- Multicollinearity
- Model selection
- effects of model mispecification;
- stepwise methods;
- best subset selection.
- Inclusion of qualitative regressors
- dummy variable coding;
- interactions between regressors.
- Some special cases
- one-way ANOVA;
- two-way ANOVA.
- Generalized linear models
- general definition: linear predictor, link function, random component;
- maximum likelihood estimation;
- hypothesis testing on model parameters.
Readings/Bibliography
Recommended readings (a detailed list of selected chapters and sections in available on virtuale.unibo.it):
Kutner, M. H., Nachsteim, C. J., Neter, J., Li, W. (2005). Applied Linear Statistical Models (5th edition). McGraw-Hill.
Montgomery, D. C., Peck, E. A., Vining, G.G. (2021) Introduction to linear regression analysis. Sixth edition. Wiley.
Handouts provided by the teacher.
Other readings:
Brown, J. D. (2015). linear Models in Matrix Form. Springer.
Fox J. (2016). Applied Regression Analysis and Generalized Linear Models (3rd edition). Sage.
Weisberg S. (2005). Applied Linear Regression. Wiley, third edition.
Teaching methods
Class lectures
Tutorial sessions in computer lab or using personal laptops in classroom
As concerns the teaching methods of this course unit, all students must attend Module 1, 2 on Health and Safety online
Assessment methods
The exam will assess each student's knowledge and skills at both the theoretical and practical levels.
The use of AI or smart devices (including, but not limited to, smartphones, smartwatches, smart glasses, and earbuds) during the exam is strictly prohibited. Any such use constitutes a violation of academic integrity and will be reported to the appropriate University authorities for disciplinary review.
The exam consists of two mandatory parts, both of which must be completed during the same exam sitting.
The first mandatory part consists of a written exam containing a set of multiple-choice and open-answer questions on the models presented during the course. These questions cover both theoretical aspects and R commands or output produced using the R software. Multiple-choice questions are graded as follows: each correct answer is awarded 1 point, each incorrect answer is penalized by 0.20 points, and unanswered questions receive 0 points. Each open-answer question is awarded between 0 and 2 points, depending on the correctness of the answer and the appropriateness of the terminology used. The number of multiple-choice and open-answer questions may vary from one exam sitting to another, while the maximum score remains fixed at 24 points. Students will have 60 minutes to complete the written exam. Consulting textbooks or personal notes during the written exam is not permitted.
For the first exam sitting after the end of the course, students may choose to split the written exam into two partial exams, each lasting 30 minutes and worth a maximum of 12 points. The first partial written exam takes place after the first five weeks of the course and covers the topics presented during the first part of the course. The second partial written exam is scheduled after the end of the course and covers the topics presented during the second part of the course. Students must take both partial written exams. In particular, to register for the second partial written exam, a student must have taken the first partial written exam (no minimum score is required). Furthermore, students who take the first partial written exam are not allowed to take the full written exam during the first exam sitting after the end of the course.
The second mandatory part is a computer-based practical exam. The practical exam assesses a student's ability to use R to solve a practical problem. Students will be required to write an R script and report the results obtained using that script. The practical exam is graded on a scale from 0 to 7 points, depending on the correctness of the solution and the quality and correctness of the corresponding R script. Students will have 30 minutes to complete this part of the exam. During the practical exam, students may consult a printed copy of the computer lab session handouts.
The final mark is obtained by adding the scores from the written and practical exams. Non-integer final marks are rounded down to the next lower integer. A final mark of 31 is recorded as 30 cum laude.
In the event of failure or rejection of the final mark, students must repeat the entire exam at one of the subsequent exam sittings. Students may reject a passing grade and retake the exam at least once but no more than twice.
Office hours
See the website of Giuliano Galimberti
SDGs
This teaching activity contributes to the achievement of the Sustainable Development Goals of the UN 2030 Agenda.