Monthly Archives: June 2012

Announcing RPubs: A New Web Publishing Service for R

June 4, 2012
By
Announcing RPubs: A New Web Publishing Service for R

Today we’re very excited to announce RPubs, a free service that makes it easy to publish documents to the web from R. RPubs is a quick and easy way to disseminate data analysis and R code and do ad-hoc collaboration with peers. RPubs documents are based on R Markdown, a new feature of knitr 0.5 and RStudio 0.96. To publish

Read more »

Longevity and mortality dynamics with R

June 4, 2012
By
Longevity and mortality dynamics with R

Following the previous post on life contingencies and actuarial models in life insurance, I upload additional material for the short course at the 6th R/Rmetrics Meielisalp Workshop & Summer School on Computational Finance and Financial En...

Read more »

Extracting an image chunk from a collection of Large MrSid Images

June 4, 2012
By

Recently needed to extract a small "chunk" from a collection of adjacent MrSid mosaics, each about 4Gb in size. Once again, GDAL came to the rescue, and saved much time and agony wile working with very large, compressed, and proprietary-format files. T...

Read more »

Generate Quasi-Poisson Distribution Variable

June 4, 2012
By

Most of regression methods assume that the response variables follow some exponential distribution families, e.g. Guassian, Poisson, Gamma, etc. However, this assumption was frequently violated in real world data by, for example, zero-inflated overdispersion problem. A number of methods were developed to deal with such problem, and among them, Quasi-Poisson and Negative Binomial are the most popular methods perhaps due...

Read more »

Announcing The R markdown Package

June 4, 2012
By

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 »

Messy matters explores the probability of winning of basketball…

June 4, 2012
By
Messy matters explores the probability of winning of basketball…

Messy matters explores the probability of winning of basketball game when you’re ahead by x points y minutes before the end of the game.

Read more »

How to Convert Sweave LaTeX to knitr R Markdown: Winter Olympic Medals Example

June 4, 2012
By
How to Convert Sweave LaTeX to knitr R Markdown: Winter Olympic Medals Example

The following post shows how to manually convert a Sweave LaTeX document into a knitr R Markdown document. The post (1) reviews many of the required changes; (2) provides an example of a document converted to R Markdown format based on an analysis of Winter Olympic Medal data up to and including 2006; and (3) discusses the pros...

Read more »

Slidify: Things are coming together fast

June 4, 2012
By
Slidify: Things are coming together fast

Tools for using R/RStudio as a one-stop shop for research and presentation have been coming out quickly. I think this one has a good shot of being included in future releases of RStudio: The other day I ran across a new R package called slidify by Ramn...

Read more »

Variability in maximum drawdown

June 4, 2012
By
Variability in maximum drawdown

Maximum drawdown is blazingly variable. Psychology Probably the most salient feature that an investor notices is the amount lost since the peak: that is, the maximum drawdown. Just because drawdown is noticeable doesn’t mean it is best to notice. Statistics The paper “About the statistics of the maximum drawdown in financial time series” explores drawdown … Continue reading...

Read more »

PDF slides and R code examples on Data Mining and Exploration

June 4, 2012
By
PDF slides and R code examples on Data Mining and Exploration

by Yanchang Zhao, RDataMining.com There are some nice slides and R code examples on Data Mining and Exploration at http://www.inf.ed.ac.uk/teaching/courses/dme/, which are listed below. PDF Slides: - Overview of Data Mining http://www.inf.ed.ac.uk/teaching/courses/dme/2012/slides/datamining_intro4up.pdf - Visualizing Data http://www.inf.ed.ac.uk/teaching/courses/dme/2012/slides/visualisation4up.pdf - Decision trees http://www.inf.ed.ac.uk/teaching/courses/dme/2012/slides/classification4up.pdf … Continue reading →

Read more »