November 2013

Analyzing the DVI Indicator

November 30, 2013 | ivannp

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 | Andy

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...]

The attendants of useR! 2013 around the world

November 30, 2013 | rapporter

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 | Thinking inside the box

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 | xi'an

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...]

Weisberg Growth Model

November 28, 2013 | dogle

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 | Thinking inside the box

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 | Derek Jones

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 | David Smith

__ 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 | thiagogm

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 | systematicinvestor

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 | Maxwell B. Joseph

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 | hrbrmstr

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...]

Something to Think About Before Black Friday | rChart + dygraphs

November 27, 2013 | klr

US Retail stocks have been killing it.  Since the holiday season starting with Black Friday is so important to retail, let’s look at the US Retail industry price and Sharpe ratio using R rCharts and Performance analytics +  javascript dygraphs.  Thanks Kenneth French once again for the dataset. [Read more...]
1 2 3 12

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)