About Me Blog
Dealing with heteroskedasticity; regression with robust standard errors using R Forecasting my weight with R Getting data from pdfs using the pdftools package Imputing missing values in parallel using {furrr} Missing data imputation and instrumental variables regression: the tidy approach {pmice}, an experimental package for missing data imputation in parallel using {mice} and {furrr} Building formulae Functional peace of mind Get basic summary statistics for all the variables in a data frame Getting {sparklyr}, {h2o}, {rsparkling} to work together and some fun with bash Importing 30GB of data into R with sparklyr Introducing brotools It's lists all the way down It's lists all the way down, part 2: We need to go deeper Keep trying that api call with purrr::possibly() Lesser known dplyr 0.7* tricks Lesser known dplyr tricks Lesser known purrr tricks Make ggplot2 purrr Mapping a list of functions to a list of datasets with a list of columns as arguments Predicting job search by training a random forest on an unbalanced dataset Teaching the tidyverse to beginners Why I find tidyeval useful tidyr::spread() and dplyr::rename_at() in action Easy peasy STATA-like marginal effects with R Functional programming and unit testing for data munging with R available on Leanpub How to use jailbreakr My free book has a cover! Work on lists of datasets instead of individual datasets by using functional programming Method of Simulated Moments with R New website! Nonlinear Gmm with R - Example with a logistic regression Simulated Maximum Likelihood with R Bootstrapping standard errors for difference-in-differences estimation with R Careful with tryCatch Data frame columns as arguments to dplyr functions Export R output to a file I've started writing a 'book': Functional programming and unit testing for data munging with R Introduction to programming econometrics with R Merge a list of datasets together Object Oriented Programming with R: An example with a Cournot duopoly R, R with Atlas, R with OpenBLAS and Revolution R Open: which is fastest? Read a lot of datasets at once with R Unit testing with R Update to Introduction to programming econometrics with R Using R as a Computer Algebra System with Ryacas

Software

This is a list of software I use for work. I only use Free Software (whenever I have a choice, at least). Free here is not about price, but about freedom. Think of free as in free speech. The reasons I chose to use free software are both practical and philosophical. Free software gives me infinite flexibility: I can install it on any machine I own without having to worry about licenses or worry that the software may become deprecated some day. As for the philosophical reasons, I think that free software is in line with the way science should be done: sharing knowledge, helping each other and disapprove of unethical behaviour. To know more about Free Software, consult the FSF site and the Wikipedia page about free software.

  • I use openSUSE as my operating system. It’s fast, stable, doesn’t nag me with forced and unwanted updates and has a lot of software available in the default repositories.
  • For my statistical needs I use the R programming language. It is a very extensive and powerful programming language used worldwide by both researchers and firms and is rapidly taking the place of other statistical software programs like SAS. You can install it on any linux distribution via its package manager. For Windows and OSX versions, you can get R for free on the project’s page. It works best if you also install Rstudio, which is a modern IDE for R.
  • Setting up Python for scientific purposes can be a tricky. To simplify the installation of the different Python libraries and have a consistent environment across my different computers (and coworkers’ computers) I use Anaconda by Continuum Analytics. It is a free, commercially supported Python distribution and it works very well. It comes with everything you’d need from a Python distribution, Numpy, Scipy, Matplotlib and Pandas, one of the most useful Python libraries out there.
  • LaTeX is used extensively in academia to write scientific papers. It takes care of the formatting for you, allowing you to focus on what really matters. Writing mathematical equations in LaTeX is also very easy and the result is beautiful. On any GNU+Linux distribution, installing LaTeX is done via the system’s package manager. For Windows users, you’ll need to install Miktex and for OSX MacTeX.
  • I’ve been looking for the killer editor for quite some time and I can confidently say that Spacemacs is the one! Spacemacs truly is the best of both Vim and Emacs; it is Emacs at its core, but the user can enable Vim keybindings. This means that you can use all the great Emacs packages. Using ESS, it is possible to work with R, and it’s also possible to edit LaTeX source files, Python files, etc.
  • I’m not a designer by any means, but when I need to design a poster for a conference, or a call for papers, I use Gimp and Scribus. Gimp is an image manipulation tool not unlike Adobe Photoshop and Scribus is a desktop publishing tool like Adobe Indesign.