May 2012

Project Euler — problem 3

May 27, 2012 | Tony

The third problem: The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143 ? My solvement is straightforward: firstly to identify all the prime numbers between 2 and sqrt(n); secondly … Continue reading → [Read more...]

PLoS computational biology meets wikipedia

May 26, 2012 | xi'an

Robin Ryder pointed out to me this new experiment run by PLoS since March 2012, namely the introduction of a new article type, “called “Topic Pages” and written in the style of a Wikipedia article“. Not only this terrific idea gives more credence to Wikipedia biology pages, at least in their ... [Read more...]

Automating repetitive plot elements

May 26, 2012 | ggplot2

The syntax of ggplot2 emphasizes constructing plots by adding components, or layers, using +. Possibly one of the most useful, but least remarked upon, consequences of this syntax is that it allows for an incredible degree of flexibility in saving and... [Read more...]

Sending a Text in R

May 25, 2012 | Andrew Landgraf

Don't you hate it when you are running a long piece of code and you keep checking the results every 15 minutes, hoping it will finish? There is a better way.I got the idea from here. He uses a Python script and the text interface is not free. I thought... [Read more...]

Facebook-class social network analysis with R and Hadoop

May 25, 2012 | David Smith

In computing, social networks are traditionally represented as graphs: a connection of nodes (people), pairs of which may be connected by edges (friend relationships). Visually, the social networks can then be represented like this: Social network analysis often amounts to calculating the statistics on a graph like this: the number ... [Read more...]

Forecasting: Principles and Practice

May 25, 2012 | Dave Giles

Forecasting: Principles and Practice is the title of a new book by Rob Hyndman and George Athanasopoulos.As Rob says on his webpage:"The book is dif­fer­ent from other fore­cast­ing text­books in sev­eral ways. It is free and online, mak­ing it acces­si­... [Read more...]

Monitor: Adding "RER" and "RPD" statistics

May 25, 2012 | jrcuesta

I continue developing the Monitor function in R. The idea is to get statistics which help me to understand the performance of my model.Of course the validation set must be free of outliers (X or Y).I add this time two new statistics: RER and ...
[Read more...]

A course in statistical programming

May 25, 2012 | Karl Broman

Graduate students in statistics often take (or at least have the opportunity to take) a statistical computing course, but often such courses are focused on methods (like numerical linear algebra, the EM algorithm, and MCMC) and not on actual coding. For example, here’s a course in “advanced statistical computing” ... [Read more...]

Trend Following Factors from Hsieh and Fung

May 25, 2012 | klr

The beauty of R and academic replication is that on the Friday before Memorial Day weekend I can read an academic paper and do some analysis all before breakfast.  In this case, the paper is Hsieh, David A. and Fung, William, The Risk in Hedge F...
[Read more...]

Introduction to R (Milano R course)

May 25, 2012 | fabiomarroni

I am happy to repost the information I got about the course “Introduction to R” that will be organized by Milano R net in collaboration with Quantide. The course will be held in Milano, Italy, June 7-8, 2012, and is intended to introduce the unexperienced user to R. For furhter info ... [Read more...]

Temperature reconstruction with useless proxies

May 25, 2012 | sieste

In a number of previous posts I considered the temperature proxies that have been used to reconstruct global mean temperatures during the past millenium. In this post I want to show how such a temperature reconstruction would look like if the proxies had no relation at all to the actual ... [Read more...]

Quick View on Correlations of Different Instruments

May 24, 2012 | rbresearch

In this post, I will demonstrate how to quickly visualize correlations using the PerformanceAnalytics package. Thanks to the package creators, it is really easy correlation and many other performance metrics. The first chart looks at the rolling 252 day correlation of nine sector ETFs using SPY as the benchmark. As expected ... [Read more...]

Quick dprint Experiment

May 24, 2012 | klr

As a quick dprint experiment, I thought I would try to do a quarterly return table that might potentially fit in knitR Performance Report 3 (really with knitr) and dprint.  Although I do not think I will use it in the final report, I do think it i...
[Read more...]

Slides for R/Finance 2012

May 23, 2012 | Peter Carl

Another succeessful* year of R/Finance is behind us. It was certainly more: a larger crowd, a longer session, more seminars, more presentations, more sponsors – perhaps even to the point where we’ve reaching a certain capacity. What began as an interesting idea among a few friends has more than ... [Read more...]
1 2 3 4 5 15

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)