1003 search results for "Latex"

Graph Bisection in R

April 14, 2011
By
Graph Bisection in R

Recently I had to partition a set of SNPs into a training set and a test set. Making a random split would not do: both sets would likely contain very similar SNPs due to linkage disequilibrium (LD), making them non-independent. … Continue reading →

Read more »

Using tikzDevice with Sweave in R 2.13

April 12, 2011
By

R 2.13 introduces an option to specify a custom graphics device in an Sweave code chunk. This is really cool and allows you to use tikzDevice output like pgfSweave does. In an pinch, say when you dont have access to any non-core packages, you can use tikzDevice output with the regular Sweave driver (RweaveLatex) more

Read more »

Article about plyr published in JSS, and the citation was added to the new plyr (version 1.5)

April 11, 2011
By
Article about plyr published in JSS, and the citation was added to the new plyr (version 1.5)

The plyr package (by Hadley Wickham) is one of the few R packages for which I can claim to have used for all of my statistical projects. So whenever a new version of plyr comes out I tend to be excited about it (as was when version 1.2 came out with support for parallel processing)

Read more »

A Simple Instrumental Variables Problem

March 29, 2011
By
A Simple Instrumental Variables Problem

When working with labor economics, we often run into issues with selection on variables of interest. Regressing earnings on years of education to estimate the human capital earnings function makes sense at first blush until we imagine that education is … Continue reading →

Read more »

GUIs for R

March 28, 2011
By

A recent post listed at R Bloggers (http://www.r-bloggers.com/r-guis-which-one-fits-you/) made some erroneous statements about R Commander. Here is a revised description of R Commander with some issues addressed from the earlier blog:R Commander works ...

Read more »

GUIs for R

March 28, 2011
By

A recent post listed at R Bloggers (http://www.r-bloggers.com/r-guis-which-one-fits-you/) made some erroneous statements about R Commander. Here is a revised description of R Commander with some issues addressed from the earlier blog:R Commander works ...

Read more »

Typos sorted, at last!

March 23, 2011
By
Typos sorted, at last!

After posting so many entries about typos in my books (making you wonder how there could be any text left!) and postponing their classification for so long, I decided on Saturday afternoon to collect those entries into a comprehensive pdf document that should be more useful for readers. I incidentally noticed that my book web-page

Read more »

Code: extended model support for mtable

March 22, 2011
By
Code: extended model support for mtable

I finally got around to organizing and packaging my complete set of extended model support for mtable in Martin Elff’s memisc library. Here is a list of the models supported: coxph, survreg – Cox proportional hazards models and parametric survival … Continue reading →

Read more »

One bicycle for two

March 22, 2011
By
One bicycle for two

Robin showed me a mathematical puzzle today that reminded me of a story my grand-father used to tell. When he was young, he and his cousin were working in the same place and on Sundays they used to visit my great-grand-mother in another village. However, they only had one bicycle between them, so they would

Read more »

How to: Binomial regression models in R

March 19, 2011
By
How to: Binomial regression models in R

Ever wondered how to predict success or failure as a function of other variables? Here's a quick tutorial on binomial regression in R.

Read more »