R

Let’s Party!

June 6, 2012 | diffuseprior

Exploring whether regression coefficients differ between groups is an important part of applied econometric research, and particularly for research with a policy based objective. For example, a government in a developing country may decide to introduce free school lunches in an effort to improve childhood health. However, if this treatment ... [Read more...]

Project Euler — problem 7

June 6, 2012 | Tony

Prime is the core of number theory. Here is an introduction of prime number on Wikipedia. I could only understand roughly half of it. Now, let’s look at the seventh problem of Project Euler, which is another about prime number.  By listing the first six prime numbers: 2, 3, … Continue reading → [Read more...]

R-NOLD 2012-06-06 03:18:00

June 6, 2012 | arsalvacion

While traveling across the Visayas, I encountered barangay (villages) with the name same as my last name. Using R and map data from gadm.org I search and mapped other villages in the country named “Salvacion”.
[Read more...]

Constants and ARIMA models in R

June 5, 2012 | Rob J Hyndman

This post is from my new book Forecasting: principles and practice, available freely online at OTexts.com/fpp/. A non-seasonal ARIMA model can be written as (1)   or equivalently as (2)   where is the backshift operator, and is the mean of . R uses the parametrization of equation (2). Thus, the inclusion of a ... [Read more...]

Announcing Revolution R Enterprise 6.0

June 5, 2012 | David Smith

Revolution Analytics is proud to announce the latest update to our enhanced, production-grade distribution of R, Revolution R Enterprise. This update expands the range of supported computation platforms, adds new Big Data predictive models, and updates to the latest stable release of open source R (2.14.2), which improves performance of the ... [Read more...]

Volatility Quantiles

June 4, 2012 | systematicinvestor

Today I want to examine the performance of stocks in the S&P 500 grouped into Quantiles based on one year historical Volatility. The idea is very simple: each week we will form Volatility Quantiles portfolios by grouping stocks in the S&P 500 into Quantiles using one year historical Volatility. Next ... [Read more...]

Applications of R in Government

June 4, 2012 | David Smith

Following the announcement of the US Government Big Data Initiative, I was asked to write a small article about applications of R in government. The article has just appeared in Government Security News (and I believe will appear in their daily newsletter tomorrow). In the article, I highlighted several R ... [Read more...]

Download and parse EDHEC hedge fund indexes

June 4, 2012 | Peter Carl

In our pre-conference workshop, Brian Peterson and I worked with the EDHEC hedge fund indexes as a way to demonstrate how to use PortfolioAnalytics within the context of long-term allocation problems. Although they are not investible, these indexes are probably more representative than most given that they are, in fact, ... [Read more...]

Announcing The R markdown Package

June 4, 2012 | Jeffrey Horner

Many of you have heard about RStudio’s latest release and it’s new R Markdown feature. Today, I’d like to announce the markdown package for R, a tool for converting Markdown documents to HTML, created in collaboration with RStudio. It... [Read more...]

How to draw a curve() with ggplot2

June 3, 2012 | ronan

ggplot2 improves the graphics drawn with R. A (very) short adaptation time is needed to find how to make graphs equivalent to the ones of graphics. For example, to draw the curve of a function, there is no function similar to curve(). You have to use qplot() by setting the ... [Read more...]

Screencast: The Making of 3dfcc505dc

June 3, 2012 | Milk Trader

It was all going so well. Until my MacBook began experiencing memory issues. At around the 20 minute mark (which is close to the end), I lost some video explaining the use of the density plot auto-creation super-wizard function. The good news is that i...
[Read more...]

R script to manipulate health data

June 3, 2012 | John

Here is the code that fixed up the World Bank data export for use in Tableau. The databank spits out everything in an untidy format for grouping and aggregating. The reshape2 and plyr packages  make it easy to manipulate the whole set … Continue reading → [Read more...]

Project Euler — problem 6

June 2, 2012 | Tony

It’s midnight officially. Let me solve the sixth problem before bed. This is a quick one. The sum of the squares of the first ten natural numbers is, 12 + 22 + … + 102 = 385. The square of … Continue reading → [Read more...]

System from Trend Following Factors

June 1, 2012 | klr

As I thought more about Trend Following Factors from Hsieh and Fung, I thought that the trend following factors might indicate a state/regime for the equity markets that could potentially offer momentum-style timing signals for a system on the S&P ...
[Read more...]

The influences that shaped R: Inferno-ish R

June 1, 2012 | David Smith

Patrick Burns, author of the excellent R Inferno, gave a presentation about R at the Cambridge R User Group this week. (Revolution Analytics is a proud sponsor of CambR.) I wasn't at the presentation myself, but Pat always gives a great talk, and he's generously provided his slides with copious ... [Read more...]
1 20 21 22 23 24 176

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)