Notes from the 2nd R in Insurance Conference

July 22, 2014
By
Notes from the 2nd R in Insurance Conference

The 2nd R in Insurance conference took place last Monday, 14 July, at Cass Business School London. This one-day conference focused once more on applications in insurance and actuarial science that use R. Topics covered included reserving, pricing, loss...

Read more »

There’s no mistake in the barley data

July 21, 2014
By
There’s no mistake in the barley data

Statistics has many canonical data sets. For classification statistics, we have the Fisher's iris data. For Big Data statistics, the canonical data set used in many examples is the Airlines data. And for dotplots, we have the barley data, first popularized by Bill Cleveland in the landmark 1993 text Visualizing Data. Cleveland's innovations in data visualiation were hugely influential...

Read more »

UseR 2014, days 3-4

July 21, 2014
By
UseR 2014, days 3-4

Three weeks ago, I’d commented on the first two days of the UseR 2014 conference. I’m finally back to talk about the second half. Dirk Eddelbuettel on Rcpp Dirk Eddelbuettel gave a keynote on Rcpp . The goal of Rcpp is to have “the speed of C++ with the ease and clarity of R.” He

Read more »

Geomorph update 2.1.1 now available!

July 21, 2014
By
Geomorph update 2.1.1 now available!

Geomorph users,We have uploaded version 2.1.1 to CRAN. The windows and mac binaries have been compiled and the tarball is available.Version 2.1.1 contains small updates and fixes a few small bugs.New Feature: Specimens can now be rotated...

Read more »

Master interactive documents at the Shiny Dev Center

July 21, 2014
By
Master interactive documents at the Shiny Dev Center

We’ve added a new section of articles to the Shiny Development Center. These articles explain how to create interactive documents with Shiny and R Markdown. You’ll learn how to Use R Markdown to create reproducible, dynamic reports. R Markdown offers one of the most efficient workflows for writing up your R results. Create interactive documents

Read more »

Income distribution and Tour de France

July 21, 2014
By

A few days ago, Jean-François Mignot published an interesting article entitled Tour de France 2014 : pourquoi le vainqueur gagne 100 fois plus que le 10e. In this article, we have the following graph, with the income of the cyclist, as a function of his final ranking (the data where downloaded from http://sportbuzzbusiness.fr/) > bike=read.csv( + "http://freakonometrics.free.fr/tourdefrance.csv", + sep=";",header=TRUE,dec=" ") >...

Read more »

How to update and backup a MySQL database under version control and all within Rstudio

July 21, 2014
By
How to update and backup a MySQL database under version control and all within Rstudio

I am trying to have better workflows to ensure data quality and two important things for me are first, scripting as much as posible the data manipulation process, and second, backing up the database we use under version control (e.g. … Continue reading →

Read more »

Changes in rnoaa v0.2.0

July 21, 2014
By

We just released v0.2 of rnoaa. For details on the update, see the release notes. What follows are some notes on the more important changes. Updating to v0.2 Install rnoaa from CRAN install.packages("rnoaa") or Github devtools::install_github("ropensci/rnoaa") Then load rnoaa library("rnoaa") UI changes We changed almost all function names to have a more intuitive programmatic user interface (or UI). We changed all noaa*() functions to ncdc*() - these work...

Read more »

Weekly Variability Simulation of Fantasy Football Projections

July 20, 2014
By
Weekly Variability Simulation of Fantasy Football Projections

In this post, I show how to estimate players’ week-to-week variability in fantasy football points.  In a prior post, I demonstrated how to calculate a player’s risk level, as defined The post Weekly Variability Simulation of Fantasy Football Projections appeared first on Fantasy Football Analytics.

Read more »

Graphing football world cup shots with rCharts

July 20, 2014
By

So, the FIFA World Cup is over. Germany won. Yay!Now with so much less football matches to watch, I tried the awesome new R package rCharts by Ramnath Vaidyanathan. In this case, I used the capability to generate NVD3 charts. Check it out...You ca...

Read more »

Is difference in proportion appropriate measure to compare performance of a drug over another one?

July 20, 2014
By

(This article was first published on MATHEMATICS IN MEDICINE, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: MATHEMATICS IN MEDICINE. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git,...

Read more »

The Rise and Fall of the name Jennifer

July 19, 2014
By
The Rise and Fall of the name Jennifer

A recent fascinating post by Analysis at Large got me interested in naming trends analysis. The original post used Social Security data by state to map out the more frequent names by state. While this sounded interesting it turned out a single name (yo...

Read more »

Guns are cool – time effects

July 19, 2014
By
Guns are cool – time effects

September last year I made a post using the shootingtracker data. It is attempted in shootingtracker to register all shootings with at least four victims, be they wounded or dead. The data starts  January 1st 2013, which means that by now the...

Read more »

Creating an Interactive Map of Craft Breweries in VA Using the plotly R Package

July 18, 2014
By
Creating an Interactive Map of Craft Breweries in VA Using the plotly R Package

Well folks, another new year’s resolution down the drain. I was initially shooting for a post each month for 2014. More projects came. Plates were full. Plates were emptied. More plates were filled again. I think I will just alter my resolution to 12 posts this year. That’s a fair compromise with myself, right? That’s

Read more »

US Names by State: Part I (Mary is everywhere!)

July 18, 2014
By
US Names by State: Part I (Mary is everywhere!)

I was browsing the Social Security Administration’s website and found a link for the open government initiative (http://www.ssa.gov/open/data/).  There seems to be a fair amount of interesting data here, but I grabbed the names of people born in the US … Continue reading →

Read more »

July 22: Applications in R Webinar

July 18, 2014
By

Just a quick heads-up that I'll be presenting with Neera Talbert (VP Professional Services, Revolution Analytics) in a free webinar on Tuesday, July 22 on Applications in R: Success and Lessons Learned from the Marketplace. I'll describe several R applications from well-known companies (some of which can be seen in the presentation I gave at the China R User...

Read more »

Batman’s Choice

July 18, 2014
By
Batman’s Choice

A hero can be anyone, even a man doing something as simple and reassuring as putting a coat on a young boy’s shoulders to let him know the world hadn’t ended (Batman in The Dark Knight Rises) Joker has captured Batman and keeps him into a dark and cold dungeon of Gotham City. Showing his sadistic character,

Read more »

Bio7 R Documentation and Plot Examples

July 18, 2014
By

18.07.2014 A very time expensive process is the documentation of software you created yourself. I was finally able to update and improve the documentation for Bio7 and the embedded R “Graphical User Interface”. For the documentation this time i used Lyx to export the LaTeX document as HTML with the available eLyXer export module. The

Read more »

Extracting North American Mesoscale (NAM) Model Data with rNOMADS using DODS

July 17, 2014
By
Extracting North American Mesoscale (NAM) Model Data with rNOMADS using DODS

The (relatively) recent upgrade of rNOMADS to version 2.0.0 allows cross platform support for downloading atmospheric and oceanic operational model data into R via the GrADS-DODS system.  However, users have been experiencing difficulty using DODS to get North American Mesoscale (NAM) real time data.  The script below shows an example of getting the NAM 12z

Read more »

Alternate Price Plots | ggplot2 + magrittr

July 17, 2014
By

code{white-space: pre;} pre:not() { background-color: white; } if (window.hljs && document.readyState && document.readyState === "complete") { window.setTimeout(function() { hljs.initHighlighting(); }, 0);} Just some quick experiments with ggplot2 + magrittr to plot prices differently than the traditional ways. We wi€™ll get daily data on...

Read more »

R and Meta-Analysis

July 17, 2014
By
R and Meta-Analysis

by Joseph Rickert Broadly speaking, a meta-analysis is any statistical analysis that attempts to combine the results of several individual studies. The term was apparently coined by statistician Gene V Glass in a 1976 speech he made to the American Education Research Association. Since that time, not only has meta-analysis become a fundamental tool in medicine, but it is...

Read more »

Restaurant Performance Sunk by Selfies

July 17, 2014
By
Restaurant Performance Sunk by Selfies

An interesting story appeared over the weekend about a popular NYC restaurant realizing that, although the number of customers they served on a daily basis is about the same today as it was ten years ago, the overall service has significantly slowed. Naturally, this situation has led to poor online reviews so, the restaurant hired a firm to...

Read more »

RStudio Webinar with Hadley Wickham: The Grammar and Graphics of Data Science

July 17, 2014
By
RStudio Webinar with Hadley Wickham: The Grammar and Graphics of Data Science

RStudio has recently announced a series of free webinars open to the public. The first of these seminars is given by Hadley Wickham, Rice University Professor, RStudio Chief Scientist, and general super-star of the R development world. Contributing aut...

Read more »

Discontinuity Bayesian Forecasting

July 16, 2014
By
Discontinuity Bayesian Forecasting

I’m finalizing a paper presentation for the ABCP meeting, where I explore poor polling forecast in local elections in Brazil. I drew upon the Jackman (2005)’s paper “Pooling the Polls” to explore a bit about “house effects” in the Brazilian context. However, during the analysis I found myself extending his original model to fit the

Read more »

Why hadn’t I written a function for that?

July 16, 2014
By
Why hadn’t I written a function for that?

I’m often typing the same bits of code over and over. Those bits of code really should be made into functions. For example, I’m still using base graphics. (ggplot2 is on my “to do” list, really!) Often some things will be drawn with a slight overlap of the border of the plotting region. And in

Read more »

Is rainfall reporting endogenous to conflict?

July 16, 2014
By

For my paper on the impact of social insurance on the dynamics of conflict in India, I use some new remote sensed weather data. The data comes from the Tropical Rainfall Measuring Mission (TRMM) satellites. The satellite carries a set of five instruments, and is essentially a rainfall radar located in outer space. As a robustness check

Read more »

RStudio presents Essential Tools for Data Science with R

July 16, 2014
By
RStudio presents Essential Tools for Data Science with R

The RStudio team recently rolled out new capabilities in RStudio, shiny, ggvis, dplyr, knitr, R Markdown, and packrat. The “Essential Tools for Data Science with R” free webinar series is the perfect place to learn more about the power of these R packages from the authors themselves. Click to learn more and register for one or

Read more »

Compile R and OpenBLAS from Source Guide

July 16, 2014
By
Compile R and OpenBLAS from Source Guide

This guide is intended to aid any R and Linux user who desires a threaded version of BLAS. In particular I hope this will allow other grad students, who like me do not have many user privileges on their office computer, to follow suit and exploit multiple cores to speed up their linear algebra computations The post

Read more »

Comparing localsolver with Rglpk on k-medoids example

July 16, 2014
By

Recently I have coauthored a new localsolver package that can be used to solve large scale optimization problems from R. It is a wrapper around commercial solver that is free for academia. If you are interested why it is worthwhile to give it a lo...

Read more »