Monthly Archives: June 2018

Missing data imputation and instrumental variables regression: the tidy approach

Missing data imputation and instrumental variables regression: the tidy approach

In this blog post I will discuss missing data imputation and instrumental variables regression. This is based on a short presentation I will give at my job. You can find the data used here on this website: http://eclr.humanities.manchester.ac.uk/index.php/IV_in_R The data is used is from Wooldridge’s book, Econometrics: A modern Approach. You can download the data by clicking here. This is the variable description: 1....

Read more »

Interacting with AWS from R

Interacting with AWS from R

Getting set up If there is one realisation in life, it is the fact that you will never have enough CPU or RAM available for your analytics. Luckily for us, cloud computing is becoming cheaper and cheaper each year. One of the more established providers of cloud services is AWS. If you don’t know yet, they provide a free, yes...

Read more »

Spend on petrol by income by @ellis2013nz

Spend on petrol by income by @ellis2013nz

Fuel tax debates So, there’s currently a vibrant debate on a small New Zealandish corner of Twitter about a petrol tax coming into effect in Auckland today, and the different impacts of such taxes on richer and poorer households. The Government has released analysis from the Stats NZ Household Expenditure Survey showing higher petrol consumption per household for higher income households...

Read more »

RcppArmadillo 0.8.600.0.0

June 29, 2018
By
RcppArmadillo 0.8.600.0.0

A new RcppArmadillo release 0.8.600.0.0, based on the new Armadillo release 8.600.0 from this week, just arrived on CRAN. It follows our (and Conrad’s) bi-monthly release schedule. We have made interim and release candidate versions available via the GitHub repo (and as usual thoroughly tested them) but this is the real release cycle. A matching Debian release will be prepared...

Read more »

Exploring Different Squigglers HGA

June 29, 2018
By
Exploring Different Squigglers HGA

library(fitzRoy) library(tidyverse) ## -- Attaching packages --------------------------------------------------- tidyverse 1.2.1 -- ## v ggplot2 2.2.1 v purrr 0.2.5 ## v tibble 1.4.2 v dplyr 0.7.5 ## v tidyr 0.8.1 v stringr 1.3.1 ## v readr 1.1.1 v forcats 0.3.0 ## -- Conflicts...

Read more »

Punctuation in literature

June 29, 2018
By

This morning I was scrolling through Twitter and noticed Alberto Cairo share this lovely data visualization piece by Adam J. Calhoun about the varying prevalence of punctuation in literature. I thought, “I want to do that!” It also offers me the opportunity to chat about a few of the new options available for tokenizing in tidytext via updates to...

Read more »

Three Deep Truths About R

June 29, 2018
By

Everything that exists in R is an object ~ John M. Chambers Everything that happens in R is the result of a function call ~ John M. Chambers Names have objects; objects don’t have names ~ Hadley Wickham So, what are the implications of these statements? Everything in R is an object NULL is an … Continue reading Three...

Read more »

Global Migration, animated with R

June 29, 2018
By
Global Migration, animated with R

The animation below, by Shanghai University professor Guy Abel, shows migration within and between regions of the world from 1960 to 2015. The data and the methodology behind the chart is described in this paper. The curved bars around the outside represent the peak migrant flows for each region; globally, migration peaked during the 2005-2010 period and the declined...

Read more »

World Cup Analysis

June 29, 2018
By
World Cup Analysis

The grandest sports tournament on Earth is here, and that can only mean one thing: predictive modeling! Our model predicted 13 of 16 of the final teams correctly. Read on to find our prediction on who will win the 2018 World Cup!

Read more »

Farewell to Shiny Appreciation month

June 29, 2018
By

As we come to the end of Shiny Appreciation month we hope that the blog posts and tweets have encouraged more of you to start using Shiny to create your own interactive web applications. If you need some help however with getting started with Shiny, or with more advanced functionality such as understanding reactivity, making plots interactive, debugging your...

Read more »

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)