These notes are a companion material to the course 'The R language and environment for statistical computing' held by the author at Università Cattolica del Sacro Cuore, Bachelor Degree in 'Economics and management'. The aim of the course is to make participants able to implement statistical procedures in order to properly solve business and economic problems by means of the open source software R (R Core Team, 2019). The reader is assumed to possess a basic understanding of statistics with regard to data analysis, probability and inference, at the level of the combined courses 'Statistica (Analisi dei dati e probabilità)'/Statistics and 'Statistica applicata'/'Applied statistics and big data' teached at Università Cattolica del Sacro Cuore. Notes are organized as follows. Sections from 1 to 3 consider the basics of R and deal with problems of descriptive statistics, according to the methodological presentation available e.g. in Boari, Cantaluppi (2018). Section 4 considers the generation of pseudo-random numbers, introduces some simulation problems and gives the basics on how to work with parallel architectures. Section 5 explains how to read/import data in R by also considering social network and open data sources. Section 6 illustrates how to solve some basic mathematical problems. In particular, graphical representations of functions in one and two variables, optimization problems and solution to system of equations and system of inequalities are considered. Section 7 proposes a short analysis of the survey on households wealth administered by the Bank of Italy (2014). Section 8 describes how to solve some basic inferential problems (fitting distributions, testing population proportions, testing mean and variances in one and two sample instances, fitting linear and generalized linear (logit) models). Finally, Appendix A gives a brief introduction to packages dplyr, ggplot2 and ggmap that are frequently used in data science applications. Sections from 1 to 7 are accompanied by exercises. Verzani (2002), Wickman, Grolemund (2016) and Williams (2017) are useful references for further methods/exercises/problems. Companion material to these notes (files, data sources and codes) can be requested to the author. These notes were produced with R (version 3.5.3), knitr 1.22 and MiKTeX 2.9.

Cantaluppi, G., Exercise with R, EDUCatt, Milano 2019:2019 157 [http://hdl.handle.net/10807/132244]

Exercise with R

Cantaluppi, Gabriele
2019

Abstract

These notes are a companion material to the course 'The R language and environment for statistical computing' held by the author at Università Cattolica del Sacro Cuore, Bachelor Degree in 'Economics and management'. The aim of the course is to make participants able to implement statistical procedures in order to properly solve business and economic problems by means of the open source software R (R Core Team, 2019). The reader is assumed to possess a basic understanding of statistics with regard to data analysis, probability and inference, at the level of the combined courses 'Statistica (Analisi dei dati e probabilità)'/Statistics and 'Statistica applicata'/'Applied statistics and big data' teached at Università Cattolica del Sacro Cuore. Notes are organized as follows. Sections from 1 to 3 consider the basics of R and deal with problems of descriptive statistics, according to the methodological presentation available e.g. in Boari, Cantaluppi (2018). Section 4 considers the generation of pseudo-random numbers, introduces some simulation problems and gives the basics on how to work with parallel architectures. Section 5 explains how to read/import data in R by also considering social network and open data sources. Section 6 illustrates how to solve some basic mathematical problems. In particular, graphical representations of functions in one and two variables, optimization problems and solution to system of equations and system of inequalities are considered. Section 7 proposes a short analysis of the survey on households wealth administered by the Bank of Italy (2014). Section 8 describes how to solve some basic inferential problems (fitting distributions, testing population proportions, testing mean and variances in one and two sample instances, fitting linear and generalized linear (logit) models). Finally, Appendix A gives a brief introduction to packages dplyr, ggplot2 and ggmap that are frequently used in data science applications. Sections from 1 to 7 are accompanied by exercises. Verzani (2002), Wickman, Grolemund (2016) and Williams (2017) are useful references for further methods/exercises/problems. Companion material to these notes (files, data sources and codes) can be requested to the author. These notes were produced with R (version 3.5.3), knitr 1.22 and MiKTeX 2.9.
2019
Inglese
Monografia o trattato scientifico
EDUCatt
http://hdl.handle.net/10807/120636
Cantaluppi, G., Exercise with R, EDUCatt, Milano 2019:2019 157 [http://hdl.handle.net/10807/132244]
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10807/132244
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact