Posts Tagged ‘ R ’

Old tails: a crude power law fit on ebook sales

April 18, 2014
By
Old tails: a crude power law fit on ebook sales

We use R to take a very brief look at the distribution of e-book sales on Amazon.com. Recently Hugh Howey shared some eBook sales data spidered from Amazon.com: The 50k Report. The data is largely a single scrape of statistics about various anonymized books. Howey’s analysis tries to break sales down by declared category and […] Related posts: Sample size and power for rare events Exciting Technique #1: The “R”…

Read more »

My talks @ Universitat de Girona

April 18, 2014
By
My talks @ Universitat de Girona

Just after Easter, I'll go for a very quick trip to lovely Girona, where Marc Saez has invited me to give two talks.The first one will be a re-run of the short course on INLA that I did at Bayes Pharma last year. It's scheduled (and prepared) as a 3-ho...

Read more »

Date formating in R

April 18, 2014
By

As I often manipulate time series from different sources, I rarely come across the same date format twice. Having to reformat the dates every time is a real waste of time because I never remember the syntax of the as.Date function. I put below a few examples that turn strings into standard R date format. […]

Read more »

Bitsanity

April 16, 2014
By
Bitsanity

BitsanityThe awesome folks at Quandl (an amazing data collection and distribution service) have been so kind as to allow me to write for their blog.In my first post for them I demonstrate (with detailed R code) how a user of their free data services co...

Read more »

Errors on percentage errors

April 16, 2014
By
Errors on percentage errors

The MAPE (mean absolute percentage error) is a popular measure for forecast accuracy and is defined as     where denotes an observation and denotes its forecast, and the mean is taken over . Armstrong (1985, p.348) was the first (to my knowledge) to point out the asymmetry of the MAPE saying that “it has a bias favoring estimates that are below the actual values”. A few years later, Armstrong…

Read more »

googleVis 0.5.1 released on CRAN

April 15, 2014
By
googleVis 0.5.1 released on CRAN

GoogleVis 0.5.1 was released on CRAN yesterday. New Features New functions gvisSankey, gvisAnnotationChart, gvisHistogram,gvisCalendar and gvisTimeline to support the new Google charts of the same names (without 'gvis'). New demo Trendlines showing how...

Read more »

Transitioning to Stan

April 14, 2014
By

Kevin Cartier writes: I’ve been happily using R for a number of years now and recently came across Stan. Looks big and powerful, so I’d like to pick an appropriate project and try it out. I wondered if you could point me to a link or document that goes into the motivation for this tool […]The post Transitioning to Stan appeared first on Statistical Modeling, Causal Inference, and Social Science.

Read more »

Public Universities Should Use Open Source Software

April 14, 2014
By
Public Universities Should Use Open Source Software

The Homeless Econometrician: Black Box SoftwareChoosing to go open source is a big deal.  It means that when asking for help or new improvements you are dealing with a highly active and generous user community which enjoys helping instead of a cor...

Read more »

Exploring US healthcare data

April 13, 2014
By
Exploring US healthcare data

A few days ago, the Centers for Medicare and Medicaid Services (CMS) released some unprecedented data on the US healthcare system. The data consists of 9 million rows showing how much each doctor in the US charged Medicare, for what, and how much Medicare paid out. It doesn't quite cover everything (for example, services with less than 11 beneficiaries were removed for privacy reasons), but its the best thing we've…

Read more »

Open Science Through R

April 13, 2014
By
Open Science Through R

There's so much being written about R these days, and justifiably so. If you use R for your econometrics, you should also keep in mind that its applicability is far wider than statistical analysis. A big HT to the folks at Quandl for leading ...

Read more »


Subscribe

Email:

  Subscribe