995 search results for "latex"

Reaching escape velocity

June 22, 2010
By
Reaching escape velocity

Sample once from the Uniform(0,1) distribution. Call the resulting value . Multiply this result by some constant . Repeat the process, this time sampling from Uniform(0, ). What happens when the multiplier is 2? How big does the multiplier have to be to force divergence. Try it and see: iters = 200 locations = rep(0,iters)

Read more »

Those dice aren’t loaded, they’re just strange

June 18, 2010
By
Those dice aren’t loaded, they’re just strange

I must confess to feeling an almost obsessive fascination with intransitive games, dice, and other artifacts. The most famous intransitive game is rock, scissors, paper. Rock beats scissors.  Scissors beats paper. Paper beats rock. Everyone older than 7 seems to know this, but very few people are aware that dice can exhibit this same behavior,

Read more »

A different way to view probability densities

June 12, 2010
By
A different way to view probability densities

The standard, textbook way to represent a density function looks like this: Perhaps you have seen this before? (Plot created in R, all source code from this post is included at the end). Not only will you find this plot in statistics books, you’ll also see it in medical texts, sociology, and even economics books.

Read more »

R is eve R ywhe R e

June 8, 2010
By
R is eve R ywhe R e

R did definitely not start to be THE statistical computing tool. The “two Rs” in far down-under just needed some tool which was not too expensive and structured enough to support the elementary statistics classes filled with hundreds of students. Another constraint was the computing lab which was large enough, but “only” filled with Mac

Read more »

On particle learning

June 4, 2010
By
On particle learning

In connection with the Valencia 9 meeting that started yesterday, and with Hedie‘s talk there, we have posted on arXiv a set of comments on particle learning. The arXiv paper contains several discussions but they mostly focus on the inevitable degeneracy that accompanies particle systems. When Lopes et al. state that is not of interest

Read more »

How to Create an R Package in Windows

How to Create an R Package in Windows

There are many reasons to create an R package, such as codes protection, convenient usage, etc. However, creating an R package in Unix is not hard, it IS in Windows, as R is designed in a Unix environment which includes a set of compilers, programming utilities, and text-formatting routines while Windows lacks those. I used to build an R...

Read more »

Vanilla Rao-Blackwellisation [re]revised

May 31, 2010
By
Vanilla Rao-Blackwellisation [re]revised

Although the revision is quite minor, it took us two months to complete from the time I received the news in the Atlanta airport lounge… The vanilla Rao-Blackwellisation paper with Randal Douc has thus been resubmitted to the Annals of Statistics. And rearXived. The only significant change is the inclusion of two tables detailing computing

Read more »

highlight 0.2-0

May 31, 2010
By

I've released version 0.2-0 of highlight to CRAN This version brings some more additions to the sweave driver that uses highlight to produce nice looking vignettes with color coded R chunks The driver gains new arguments boxes, bg and border to c...

Read more »

Betting on Pi

May 31, 2010
By
Betting on Pi

I was reading over at math-blog.com about a concept called numeri ritardatari. This sounds a lot like “retarded numbers” in Italian, but apparently “retarded” here is used in the sense of “late” or “behind” and not in the short bus sense. I barely scanned the page, but I think I got the gist of it:

Read more »

highlight 0.1-9

May 29, 2010
By

The version 0.1-8 of highlight introduced a small bug in the latex renderer. This is now fixed in version 0.1-9 and the latex renderer also gains an argument "minipage" which wraps the latex code in a minipage environment. I've used this to make...

Read more »