Skip to main content
Skip header
Terminated in academic year 2020/2021

Economic analysis with R

Type of study Follow-up Master
Language of instruction English
Code 156-0557/01
Abbreviation EAR
Course title Economic analysis with R
Credits 4
Coordinating department Department of Applied Economics
Course coordinator doc. Antonio Rodríguez Andrés, Ph.D.

Subject syllabus

1. Getting R started: Downloading R, R version, Installing
2. The R Environment: Command line, and R studio
3. R packages: installing packages, loading packages
4. Basics of R: basic math, variables, missing data, vectors
5. Types of data: data frames, matrices, lists, and arrays
6. Reading data into R: Reading CSV files, reading Excel data, reading other datasets (Stata, and SPSS)
7. Basic graphs in R: the use of plot function
8. Advanced graphs using ggplot
9. Basic statistics: Summary statistics, covariance and correlation
10. Linear Models: Simple and multiple regression models
11. Generalized linear models: logistic models
12. Count data models: negative binomial and poisson models
13. Introduction to panel data: fixed and random effects models
14. Creating reports using R: The knitr command with R markdown

Literature

LANDER, Jared P. [i]R for everyone: Advanced Analytics and Graphics.[/i] Crawfordsville: Adison Wesley, 2014. ISBN-13: 978-0-321-88803-7 .
VERZANI, John. [i]Using R for introductory statistics.[/i] [online]. Available from: https://cran.r-project.org/doc/contrib/Verzani-SimpleR.pdf.
WOOLDRIDGE, Jeffrey M. [i]Introductory econometrics: a modern approach. [/i] Sixth edition. Boston: Cengage Learning, 2016. ISBN 978-1-305-27010-7.

Advised literature

DOUGHERTY, Christopher. [i]Introduction to econometrics. [/i] Fifth edition. Oxford: Oxford University Press, 2016. ISBN 978-0-19-967682-8.
JAMES, G., D. WITTEN, T. HASTIE and R. TIBSHIRANI. [i]An Introduction to Statistical Learning Applications in R. [/i] Stanford: Springer, 2012. Available from: http://www-stat.stanford.edu/~tibs/.
NEUSSER, Klaus. [i]Time series econometrics.[/i] Switzerland: Springer, 2016. Springer texts in business and economics. ISBN 978-3-319-32861-4 .