Autoregressive Conditional Poisson Model – I

March 29, 2015
By
Autoregressive Conditional Poisson Model – I

Modeling the time series of count outcome is of interest in the operational risk while forecasting the frequency of losses. Below is an example showing how to estimate a simple ACP(1, 1) model, e.g. Autoregressive Conditional Poisson, without covariates with ACP package.

Read more »

intuition beyond a Beta property

March 29, 2015
By
intuition beyond a Beta property

A self-study question on X validated exposed an interesting property of the Beta distribution: If x is B(n,m) and y is B(n+½,m) then √xy is B(2n,2m) While this can...

Read more »

Iteratively Populating Templated Sentences With Inline R in knitr/Rmd

March 29, 2015
By
Iteratively Populating Templated Sentences With Inline R in knitr/Rmd

As part of the Wrangling F1 Data With R project, I want to be able to generate sentences iteratively from a templated base. The following recipe works for sentences...

Read more »

Segmenting F1 Qualifying Session Laptimes

March 29, 2015
By
Segmenting F1 Qualifying Session Laptimes

I’ve started scraping some FIA timing sheets again, including practice and qualifying session laptimes. One of the things I’d like to do is explore various ways of looking at...

Read more »

Space Launch Sites over Time

March 29, 2015
By
Space Launch Sites over Time

Continuing from last weeks post, I am now looking at space launch sites.DataData are from the main table. In addition, this sites table was manually browsed for interpretation of...

Read more »

Makefiles and RMarkdown

March 28, 2015
By
Makefiles and RMarkdown

Quite some time ago (October 2013, according to Amazon), I bought a copy of “Reproducible Research with R and RStudio” by Christopher Gandrud. And it was awesome. Since then,...

Read more »

Using the R MatchIt package for propensity score analysis

March 28, 2015
By

Descriptive analysis between treatment and control groups can reveal interesting patterns or relationships, but we cannot always take descriptive statistics at face value. Regression and matching methods allow us...

Read more »

A Deterministic Compartmental Model for Erythropoeisis with R

March 28, 2015
By

Recently I have finished working on and developing a deterministic, compartmental model of erythropoeisis (How Red Blood Cells are produced and destroyed) in R using deSolve package. I have...

Read more »

R style default plot for Pandas DataFrame

March 28, 2015
By
R style default plot for Pandas DataFrame

The default plot method for dataframes in R is to show each numeric variable in a pair-wise scatter plot. I find this to be a really useful first look...

Read more »

Interactive Maps for John Snow’s Cholera Data

March 28, 2015
By
Interactive Maps for John Snow’s Cholera Data

This week, in Istanbul, for the second training on data science, we’ve been discussing classification and regression models, but also visualisation. Including maps. And we did have a brief...

Read more »

Using closures as objects in R

March 27, 2015
By
Using closures as objects in R

For more and more clients we have been using a nice coding pattern taught to us by Garrett Grolemund in his book Hands-On Programming with R: make a function...

Read more »

Replay: Reproducible data analysis with the checkpoint package

March 27, 2015
By

Thanks to all who attended my webinar earlier this week, Reproducibility with Revolution R Open and the Checkpoint Package. If you missed the live session, you can catch up...

Read more »

rClr 0.7-4 released

March 26, 2015
By
rClr 0.7-4 released

Version 0.7-4 of rClr (source code mirrored on GitHub), a package to access arbitrary .NET code seamlessly and in-process, has been released.This is a maintenance release with an...

Read more »

Google Scholar Finds Far More SPSS Articles; Analytics Forecast Updated

March 26, 2015
By
Google Scholar Finds Far More SPSS Articles; Analytics Forecast Updated

Only last August I wrote that among scholars, the use of R had probably exceeded that of SPSS to become their most widely used software for analytics. That forecast was...

Read more »

Review of "Hands-On Programming with R"

March 26, 2015
By

by Joseph Rickert There have been well over a hundred books on R published within the last ten years. Most of these texts with titles like “Introduction Statistics with...

Read more »

Pre-CRAN waffle update – isotype pictograms

March 26, 2015
By
Pre-CRAN waffle update – isotype pictograms

It seems Ruben C. Arslan had the waffle idea about the same time I did. Apart from some extra spiffy XKCD-like styling, one other thing his waffling routines allowed...

Read more »

Planning an R usergroup meeting in R

March 25, 2015
By
Planning an R usergroup meeting in R

The Edinburgh R usergroup (EdinbR) put together a survey a while back to figure out some of the logistical details for organising a succesful meeting. We had 75 responses...

Read more »

Participate in the 2015 Rexer Data Mining Survey

March 25, 2015
By
Participate in the 2015 Rexer Data Mining Survey

Since 2007, Karl Rexer has been collecting data on the tools, skills and practices of statisticians and data miners. Over the years, his semi-annual Data Miner Survey has expanded...

Read more »

A function to help graphical model checks of lm and ANOVA

March 25, 2015
By
A function to help graphical model checks of lm and ANOVA

As always a more colourful version of this post is available on rpubs. Even if LM are very simple models at the basis of many more complex ones, LM...

Read more »

NASDAQ 100 Couples

March 25, 2015
By
NASDAQ 100 Couples

Heaven, I’m in heaven, and my heart beats so that I can hardly speak, and I seem to find the happiness I seek, when we’re out together dancing cheek...

Read more »

Le Monde puzzle [#904.5]

March 25, 2015
By
Le Monde puzzle [#904.5]

About this #904 arithmetics Le Monde mathematical puzzle: Find all plural integers, namely positive integers such that (a) none of their digits is zero and (b) removing their leftmost...

Read more »

Machine Learning in R for beginners

March 25, 2015
By
Machine Learning in R for beginners

Introducing: Machine Learning in R Machine learning is a branch in computer science that studies the design of algorithms that can learn. Typical machine learning tasks are concept learning,...

Read more »

Geomorph and Multivariate Datasets

March 25, 2015
By

Did you know that geomorph is not just for landmark-based geometric morphometric (shape) data?We are committed to providing statistical tools for multivariate AND multidimensional morphometric data.As laid out in...

Read more »

A Speed Comparison Between Flexible Linear Regression Alternatives in R

March 25, 2015
By
A Speed Comparison Between Flexible Linear Regression Alternatives in R

Everybody loves speed comparisons! Is R faster than Python? Is dplyr faster than data.table? Is STAN faster than JAGS? It has been said that speed comparisons are utterly meaningless,...

Read more »

Simulation and relative performance

March 24, 2015
By
Simulation and relative performance

There’s been some nice posts on randomness the last week or so, in particular here and here. I would like to look at how we can use simulations to...

Read more »

2015-02 New Zealand’s Climate Data in R – An Introduction to clifro

March 24, 2015
By

The National Climate Database contains data collected from around 6,500 weather stations throughout New Zealand, providing a necessary repository for any study involving New Zealand’s weather or climate. Although...

Read more »

Hash Table Performance in R: Part I

March 24, 2015
By
Hash Table Performance in R: Part I

What Is It?A hash table, or associative array, is a well known key-value data structure. In R there is no equivalent, but you do have some options....

Read more »

Bio7 2.0 for Windows 32 bit Release

March 24, 2015
By

24.03.2015 Because of some requests of a Windows 32 bit version of Bio7 2.0 I uploaded a built to sourceforge. Release notes: Updated R to version 3.1.3 Updated ImageJ...

Read more »

R in genomics @ SciLifeLab, Solna

March 24, 2015
By
R in genomics @ SciLifeLab, Solna

Dear diary, I went to the Stockholm R useR group meetup on R in genomics at the Stockholm node of SciLifeLab. It was nice. If I had worked a...

Read more »