R

Gini Efficient Frontier

March 23, 2012 | systematicinvestor

David Varadi have recently wrote two posts about Gini Coefficient: I Dream of Gini, and Mean-Gini Optimization. I want to show how to use Gini risk measure to construct efficient frontier and compare it with alternative risk measures I discussed previously. I will use Gini mean difference risk measure – the ... [Read more...]

R, Twitter and McDonald’s

March 23, 2012 | David Smith

Ed Chen is a data scientist at Twitter, so he's accustomed to working with big data and complex models. In an interview with MIT Technology Review, he describes his data science toolbox: A common pattern for me is that I'll code a MapReduce job in Scala, do some simple command-line ... [Read more...]

Forecasts and ggplot

March 22, 2012 | Rob J Hyndman

The forecast package uses the base R graphics for all plots, but some people may prefer to use the nice graphics available using the ggplot2 package. In the following two posts, Frank Davenport shows how it can be done: Plotting forecast() objects in ... [Read more...]

R/Finance 2012 program announced, registration open

March 21, 2012 | David Smith

Registration is now open for R/Finance 2012 in Chicago, the conference devoted to applications of R in the financial sector. The program has also been announced, with topics including: modelling insurance claim reserves; risk management in power markets; peer performance of hedge funds; hedging event risk; operational risk measurement with ... [Read more...]

knitr, github, and a new phase for the lab notebook

March 21, 2012 | Carl

I have recently modified the basic workflow of my lab notebook since discovering knitr. Before, I would write code files which I could track on github, push figures created by the code to flickr, and then write a notebook entry on wordpress describing what I was doing. I’d embed ... [Read more...]

Bare-bones intro to Plotting options in R

March 21, 2012 | Isomorphismes

If you’re using base::plot in R for the first time (for example if you do plot(pima) or plot(faithful) (use ??pima if you can’t find the dataset)) you may have looked at ?plot (2 page help file) or ?par (12 page help file) to figure out what’s ... [Read more...]

Copy and paste small data sets into R

March 21, 2012 | Markus Gesmann

How can I embed a small data set into my R code? That was the question I came across today, when I prepared my talk about Dynamical Systems in R with simecol for the forthcoming Cologne R user group meeting. I wanted to add all the R code of the ...
[Read more...]

New R User Group in Montréal

March 20, 2012 | David Smith

The Biology Department at McGill University in Québec, Canada has been running a series of R workshops since 2010. Past topics have included Generalized Additive Models, Linear Mixed-effects Models and a four-part Intro to R series -- follow the links and look at the bottom of each page for some ... [Read more...]

Running OpenBUGS on a Mac Running OSX

March 20, 2012 | jebyrnes

After writing up my tutorial regarding getting WinBUGS running on a Mac in R, a friend sent me this fantastic simple tutorial on the same thing for OpenBUGS on a mac in R. So, for those that want it, install away! Looks a good bit simpler, actually! Tweet [Read more...]

Citing R packages

March 20, 2012 | Carl

I’m not always careful in citing all the R packages I use. R actually has some rather nice built-in mechanisms to support this, so I really have no excuse. Here’s some quick examples: To cite the ouch package in publications use: Aaron A. King and Marguerite A. Butler (2009), ... [Read more...]

Revolution Newsletter: March 2012

March 19, 2012 | David Smith

The most recent edition of the Revolution Newsletter is out. The news section is below, and you can read the full March edition (with highlights from this blog and community events) online. You can subscribe to the Revolution Newsletter to get it monthly via email. Download Revolution R Enterprise, free ... [Read more...]

Backtesting Asset Allocation portfolios

March 18, 2012 | systematicinvestor

In the last post, Portfolio Optimization: Specify constraints with GNU MathProg language, Paolo and MC raised a question: “How would you construct an equal risk contribution portfolio?” Unfortunately, this problem cannot be expressed as a Linear or Quadratic Programming problem. The outline for this post: I will show how Equal ... [Read more...]

Predicting Marketing Campaign with R

March 17, 2012 | Arun Gaikwad

In my last blog I created a mechanism to fetch data from Salesforce using rJava and SOQL. In this blog I am going to use that mechanism to fetch ad campaign data from salesforce and predict future ad campaign sales using R Let us assume that Salesforce has campaign data ... [Read more...]
1 32 33 34 35 36 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)