Skip to Content

How to...

The workbook enables finance and business end users to use R routines without having to learn a new language. Specifically this workbook automatically fits best forecasting model for the input series and outputs forecasts for the horizon specified. The R package used in the application is "Forecast" by Rob Hyndman and REXCEL.

I have a paper under review at a journal where I (along with my co-author) provided theoretical verification for applying the Pythagorean Won-Loss formula to hockey. Originally devised for baseball, the Pythagorean Won-Loss formula estimates the percentage of games a team should have won at a particular point in a season. For decades, this formula had no mathematical justification from first principles. In 2006, the second author provided a statistical derivation by making some heuristic assumptions about the distributions of runs scored and allowed by baseball teams.


October 28, 2011


-Matthew J. Flynn, Ph.D.-

R in business

R @ Cytel

October 27, 2011


Cytel Inc. is the leading provider of clinical trial design services and specialized statistical applications primarily for the biopharmaceutical, medical device, academic and government research markets. 47 out of the top 50 biopharmaceutical companies use Cytel software to design, simulate and analyze their clinical trials.
Cytel provides study sponsors with innovative tools, training and consultation to increase process efficiencies and reduce development costs.


QA in product development

The knitr package is an alternative tool to Sweave with a more flexible design and much more features. CRAN page: ; development repository: ; website (documentation and demos): ; manual: (use the Adobe Reader to see something surprising there)

Airlines, Consumers, and Twitter

Anyone who travels regularly recognizes that airlines struggle to deliver a consistent, positive customer experience. Through extensive interview and survey work, the American Customer Satisfaction Index ( quantifies this impression. As a group, airlines falls at the bottom of their industry rankings, below the Post Office and insurance companies:

Problem: Determine the best use of public funds, when revenue is shrinking?

Solution: Analyze zip code data to determine three things: 1) where participants are coming from, 2) how many are coming from a specific spot, and 3) the distance traveled.