Vai al contenuto principale
Oggetto:
Oggetto:

Software R

Oggetto:

Software R

Oggetto:

Anno accademico 2021/2022

Codice dell'attività didattica
SWEACT00
Docente
Giuseppe Pernagallo (Titolare del corso)
Corso di studi
Laurea magistrale in Economia dell'Ambiente, della Cultura e del Territorio - a Torino [0403M21]
Anno
1° anno 2° anno
Periodo didattico
Da definire
Tipologia
Altre attività
Crediti/Valenza
-
SSD dell'attività didattica
SECS-S/01 - statistica
Modalità di erogazione
Tradizionale
Lingua di insegnamento
Italiano
Modalità di frequenza
Consigliata/Recommended
Tipologia d'esame
Prova pratica
Prerequisiti

Algebra lineare e statistica

Linear algebra and statistics

Oggetto:

Sommario insegnamento

Oggetto:

Obiettivi formativi

Questo corso mira ad introdurre la programmazione in R tramite l’uso dell’interfaccia RStudio. Verranno trattati concetti base della programmazione e in seguito applicazioni statistiche ed econometriche. Le ultime lezioni saranno dedicate ad argomenti avanzati di programmazione. Durante il corso verranno presentati casi studio ed esempi.

This will be an introductory course to learn programming in R using the interface RStudio. We will cover basics of programming and then we will see econometric and statistical applications. The last lessons will be devoted to advanced topics. Case studies and examples will be presented during this course.

Oggetto:

Risultati dell'apprendimento attesi

Gli studenti al termine del corso avranno una visione completa delle potenzialità di R per le analisi econometrico-statistiche e saranno in grado di usare tutte le funzioni di base. L’approfondimento di argomenti avanzati introdurrà lo studente alla scrittura di routine più complesse, quali simulazioni o data visualization avanzata, funzionali per insegnamenti successivi.

Students, by the end of the course, will have a complete vision of the advantages offered by R for econometric and statistical analysis, and they will be able to use all the basic functions. The presentation of advanced topics will introduce the student to complex routines, such as simulations or advanced data visualization, useful for successive courses.

Oggetto:

Modalità di insegnamento

La modalità didattica prevede l’utilizzo del computer per programmare in ambiente R. I codici presentati saranno adeguatamente commentati e forniti in anticipo per consentire agli studenti di riprodurre le esercitazioni.

The course will be delivered by means of computer to code in R. The presented codes will be adequately commented and provided to students before the lesson in order for them to reproduce the routines.

Oggetto:

Modalità di verifica dell'apprendimento

Alcune domande su programmazione in R verranno incluse nell'esame di Econometria (prof. Belloni). La modalità con cui verrà testata la vostra conoscenza su R è in corso di valutazione. Nel caso in cui l'esame di econometria dovesse sostenersi a distanza, questo potrebbe essere realizzato tramite introduzione di 3-4 domande a risposte multipla nel test online.

Il programma per prepararvi sulla parte di coding in R è quello del corso Software R. 

 

Questions on coding in R will be included in the exam of Econometrics (prof. Belloni). We have to decide the exact modality. If the exam of Econometrics will be online, we may decide to include 3-4 multiple choice questions in the online test. 

The syllabus for preparing the coding part is the syllabus of the course "Software R".  

Oggetto:

Programma

  • Topic 1: Concetti base

Introduzione alla programmazione; operazioni base; operazioni matematico-logiche; vettori; matrici, arrays e data frames; import/export dati in R.

  • Topic 2: Data visualization e data cleaning

Introduzione ai grafici basilari; export dei grafici; markdown files; grafici sovrapposti e stima kernel di densità; data visualization avanzata con ggplot; data cleaning.

  • Topic 3: Argomenti avanzati di programmazione

Loops (cicli); time complexity e parallel computing; nesting; funzioni; simulazioni di Monte Carlo; debugging (se rimane tempo).

  • Topic 4: Probabilità e statistica

Introduzione all'applicazione di strumenti statistici in R.

 

 

  • Topic 1: Basics of R

Basic operations; mathematical and logical operations; vectors; matrices and data frames; import/export data in R.

  • Topic 2: Data visualization and data cleaning

Introduction to basic plots; export plots; markdown files; overlapped plots and kernel density estimation; advanced data visualization with ggplot; data cleaning.

  • Topic 3: Probability and statistics

Set theory and probability; confidence intervals and statistical tests; regression models; introduction to time series analysis.

  • Topic 4: Advanced topics of programming

Loops; time complexity and parallel computing; nesting; functions; Monte Carlo simulations; debugging (if time permits).

 

Testi consigliati e bibliografia

Oggetto:

  • Materiale didattico disponibile su Moodle.
  • Libro: Heiss, F. (2016).Using R for Introductory Econometrics.
  • Letture di approfondimento:

1) James, G., Witten, D., Hastie, T. and Tibshirani, R. (2013).  An Introduction to Statistical Learning with Applications in R, Springer Texts in Statistics.

2) Garrett, G. and Wickham, H. (2017). R for Data Science, O’Reilly Media.

  • Course notes available on Moodle.
  • Book: Heiss, F. (2016).Using R for Introductory Econometrics.
  • Suggested lectures:

1) James, G., Witten, D., Hastie, T. and Tibshirani, R. (2013).  An Introduction to Statistical Learning with Applications in R, Springer Texts in Statistics.

2) Garrett, G. and Wickham, H. (2017). R for Data Science, O’Reilly Media.



Oggetto:

Note

Le lezioni sono erogate in presenza, utilizzando le aule fino alla loro capienza massima. È anche possibile seguire le lezioni in diretta streaming collegandosi alla pagina webex che verrà indicata successivamente. L'accesso degli studenti alle lezioni in presenza può avvenire esclusivamente attraverso il possesso del green pass e la prenotazione obbligatoria del posto in aula tramite il software Student booking. Le modalità di svolgimento dell'attività didattica potranno subire variazioni in base alle limitazioni imposte dalla crisi sanitaria in corso. 

Classes are delivered in-person, using classrooms up to their maximum capacity. It is also possible to follow the lessons in live streaming by connecting to the webex page that will be indicated later. Students can access to the lessons in presence only through the possession of the green pass and the compulsory reservation of the place in the classroom through the Student booking software. The way teaching activity is carried out may be subject to variations according to the evolution of the Covid-19 emergency. 

Oggetto:
Ultimo aggiornamento: 14/02/2022 12:56
Non cliccare qui!