Posts Tagged ‘ R ’

googleVis 0.3.0/0.3.1 is released: It’s faster!

October 23, 2012
By
googleVis 0.3.0/0.3.1 is released: It’s faster!

Version 0.3.0 of the googleVis package for R has been released on CRAN on 20 October 2012. With this version we have been able to speed up the code considerably. The transformation of R data frames into JSON works significantly faster. The execution of the gvisMotionChart function in the World Bank demo is over 35 times...

Read more »

Eight new R User Groups worldwide

October 22, 2012
By

There are new local R user groups in eight (!) countries to announce this month: Sweden is host to the first R user group in Scandinavia. StockholmR has been holding meetings since September, and their next meeting on November 28 will be on Teaching R and Data visualization using R. In Taiwan, the Taipei-based Taiwan useR Group holds regular...

Read more »

Get an R Data Frame from a MongoDB Query

October 22, 2012
By

There’s a good FAQ on how to do the MongoDB query -> R data frame but I wanted to post a more complete example that included the database connection and query setup since I suspect there are folks new to Mongo who would appreciate the end-to-end view. The code is fully annotated with comments, and

Read more »

Resurrect Posts on Japan and the Yen

October 22, 2012
By
Resurrect Posts on Japan and the Yen

As the Yen and Japan continue to get more interesting in my mind, I just wanted to resurrect some posts that I have done on Japan and the Yen and sort them by my favorites. Japan Trade by Geographic RegionJapanese Trade and the YenJapan Intentional or...

Read more »

A statistical project bleg (urgent-ish)

October 22, 2012
By

We all know that politicians can play it a little fast and loose with the truth. This is particularly true in debates, where politicians have to think on their feet and respond to questions from the audience or from each other.  Usually, we find out a...

Read more »

Player timelines with ggplot

October 21, 2012
By
Player timelines with ggplot

Timelines can be quite a handy way of getting an overview of a player’s career in terms of when they played, with which team and who were their contemporaries As often is the case, I turned to Stackoverflow to set me on my way for an R solution. In this instance, I did not take

Read more »

Le Monde puzzle (rainy Sunday!)

October 20, 2012
By
Le Monde puzzle (rainy Sunday!)

On October 14, the weekend edition of Le Monde had the following puzzle: consider four boxes that contain all integers between 1 and 9999, in such a way that for any N, N, 2N, 3N, and 4N are in four different boxes. If 1,2,3 and 4 are in boxes labelled 1,2,3 and 4, respectively, in

Read more »

R for dummies

October 19, 2012
By
R for dummies

Just saw this nice review of R for dummies. And thought after this afternoon class that my students in the simulation course at Paris-Dauphine could clearly benefit from reading it! They in fact had a terrible time simulating a truncated normal distribution by accept-reject. As they could not get the notion of normalising constants… (Yes,

Read more »

Because it’s Friday: 7 billion-person ‘continents’

October 19, 2012
By
Because it’s Friday: 7 billion-person ‘continents’

The population of the world has been over 7 billion for about a year now. But those seven billion aren't distributed equally around the globe. 1.2 billion people — about in India alone (despite it havingjust 2% of the world's land area). At the other end of the spectrum, the entire continent of Australia houses about 0.3% of Australia....

Read more »

Company Valuation using Discounted Cash Flows

October 18, 2012
By
Company Valuation using Discounted Cash Flows

Today I want to show a simple example of how we can value a company using Discounted Cash Flow (DCF) analysis. The idea is to compute the company’s Intrinsic Value based on the discounted future cash-flows. To compute future cash-flows I will use the historical Free Cash Flow growth rate. To compute present value of

Read more »