We share our experience working with R to forecast election results. In particular we highlight the importance of following good practices of software development (version control, code review, containers,...), and how we used R with Stan to develop …
I teach a course in Foundations of Statistics for the master program in Data Science at ITAM. Felipe González and I developed the syllabus and we created the class notes along Alfredo Garbuno. [Here](https://tereom.github.io/fundamentos/) is the latest course site and [here](https://github.com/tereom/fundamentos) is the GitHub repository with the class notes.
We adapted the semi-mechanistic Bayesian hierarchical model of COVID-19 epidemiological dynamics found in [Flaxman et al. (2020)](https://spiral.imperial.ac.uk:8443/handle/10044/1/77731) to produce state-level estimates of the number of infections and the time-varying reproduction number (the expected number of secondary cases caused by each infected individual) as a function of human mobility. [Here](https://arxiv.org/pdf/2007.09117.pdf) we explain the model in detail and the assumptions made for Mexico and [here](https://covid19mex.netlify.app/) we show state-level estimates (latest update is August 2020). We also published an article in the Mexican newspaper Nexos explaining the model results [here](https://datos.nexos.com.mx/?p=1469).
I teach a course in Computational Statistics for the master programs in Data Science and in Computer Science at ITAM. Felipe González and I developed the syllabus and I developed (and yearly update) the class notes. [Here](https://tereom.github.io/est-computacional-2019/) is the latest course site and [here](https://github.com/tereom/est-computacional-2019) is the GitHub repository with the class notes.
In 2014 and 2015, I taught a course in Multivariate Statistics (covering Bayesian Networks, Markov Random Fields HMMs, hierarchical models,..) for the master program in Data Science at ITAM. Felipe González and I developed the syllabus and the class notes. I am in the process of updating the course resources, [here](https://est-mult.netlify.com) is the course site and [here](https://github.com/tereom/est-multivariada) is a Github repository with class notes.
Notes for a 2-3 day introductory workshop to R for data analysis. [Here](https://poder-tidyverse.netlify.app/) is the latest workshop site and [here](https://github.com/tereom/r-analisis-datos) is the GitHub repository. I have taught this workshop (sometimes as part of a larger program) at [RMB](https://www.redmexicanadebioinformatica.org/navegando-y-explotando-el-poder-del-tidyverse/), [ITAM](https://www.itam.mx), [CONABIO](https://www.gob.mx/conabio), [SAI](http://www.sai.com.mx), [OXFAM Mexico](https://www.oxfammexico.org), [GNP](https://www.gnp.com.mx) and [COLMEX](https://www.colmex.mx).