1009 search results for "Latex"

Font Families for the R PDF Device

March 24, 2010
By

otivated by the excellent R package pgfSweave, I begin to notice the font families in my graphs when writing Sweave documents. The default font family for PDF graphs is Helvetica, which is, in most cases (I think), inconsistent with the LaTeX font styles. Some common font families are listed in ?postscript, and we can take

Read more »

Updated Site Map for Jeromy Anglim’s Blog Psychology and Statistics

March 23, 2010
By

Every Six months or so I like to update the Site Mapfor my blog jeromyanglim.blogspot.com. Thus, if you're new to the blog, The Site Map provides an overview of previous blog content organised by topic. RSS Feed: http://feeds.feedburner.com/jeromyang...

Read more »

Updated Site Map for Jeromy Anglim’s Blog Psychology and Statistics

March 23, 2010
By

Every Six months or so I like to update the Site Mapfor my blog jeromyanglim.blogspot.com. Thus, if you're new to the blog, The Site Map provides an overview of previous blog content organised by topic. RSS Feed: http://feeds.feedburner.com/jeromyang...

Read more »

Playing with the ‘playwith’ package

March 23, 2010
By
Playing with the ‘playwith’ package

Abilities of R for creating graphics is great, but one thing I always missed is the possibility of creating interactive plots and being able to look at graphs while changing one ore more parameters. I know that there is rggobi, but so far I always ran into problems with flexibility each time I wanted to

Read more »

My Experience at ACM Data Mining Camp #DMcamp

March 21, 2010
By
My Experience at ACM Data Mining Camp #DMcamp

My parents and I made plans to visit San Jose and Saratoga on my grandmother’s birthday, March 19, since that is where she grew up. I randomly saw someone tweet about the ACM Data Mining Camp unconference that happened to be the next day, March 20, only a couple of miles from our hotel in Santa Clara. This was...

Read more »

In search of a random gamma variate…

March 16, 2010
By
In search of a random gamma variate…

One of the most common exersices given to Statistical Computing,Simulation or relevant classes is the generation of random numbers from a gamma distribution. At first this might seem straightforward in terms of the lifesaving relation that exponential and gamma random variables share. So, it’s easy to get a gamma random variate using the fact that

Read more »

Solving the rectangle puzzle

March 15, 2010
By
Solving the rectangle puzzle

Given the wrong solution provided in Le Monde and comments from readers, I went to look a bit further on the Web for generic solutions to the rectangle problem. The most satisfactory version I have found so far is Mendelsohn’s in Mathematics Magazine, which gives as the maximal number for a grid. His theorem is

Read more »

\pi day!

March 14, 2010
By
\pi day!

It’s π-day today so we gonna have a little fun today with Buffon’s needle and of course R. A well known approximation to the value of $latex \pi$ is the experiment tha Buffon performed using a needle of length,$latex l$. What I do in the next is only to copy from the following file the function

Read more »

t-walk on the wild side

March 11, 2010
By
t-walk on the wild side

When I read in the abstract of the recent A General Purpose Sampling Algorithm for Continuous Distributions, published by Christen and Fox in Bayesian Analysis that We develop a new general purpose MCMC sampler for arbitrary continuous distributions that requires no tuning. I am slightly bemused. The proposal of the authors is certainly interesting and

Read more »

Clinical Reporting with R

March 11, 2010
By
Clinical Reporting with R

One of the main goals of analyzing clinical data is to produce a report. (What, you thought it was to make the world a better place?) The R Project has, of course, all the tools you need to perform the statistical analysis, calculate the tables of results, and present conclusions graphically. But how can you assemble all of that...

Read more »