Publications by Econometrics and Free Software
Fast food, causality and R packages, part 1
I am currently working on a package for the R programming language; its initial goal was to simply distribute the data used in the Card and Krueger 1994 paper that you can read here (PDF warning). The gist of the paper is to try to answer the following question: Do increases in minimum wages reduce employment? According to Card and Krueger’s pa...
5836 sym R (1786 sym/10 pcs) 12 img
Fast food, causality and R packages, part 1
I am currently working on a package for the R programming language; its initial goal was to simply distribute the data used in the Card and Krueger 1994 paper that you can read here (PDF warning). The gist of the paper is to try to answer the following question: Do increases in minimum wages reduce employment? According to Card and Krueger’s pa...
5836 sym R (1786 sym/10 pcs) 12 img
Fast food, causality and R packages, part 2
I am currently working on a package for the R programming language; its initial goal was to simply distribute the data used in the Card and Krueger 1994 paper that you can read here (PDF warning). However, I decided that I would add code to perform diff-in-diff. In my previous blog post I showed how to set up the structure of your new package. In...
5066 sym R (7978 sym/13 pcs) 6 img
Fast food, causality and R packages, part 2
I am currently working on a package for the R programming language; its initial goal was to simply distribute the data used in the Card and Krueger 1994 paper that you can read here (PDF warning). However, I decided that I would add code to perform diff-in-diff. In my previous blog post I showed how to set up the structure of your new package. In...
5066 sym R (7978 sym/13 pcs) 6 img
For posterity: install {xml2} on GNU/Linux distros
Today I’ve removed my system’s R package and installed MRO instead. While re-installing all packages, I’ve encountered one of the most frustrating error message for someone installing packages from source: Error : /tmp/Rtmpw60aCp/R.INSTALL7819efef27e/xml2/man/read_xml.Rd:47: unable to load shared object '/usr/lib64/R/library/xml2/libs/xml2....
1831 sym R (1620 sym/6 pcs) 4 img
For posterity: install {xml2} on GNU/Linux distros
Today I’ve removed my system’s R package and installed MRO instead. While re-installing all packages, I’ve encountered one of the most frustrating error message for someone installing packages from source: Error : /tmp/Rtmpw60aCp/R.INSTALL7819efef27e/xml2/man/read_xml.Rd:47: unable to load shared object '/usr/lib64/R/library/xml2/libs/xml2....
1831 sym R (1620 sym/6 pcs) 4 img
The never-ending editor war (?)
The creation of this blog post was prompted by this tweet, asking an age-old question: @spacemacs— Bruno Rodrigues (@brodriguesco) May 16, 2019 This is actually a very important question, that I have been asking myself for a long time. An IDE, and plain text editors, are a very important tools to anyone writing code. Most working hours are spen...
14642 sym R (2964 sym/2 pcs) 16 img
The never-ending editor war (?)
The creation of this blog post was prompted by this tweet, asking an age-old question: @spacemacs— Bruno Rodrigues (@brodriguesco) May 16, 2019 This is actually a very important question, that I have been asking myself for a long time. An IDE, and plain text editors, are a very important tools to anyone writing code. Most working hours are spen...
14575 sym R (2964 sym/2 pcs) 16 img
Using cosine similarity to find matching documents: a tutorial using Seneca’s letters to his friend Lucilius
Lately I’ve been interested in trying to cluster documents, and to find similar documents based on their contents. In this blog post, I will use Seneca’s Moral letters to Lucilius and compute the pairwise cosine similarity of his 124 letters. Computing the cosine similarity between two vectors returns how similar these vectors are. A cosine s...
4877 sym R (7934 sym/9 pcs) 4 img
Using cosine similarity to find matching documents: a tutorial using Seneca’s letters to his friend Lucilius
Lately I’ve been interested in trying to cluster documents, and to find similar documents based on their contents. In this blog post, I will use Seneca’s Moral letters to Lucilius and compute the pairwise cosine similarity of his 124 letters. Computing the cosine similarity between two vectors returns how similar these vectors are. A cosine s...
4877 sym R (7934 sym/9 pcs) 4 img