Monthly Archives: December 2012

Follow-up: So … daylight savings time does not minimize variance in sunrises

December 3, 2012
By
Follow-up: So … daylight savings time does not minimize variance in sunrises

Last week we posted a nice theory about daylight savings time, in particular, that its dates were chosen to reduce variance in the time of sunrise. It looked plausible from the graph.We were talking to our Microsoft Research colleague Jake Hofman who suggested "why don't you just find the optimal dates to change the clock by one hour?" So...

Read more »

Google analytics data extraction in R

December 3, 2012
By
Google analytics data extraction in R

Unlike other posts on this blog this particular post is more focused on coding using R so audience with the developer mindset would like it more than pure business analysts. My goal is to describe an alternate method to use to extract the data from Google Analytics via API into R. I have been using

Read more »

Exchange Data between Python and R with SQLite

December 2, 2012
By
Exchange Data between Python and R with SQLite

SQLite is a light-weight database with zero-configuration. Being fast, reliable, and simple, SQLite is a good choice to store / query large data, e.g. terabytes, and is well supported by both Python and R.

Read more »

forecast package v4.0

December 2, 2012
By
forecast package v4.0

A few days ago I released version 4.0 of the forecast package for R. There were quite a few changes and new features, so I thought it deserved a new version number. I keep a list of changes in the Changelog for the package, but I doubt that many people look at it. So for the record, here are...

Read more »

Closures in R: A useful abstraction

December 2, 2012
By

People who have been using R for any length of time have probably become accustomed to passing functions as arguments to other functions. From my experience, however, people are much less likely to return functions from their own custom code. … Continue reading →

Read more »

Helper Function Contest

December 2, 2012
By
Helper Function Contest

Just in time for the holidays, ProgrammingR is giving you the opportunity to win a gift for yourself or someone who loves R. And in the spirit of the holidays, you’ll also be giving back to the R community. In the last article I presented two helper functions I use often. I also teased an The post Helper...

Read more »

Brownian motion simulation in R

December 2, 2012
By
Brownian motion simulation in R

I have based this post on a very useful piece of code which basically is the core of my own implementation of a Brownian Motion simulation in R. The original reference code <- http://landshape.org/enm/r-code-for-brownian-motion/According to Wik...

Read more »

RQuantLib 0.3.9

December 2, 2012
By

A minor feature release RQuantLib 0.3.9 is now on CRAN and in Debian. RQuantLib combines (some of) the quantitative analytics of QuantLib with the R statistical computing environment and language.Bryan Lewis had suggested to enable another pricing engine for American Options in order to get (at least some) Greeks. This is now supported by picking engine="CrankNicolson"...

Read more »

The State of Statistics in Julia

December 2, 2012
By

Updated 12.2.2012: Added sample output based on a suggestion from Stefan Karpinski. Introduction Over the last few weeks, the Julia core team has rolled out a demo version of Julia’s package management system. While the Julia package system is still very much in beta, it nevertheless provides the first plausible way for non-expert users to

Read more »

VIDEO: Working with ChemoSpec (HCA with the scores)

December 2, 2012
By
VIDEO: Working with ChemoSpec (HCA with the scores)

(This article was first published on NIR-Quimiometria, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: NIR-Quimiometria. 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, hadoop, Web Scraping) statistics...

Read more »