Be the Best at What Matters Most in Versioning Control

I won't give you details on git version control tools. Instead, I'll only ask you to commit to memory these few commands...

Bayesian Ideal Points Estimation

Packages you’ll need First of all, make sure you’ve a working C++ compiler in your machine; you’ll need it for Stan/rstan to work. # devtools::install_github("dmarcelino/SenadoBR") # devtools::install_github("rmcelreath/rethinking") library(readr) # pacakge for reading data library(rstan) # package for interacting with Stan (sampling over distributions) # library(rethinking) # package for interacting with Stan library(ggplot2) # package for plotting Introduction This tutorial will use data from the brazilian Senate, and build a comparison between two approaches very widespread in the political science studies.

Reading List Faster With parallel, doParallel, and pbapply

It's important to realise that every bit of optimisation matters.

May the Force of R be With You, Always!

With Telegram, the force of R can always be with me, where I have data.

Data Science and Society: The SciencesPo R Package

This presentation is part of a coordinated edition seminar, Data Science and Society, organized by IBPAD and Núcleo de Estudos e Pesquisa em Políticas Públicas, Governo e Gestão (NP3-UnB).

Yet the Worst Olympic Chart

The Olympics barely began but we already have the worst chart winner.

Synthesis of the Survey of Therapeutic Communities in Brazil

Since 2011, the Federal Government, through the National Secretariat for Drug Policy (SENAD), funds vacancies in Therapeutic Communities (CTs) for people with substance use and substance use disorders (SUDs). In 2014, the Secretariat invited IPEA to …

Data, Data, Data

Shows the distribution of therapeutic communities in Brazil.

Isn't sad that all that matters in an election is the candidate's height?

This post discusses the importance of candidates' stature in US presidential elections.

A Bit More Fragmented

This entry discusses the legislative elections in Brazil, which turned out to produce one of the most fragmented parliament in the world.