Regime Detection Pitfalls

November 14, 2012
By
Regime Detection Pitfalls

Today, I want to address some questions that I was getting regarding the Regime Detection post. In the Regime Detection post I showed an example based on the simulated data, and some of you tried to apply this example to actual stocks. There is one big problem that you have to be aware in designing

Read more »

Rcpp and the new R:: namespace for Rmath.h

November 14, 2012
By

We released Rcpp 0.10.0 earlier today. This post will just provide a simple example for one of the smaller new features -- the new namespace for functions from Rmath.h -- and illustrate one of the key features (Rcpp attributes) in passing. R, as a statistical language and environment, has very well written and tested statistical distribution functions providing probability density, cumulative...

Read more »

Webinar Tomorrow: Big Data Trees and Hadoop Connection in Revolution R Enterprise 6.1

November 14, 2012
By

Tomorrow at 9AM Pacific, Revolution Analytics VP of Product Development Sue Ranney will introduce two key Big Data features of the new Revolution R Enterprise 6.1. Now you can train classification and regression trees on data sets of unlimited size, quickly and using the resources of multiple processors and clusters. (This white paper describes our implementation of tree models...

Read more »

VIDEO: Looking to the loadings in R

November 14, 2012
By
VIDEO: Looking to the loadings in R

(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 their blog: NIR-Quimiometria. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL,...

Read more »

Have my old job!

November 14, 2012
By
Have my old job!

My old job at the Health & Safety Laboratory is being advertised, and at a higher pay grade to boot.  (Though it is still civil service pay, and thus not going to make you rich.) You’ll need to have solid mathematical modelling skills, particularly solving systems of ODEs, and be proficient at writing scientific code,

Read more »

How the Democrats may have won the House, but lost the seats

November 14, 2012
By
How the Democrats may have won the House, but lost the seats

  The 2012 election is over and in the books. A few very close races remain to be officially decided, but for the most part everything has settled down over the last week. By all accounts it was a very good night for the Democrats, with wins in the presidency, senate and state houses. They also performed

Read more »

Rcpp 0.10.0

November 14, 2012
By

Rcpp release 0.10.0 is now on CRAN and being uploaded to Debian. This is a new feature release, and we are very exciting about the changes, notably Rcpp attributes which make using C++ from R even easier than inline (see below as well as the new vignette for details and first examples), the extensions to Rcpp modules (see below) and more as...

Read more »

How to choose your next holidays destination – Uniform distribution on a sphere

November 14, 2012
By
How to choose your next holidays destination – Uniform distribution on a sphere

If you want to choose randomly your next holidays destination, you are likely to process in a way which is certainly biased. Especially if you choose randomly the latitude and the longitude. A bit like they do in this lovely advertising (For those of y...

Read more »

Big Data ETL and Big Data Analysis

November 14, 2012
By
Big Data ETL and Big Data Analysis

I was at Strata New York 2012 last month. Great conference! Thanks O'Reilly media for assembling the industry leaders and running it well.I understand it was too crowded for some of my out-of-town friends. Stepping out to the streets of mid-town Manhat...

Read more »

Textual Healing

November 14, 2012
By
Textual Healing

While I know there are several awesome guides for how to make fine-tuning adjustments to plot labels/axes/ticks/text in ggplot, this is still the most common question I get from people new to ggplot: how do I change the size/font/color/position of (som...

Read more »

Expand delimited columns in R

November 14, 2012
By

A postdoctoral researcher asked me the other day to help him expand a vector of comma delimited values so he could do computations in R with it. I wrote an R function to solve the problem. Here is the before...

Read more »

Timeline Maps with googleVis & Twitter Bootstrap Carousel (& updated Slidify)

November 14, 2012
By

I've wanted to create timeline maps with interactive googleVis Geomaps for a while. These would be a nice way to quickly show the spatial distribution of some data over time. It turns out that it's pretty easy to do with a plugin for Twitter Bootstra...

Read more »

Building a Simple Web App using R

November 13, 2012
By
Building a Simple Web App using R

I’ve been interested in building a web app using R for a while, but never put any time into it until I was informed of the Shiny package.  It looked too easy, so I absolutely had to try it out. First you need to install the package from the command line . options(repos=c(RStudio="http://rstudio.org/_packages", getOption("repos"))) install.packages("shiny")

Read more »

Influential Data in Multilevel Regression: What are your strategies?

November 13, 2012
By

The application of multilevel regression models has become common practice in the field of social sciences. Multilevel regression models take into account that observations on individual respondents are nested within higher-level groups such as schools, classrooms, states, and countries. In ...

Read more »

On Box-Cox transform in regression models

November 13, 2012
By
On Box-Cox transform in regression models

A few days ago, a former student of mine, David, contacted me about Box-Cox tests in linear models. It made me look more carefully at the test, and I do not understand what is computed, to be honest. Let us start with something simple, like a linea...

Read more »

Trees with the rpart package

November 13, 2012
By
Trees with the rpart package

What are trees? Trees (also called decision trees, recursive partitioning) are a simple yet powerful tool in predictive statistics. The idea is to split the covariable space into many partitions and to fit a constant model of the response variable in each partition. In case of regression, the mean...

Read more »

Presentation at the RECENS Group

November 13, 2012
By

I had a great opportunity to present my work on dynamic networks for the RECENS Group today at the  Hungarian Academy of Sciences, Centre for Social Sciences.It was a great honor, many thanks for the organizers, Károly Takács and Judit Pál for giving me the chance to get some feedback on my work. The...

Read more »

My first R GUI

November 13, 2012
By
My first R GUI

This post is a huge jump from the last two - this is not for beginners!! But if you've ever considered building a GUI in R, looked at some of the online documentation, gotten scared, and decided not to, read this!!! Ok here goes. Dorian Auto GUI Setup: I built this for a school project. The basic problem setup is from...

Read more »

SAP CodeJam Montreal

November 13, 2012
By
SAP CodeJam Montreal

Thanks to an initiative of Krista Elkin, Jonathan Druker and myself ( with a lot of support from Craig Cmehil and Helena Losada ), SAP CodeJam Montreal is going live on Thursday, December 13, 2012 from 3 to 9 pm in the SAP Labs Montreal offices.This is...

Read more »

Benchmarking bigglm

November 13, 2012
By

By Joseph Rickert In a recent blog post, David Smith reported on a talk that Steve Yun and I gave at STRATA in NYC about building and benchmarking Poisson GLM models on various platforms. The results presented showed that the rxGlm function from Revolution Analytics’ RevoScaleR package running on a five node cluster outperformed a Map Reduce/ Hadoop implementation...

Read more »

The R-Podcast Episode 11: Reproducible Analysis Part 1 (Introduction)

November 13, 2012
By

Season 2 of the R-Podcast is up and running! This episode begins a multi-part series on reproducible analysis using R. In this episode I discuss the usage of Sweave and LaTeX for producing reproducible reports, an introduction to the capabilities of the knitr package (more episodes will be coming dedicated to this package), and my

Read more »

Can’t a plot catch a break(s)?

November 13, 2012
By
Can’t a plot catch a break(s)?

This post continues with the theme of how to modify plots from within ggplot; today we will specifically looking at custom axis breaks. Plots later in the week will examine the commands to change text in the plot area. The various other shortcomings o...

Read more »

analyze the consumer expenditure survey (ce) with r

November 13, 2012
By

the consumer expenditure survey (ce) is the primo data source to understand how americans spend money.  participating households keep a running diary about every little purchase over the year.  those diaries are then summed up into precise expenditure categories.  how else are you gonna know that the average american household spent $34 (±2) on bacon, $826 (±17) on cellular...

Read more »

Simulating neurons or how to solve delay differential equations in R

November 13, 2012
By

I discussed earlier how the action potential of a neuron can be modelled via the Hodgkin-Huxely equations. Here I will present a simple model that describes how action potentials can be generated and propagated across neurons. The tricky bit here is that I use delay differential equations (DDE) to take into account the propagation time of the signal...

Read more »

Gradient Word Clouds

November 12, 2012
By
Gradient Word Clouds

I like word clouds because they are visually appealing and provide a ton of information in a small space. Ever since I saw Drew Conway’s post (LINK) I have been looking for ways to improve word clouds. One of the … Continue reading →

Read more »

Comparing Shiny with gWidgetsWWW2.rapache

November 12, 2012
By

(A guest post by John Verzani) A few days back the RStudio blog announced Shiny, a new product for easily creating interactive web applications (http://www.rstudio.com/shiny/). I wanted to compare this new framework to one I’ve worked on, gWidgetsWWW2.rapache – a version of …Read more »

Read more »

RStudio releases Shiny

November 12, 2012
By

RStudio has released a new package for R. Shiny allows R developers to build simple interactive Web-based interfaces for R scripts, using only R code (no JavaScript development required!). You can see some examples of Shiny in action in this blog post, and there are more details about Shiny's capabilities in this tutorial. Shiny was first announced to beta...

Read more »

Using R — Callling C code with Rcpp

November 12, 2012
By

This entry is part 12 of 12 in the series Using RIn two previous posts we described how R can call C code with .C() and the more complex yet more robust option of calling C code with .Call().  Here …   read more ...

Read more »

You can’t play a broken link

November 12, 2012
By
You can’t play a broken link

Just like James Morrison and Nelly Furtado say, you really can't play a broken string. And quite similarly, you just can't use a broken link.I always find it very annoying when, while browsing a website, I find a broken link. You fall victim to the pro...

Read more »

Sponsors

Mango solutions



plotly webpage

dominolab webpage



Zero Inflated Models and Generalized Linear Mixed Models with R

Quantide: statistical consulting and training

datasociety

http://www.eoda.de





ODSC

ODSC

CRC R books series





Six Sigma Online Training









Contact us if you wish to help support R-bloggers, and place your banner here.