Informatica II
People
Course director
Course director
Description
This course builds on the introduction to R in Informatica I and Statistica I. It furthermore makes use of some of the concepts presented in Statistica I and Matematica I+II such as distributions, matrix algebra or functional analysis.
The course covers the following topics:
- The R language
- Calculating: Operators
- Efficient programming: Functions
- Repeating and deciding: Flow control
- Solving problems: Algorithms
- Finding the best solution: Optimization
- A world of models: Applications of linear algebra
- Working with data: Frames
- More than thousand words: Introduction to data visualization
- All possibilities: Introduction to simulation
- Trust, but verfiy: using AI copilots for faster and more efficient programming
- From A to Z: Writing an entire research report in R
Additional topics
- A short introduction to the blockchain
- An introduction to LaTex
Required Material
- Students are expected to bring a laptop with a recent version of R and Rsudio installed to class. The two programs are free and can be obtained here: www.r-project.org and www.rstudio.com
- All slides and sample programs will be distributed on the iCorsi platform.
- The official Introduction to R is available free of charge from cran.r-project.org/doc/manuals/R-intro.pdf
- Students will furthermore get free access to Datacamp for tutorials and to the Autograder platform for submitting exercises
- Students will need free accounts to Github Copilot and ChatGPT 4o
- This course is supported by www.datacamp.com
Objectives
Being able to write a simple program is a skill that every economics student should posses, even in times of AI assistants. Programming is not very difficult – a program is just a list of precise instructions that the computer will follow – and it can be quite some fun. Most important: a little programming helps you to get your work done much faster.
The goals of this course are
- Learn a simple programming language: the R language
- Efficiently use and critically assess AI tools for programming such as ChatGPT or Github Copilot
- Manage data with R and learn how to use it as statistics/econometrics program
- Understand why problems are solved with the computer differently than with pen and paper
- Learn a few standard algorithms for numerical problem solving
- Add a few further useful skills to the toolstack of students
After this course, students should know enough R to solve simple econometric, financial, or economic problems and have a good basis for writing code for an empirical topic in their Bachelor thesis.
Teaching mode
In presence
Learning methods
Programming is a both a matter of understanding and of practise. The main idea of the course is to accompany students form theory to practise in simple steps. New topics are introduced with short tutorials (video or interactive) that should be followed at home before class starts. One lecture per week is then reserved to discussing new concepts and how to apply them. Students have then one week to solve small programming exercises. The results of these exercises and further applications are discussed in a dedicated exercise session.
The course is entirely taught in English.
Examination information
10% Completion of Datacamp tutorials, grading based on % completed by deadline
90% Final exam. Format: “empty program” to be filled in + few short questions
Education
- Bachelor of Arts in Economics, Lecture, 2nd year
- Bachelor of Arts in Economics, Lecture, Economia politica - corsi a scelta - 24 ects, 2nd year
- Bachelor of Arts in Economics, Lecture, Economia politica - Diritto II o Informatica II, 2nd year
- Bachelor of Arts in Economics, Lecture, Management - corsi a scelta - 24 ects, Elective, 2nd year
- Bachelor of Arts in Economics, Lecture, ICSE - corsi a scelta - 18 ects, Elective, 2nd year