rstats

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.

Bolsonaro's First Job Approval Ratings

President Jair Bolsonaro's job approval ratings average 39.5% during his first quarter in office so far.

ANOVA Simplified Using R

This is a minimal set of notes and examples that form the foundation of my introduction to the analysis of variance.

Soccer Predictions Using Bayesian Mixed Effects Models

Models developed for the prediction of individual games, European domestic leagues, and the UEFA Champions League.

Reading List Faster With parallel, doParallel, and pbapply

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

Cartography and Spatial Analysis

This project shows examples of how to produce maps in R, perform spatial analyses, and how to estimate centrographic statistics.

Will Brazil Goes to the Instant Runoff Election?

Pundits have been asking themselves over the last days if the Brazilian far-right candidate would win the election in the primary runoff.

Game of Thrones Analysis

A data analysis of Game of Thrones that determines who really is the main character.

May the Force of R be With You, Always!

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