New Australian data on the HMD

November 26, 2014
By

The Human Mortality Database is a wonderful resource for anyone interested in demographic data. It is a carefully curated collection of high quality deaths and population data from 37 countries, all in a consistent format with consistent definitions. I have used it many times and never cease to be amazed at the care taken to maintain

Read more »

How About a “Snowdoop” Package?

November 26, 2014
By

Along with all the hoopla on Big Data in recent years came a lot of hype on Hadoop.  This eventually spread to the R world, with sophisticated packages being...

Read more »

Confidence vs. Credibility Intervals

November 26, 2014
By
Confidence vs. Credibility Intervals

Tomorrow, for the final lecture of the Mathematical Statistics course, I will try to illustrate - using Monte Carlo simulations - the difference between classical statistics, and the Bayesien...

Read more »

Happy Thanksgiving | More Examples of XML + rvest with SVG

November 26, 2014
By

I did not intend for this little experiment to become a post, but I think the code builds nicely on the XML + rvest combination (also see yesterday’s post)...

Read more »

Slightly Advanced rvest with Help from htmltools + XML + pipeR

November 26, 2014
By

Hadley Wickham’s post “rvest: easy web scraping with R” introduces the fine new package rvest very well.  For those now yearning a slightly more advanced example with a little...

Read more »

MilanoR meeting: 18th December

November 26, 2014
By
MilanoR meeting: 18th December

MilanoR staff is happy to announce the next MilanoR mee

Read more »

The beautiful R charts in London: The Information Capital

November 26, 2014
By
The beautiful R charts in London: The Information Capital

If you've lived in or simply love London, a wonderful new book for your coffee-table is London: The Information Capital. In 100 beautifully-rendered charts, the book explores the data...

Read more »

Extracting NOAA sea surface temperatures with ncdf4

November 25, 2014
By

I’ve written previously about some example R scripts I created to extract sea surface temperature data from NOAA’s Optimum Interpolated Sea Surface Temperature products. If you want daily global...

Read more »

The gridGraphics Package (2014-03)

November 25, 2014
By
2014-11-24 22_56_08-Clipboard

The gridGraphics package provides a function, grid.echo(), that can be used to convert a plot drawn with the graphics package to the same result drawn using grid. This provides...

Read more »

RStudio shortcuts (Windows) – for cleaner and faster coding

November 25, 2014
By
RStudio shortcuts (Windows) – for cleaner and faster coding

RStudio has a number of keyboard shortcuts that make for cleaner and faster coding. I put all the Windows shortcuts that I use onto a single page so that I...

Read more »

An Update on Flexible Asset Allocation

November 25, 2014
By
An Update on Flexible Asset Allocation

A few weeks back, after seeing my replication, one of the original authors of the Flexible Asset Allocation paper got … Continue reading →

Read more »

What’s the most popular German car where you live?

November 25, 2014
By
What’s the most popular German car where you live?

by Tim Winke PhD student in Demography and Social Sciences in Berlin This post has been abstracted from Tim's entry to a contest that Dalia Research is running based...

Read more »

Improving base-R examples

November 25, 2014
By
Improving base-R examples

Earlier today I saw the hundred bazillionth question about how to use the paste function. My initial response was “take a look at example(paste) to see how it works”....

Read more »

Rcpp now used by 300 CRAN packages

November 25, 2014
By
Rcpp now used by 300 CRAN packages

This morning, Rcpp reached another round milestone: 300 packages on CRAN now depend on it (as measured by Depends, Imports and LinkingTo declarations). The graph is on the...

Read more »

Should we fit maximal linear mixed models?

November 25, 2014
By
Should we fit maximal linear mixed models?

Recently, Barr et al published a paper in the Journal of Memory and Language, arguing that we should fit maximal linear mixed models, i.e., fit models that have a...

Read more »

How cold is it? A Bayesian attempt to measure temperature

November 25, 2014
By
How cold is it? A Bayesian attempt to measure temperature

It is getting colder in London, yet it is still quite mild considering that it is late November. Well, indoors it still feels like 20°C (68°F) to me, but...

Read more »

analyze the national longitudinal surveys (nls) with r

November 25, 2014
By

as the oldest panel survey out there, the bureau of labor statistics' national longitudinal surveys (nls) have been operating so long that justin bieber's grandparents might be too young...

Read more »

Circlizing Numbers

November 24, 2014
By
Circlizing Numbers

She makes the sound the sea makes to calm me down (Dissolve Me, Alt-J) Searching how to do draw chord diagrams in the Internet with ggplot2 I found a very-easy-to-use...

Read more »

YATORP — Yet Another Tutorial on R Packaging

November 24, 2014
By

What the world needs right now is yet another tutorial on R packages and their creation. Luckily, this last Friday and Saturday, I had the opportunity to present...

Read more »

Performing Logistic Regression in R and SAS

Performing Logistic Regression in R and SAS

Introduction My statistics education focused a lot on normal linear least-squares regression, and I was even told by a professor in an introductory statistics class that 95% of statistical...

Read more »

Secret to Making Things Appear in RStudio Viewer

November 24, 2014
By

I am by no means an authoritative source on this, but I think I found out the secret behind htmltools html_print that chooses the RStudio Viewer browser rather than...

Read more »

Pipeline to Plot Annual % Change

November 24, 2014
By

Pipes in R make my life incredibly easy, and I think my code easier to read.   Note, there are a couple different flavors of pipes (see magrittr and pipeR). ...

Read more »

The data.table Cheat Sheet

November 24, 2014
By
The data.table Cheat Sheet

The data.table package provides an enhanced version of data.frame that allows you to do blazing fast data manipulations. data.table is being used in different fields such as finance and genomics, and is...

Read more »

Twitter’s R package for detecting breakouts in time series

November 24, 2014
By
Twitter’s R package for detecting breakouts in time series

With so many more devices and instruments connected to the "Internet of Things" these days, there's a whole lot more time series data available to analyze. But time series...

Read more »

rvest: easy web scraping with R

November 24, 2014
By
rvest: easy web scraping with R

rvest is new package that makes it easy to scrape (or harvest) data from html web pages, by libraries like beautiful soup. It is designed to work with magrittr...

Read more »

R and Data Mining Workshop at AusDM 2014, Brisbane, 27 November

November 24, 2014
By
R and Data Mining Workshop at AusDM 2014, Brisbane, 27 November

R and Data Mining Workshop at AusDM 2014 http://ausdm14.ausdm.org/workshop There will be a half-day workshop on R and Data Mining at the AusDM 2014 conference in Brisbane, Thursday afternoon,...

Read more »

GTrendsR package to Explore Google trending for Field Dependent Terms

November 24, 2014
By
GTrendsR package to Explore Google trending for Field Dependent Terms

My friend, Steve Simpson, introduced me to Philippe Massicotte and Dirk Eddelbuettel’s GTrendsR GitHub package this week. It’s a pretty nifty wrapper to the Google Trends API that enables...

Read more »

an ABC experiment

November 23, 2014
By
an ABC experiment

  In a cross-validated forum exchange, I used the code below to illustrate the working of an ABC algorithm: Hence I used the median and the mad as my...

Read more »

Interpreting regression coefficient in R

November 23, 2014
By
Interpreting regression coefficient in R

Linear models are a very simple statistical techniques and is often (if not always) a useful start for more complex analysis. It is however not so straightforward to understand...

Read more »