November 2013

Analyzing the DVI Indicator

November 30, 2013 | 0 Comments

The DVI indicator is a well-known indicator, created by David Varadi from CSS Analytics. It was introduced in 2009 as a good predictor for the S&P 500 over the past 30 years. Its performance on the S&P 500 has been studied in the blogosphere comprehensively. None of these studies, however, contained everything ... [Read more...]

R Syntax for Ranked Choice Voting

November 30, 2013 | 0 Comments

I have gotten several requests for the R syntax I used to analyze the ranked-choice voting data and create the animated GIF. Rather than just posting the syntax, I thought I might write a detailed post describing the process. Reading … Continue reading → [Read more...]

Logistic Regression with R: step by step implementation part-1

November 30, 2013 | 0 Comments

Very warm welcome to first part of my series blog posts. In previous blog post, we discussed about concept of the linear regression and its mathematical model representation.  We also tried to implement linear regression in R step by step. In this post I will discuss about the logistic regression  ... [Read more...]

The attendants of useR! 2013 around the world

November 30, 2013 | 0 Comments

Alex and I had a great time in Albacete this summer, where the annual useR! conference took place. Of course we were really interested in the exciting news on R development, new packages and other related topics that we hoped to hear about there, and we also wanted to present ...
[Read more...]

RcppCNPy 0.2.2

November 30, 2013 | 0 Comments

Right on the heels of release 0.2.1 of RcppCNPy, a new version 0.2.2 is now on CRAN. RcppCNPy uses the CNPY library by Carl Rogers to provide R with easy read and write access to NumPy files. The reason for the new version that I had experimented ... [Read more...]

Le Monde puzzle [#842]

November 29, 2013 | 0 Comments

An easily phrased (and solved?) Le Monde mathematical puzzle that does not [really] require an R code: The five triplets A,B,C,D,E are such that and Given that find the five triplets. Adding up both sets of equations shows everything solely depends upon E1… So running an ...
[Read more...]

Introducing CrimeMap – A Web App Powered by ShinyApps!

November 29, 2013 | 0 Comments

A few months ago I did a mini project using open crime data and R to create crime visualisations. At that time, I was already thinking about a web app using Shiny but I couldn't justify the time to develop the app and then set up a server etc. Not ... [Read more...]

Weisberg Growth Model

November 28, 2013 | 0 Comments

A fishR user asked me if I had Weisberg Linear Growth Model (LGM) vignette.  In the past, the Weisberg LGM referred to the fixed-effects models described in Weisberg (1993) and implemented in software that was written in XLISP-STAT and distributed … Continue reading → [Read more...]

RcppCNPy 0.2.1

November 28, 2013 | 0 Comments

Version 0.2.1 of RcppCNPy is now on CRAN earlier. This version is a minor upgrade with a few small changes as detailed in the NEWS file: Changes in version 0.2.1 (2013-11-28) Synchronized code with the cnpy repository Added new function to ... [Read more...]

Ordinary Least Squares is dead to me

November 28, 2013 | 0 Comments

Most books that discuss regression modeling start out and often finish with Ordinary Least Squares (OLS) as the technique to use; Generalized Least Squares (GLS) sometimes get a mention near the back. This is all well and good if the readers’ data has the characteristics required for OLS to be ... [Read more...]

Happy Thanksgiving from Revolution Analytics

November 28, 2013 | 0 Comments

__ require(devtools) __ install_github("cowsay","SChamberlain") __ require(cowsay) __ say("Happy Thanksgiving!",by="chicken") ----- Happy Thanksgiving! ------ \ \ _ _/ } `__' \ `| \ | /'-. .-. \' ';`--' .' \'. `'-./ '.`-..-;` `;-..' _| _| /` /` (With thanks for Scott Chamberlain for the cowsay package.) For those in the US and everyone who celebrates, Happy ... [Read more...]

Computing and visualizing PCA in R

November 28, 2013 | 0 Comments

Following my introduction to PCA, I will demonstrate how to apply and visualize PCA in R. There are many packages and functions that can apply PCA in R. In this post I will use the function prcomp from the stats package. I will also show how to visualize PCA in ... [Read more...]

Fast Threshold Clustering Algorithm (FTCA) test

November 27, 2013 | 0 Comments

Today I want to share the test and implementation for the Fast Threshold Clustering Algorithm (FTCA) created by David Varadi. This implementation was developed and contributed by Pierre Chretien, I only made minor updates. Let’s first replicate the results from the Fast Threshold Clustering Algorithm (FTCA) post: The clusters ... [Read more...]

Errors-in-variables models in stan

November 27, 2013 | 0 Comments

In a previous post, I gave a cursory overview of how prior information about covariate measurement error can reduce bias in linear regression. In the comments, Rasmus Bååth asked about estimation in the absence of strong priors. Here, I’ll describe a Bayesian approach for estimation and correction for ... [Read more...]

Mapping Power Outages in Maine Dynamically with Shiny/R

November 27, 2013 | 0 Comments

I decided to forego the D3 map mentioned in the previous post in favor of a Shiny one since I had 90% of the mapping code written. I binned the ranges into three groups, changed the color over to something more pleasant (with RColorBrewer), added an interactive table for the counties ... [Read more...]

devtools 1.4 now available

November 27, 2013 | 0 Comments

We’re very pleased to announce the release of devtools 1.4. This version brings many improvements to package installation, including automated vignette building, and a better way of referring to repos on github, install_github("hadley/devtools"). There are also many other bug fixes and minor improvements; to see them all, ... [Read more...]
1 2 3 13

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)