Blog Archives

R Resources

March 13, 2014
By

I am listing some useful R resources. I start with the following post on (free) R Books from R-bloggers.com. An R "Meta" Book by Joseph Rickerthttp://www.r-bloggers.com/an-r-meta-book/ This page lists some e-books or e-materials for various topics in statistics ranging from basis concepts of statistics to advanced methods such as survival analysis and time series analysis. On Experimental Design An R...

Read more »

Poisson approximation of binomial probabilities

March 1, 2012
By
Poisson approximation of binomial probabilities

This is yet another experiment to see how good is the approximation of binomial probability when we use Poisson and normal distributions for scenarios with large $n$, and $p$ close to zero or one. Consider a problem where the random variable $X$ follows a binomial distribution with a known probability of success $p$, and number of trials $n$. If $n$...

Read more »

How to do this graph using R

April 26, 2010
By
How to do this graph using R

I am showing three examples that will help an average R user to create beautiful graphs. The interesting (may be useful) parts of these examples are the use of some very smart but tricky functions to, for example, add a Greek symbol on a plot, add a title to a plot with some mathematical symbols. I am showing three...

Read more »

3d scatter plot using R

January 6, 2010
By
3d scatter plot using R

The other day I saw a three dimensional scatterplot in Montgomery's Regression book. I wanted to redraw the graph using the provided data. A simple google search revealed that there is a package called scatterplot3d. The scatterplot3d() can be used to draw a 3-dimensional scatter plot. Here is what the steps are: Download and install the package from your nearest...

Read more »