995 search results for "Latex"

An email about mixtures

March 4, 2010
By
An email about mixtures

As a coincidence, or not, I received the following email just before starting our mixture estimation workshop (the above is Ben Nevis on Monday, whose skyline really looks like a three component mixture!) and giving a discussion on label switching: I am implementing a Markov-Chain Monte Carlo method for Gibbs sampling from a simple mixture

Read more »

New Le Monde puzzle

March 3, 2010
By
New Le Monde puzzle

When I first read Le Monde puzzle this weekend, I though it was even less exciting than the previous one: find and , such that is a multiple of . The solution is obtained by brute-force checking through an R program: and then the a next solution is (with several values for N). However, while

Read more »

Be Careful Searching Python Dictionaries!

February 27, 2010
By
Be Careful Searching Python Dictionaries!

For my talk on High Performance Computing in R (which I had to reschedule due to a nasty stomach bug), I used Wikipedia linking data, an adjacency list of articles and the articles to which they link. This data was linked from DataWrangling and was originally created by Henry Haselgrove. The dataset is small on disk, but I needed...

Read more »

lme4 stands 4 Linear mixed-effects…

February 19, 2010
By
lme4 stands 4 Linear mixed-effects…

There is a certain hype about mixed (and random) effects among statistician and analysts. You can show some love to Douglas Bates and Martin Maechler for maintaing the lme4 package for our cupid, R I copy the entity of the information of the projects page. Doxygen documentation of the underlying C functions is here. The

Read more »

Press Enter in LyX Sweave as You Wish

February 18, 2010
By
Press Enter in LyX Sweave as You Wish

or a long time I’ve been wondering why we are not able to use Enter in the LyX Scrap environment which was set up by Gregor Gorjanc for Sweave. Two weeks ago, I (finally!) could not help asking Gregor about this issue, as I’m using “LyX + Sweave” more and more in my daily work.

Read more »

Using Google Reader

February 15, 2010
By
Using Google Reader

Google Reader is a fantastic way to keep track of new papers that are appearing in many different journals, and also to follow some of the interesting research blogs (and blogs on other topics) that are out there. Google Reader checks websites for you and lets you know of any new material that appears. Instead of

Read more »

R vs. Matlab – a small example

February 15, 2010
By
R vs. Matlab – a small example

At the institute I’m working quite a lot of people prefer using Matlab and only a few of them know about R. Today one of my colleagues — who is also an eager user of Matlab — ran into the following problem: He had a vector in hand which consisted of elements. He wanted to

Read more »

Exact Complexity of Mergesort, and an R Regression Oddity

February 13, 2010
By
Exact Complexity of Mergesort, and an R Regression Oddity

It’s nice to be back after a pretty crazy two weeks or so. Let me start off by stating that this blog post is simply me pondering and may not be correct. Feel free to comment on inaccuracies or improvements! In preparation for an exam and my natural tendencies to be masochistic, I am forcing myself to find the exact...

Read more »

Making publication-ready tables with xtable

February 12, 2010
By
Making publication-ready tables with xtable

When you use R at the command-line, the textual output is limited by the medium: one monospaced font, with no typesetting of any kind. That's great when you're doing exploratory analysis, but what about when you want to include R output in a report or publication? In other words, what if you want to convert this Analysis of Variance...

Read more »

Typos in Chapters 1, 4 & 8

February 10, 2010
By
Typos in Chapters 1, 4 & 8

Thomas Clerc from Fribourg pointed out an embarassing typo in Chapter 8 of “Introducing Monte Carlo Methods with R”, namely that I defined on page 247 the complex number as the squared root of 1 and not of -1! Not that this impacts much on the remainder of the book but still an embarassment!!! An

Read more »