Articles by John Johnson

Distrust of R

March 12, 2013 | John Johnson

I guess I've been living in a bubble for a bit, but apparently there are a lot of people who still mistrust R. I got asked this week why I used R (and, specifically, the package rpart) to generate classification and regression trees instead of SAS Ente... [Read more...]

Integrating R into a SAS shop

August 29, 2012 | John Johnson

I work in an environment dominated by SAS, and I am looking to integrate R into our environment. Why would I want to do such a thing? First, I do not want to get rid of SAS. That would not only take away most of our investment in SAS training ... [Read more...]

From datasets to algorithms in R

December 5, 2011 | John Johnson

Many statistical algorithms are taught and implemented in terms of linear algebra. Statistical packages often borrow heavily from optimized linear algebra libraries such as LINPACK, LAPACK, or BLAS. When implementing these algorithms in systems such as Octave or MATLAB, it is up to you to translate the data from the ... [Read more...]

R to Word, revisited

September 12, 2011 | John Johnson

In a previous post (a long time ago) I discussed a way to get a R data frame into a Word table. The code in that entry was essentially a brute force way of wrapping R data in RTF code, but that RTF code was the bare minimum. There was ... [Read more...]

Ultraedit to R

January 21, 2011 | John Johnson

My favorite text editor on Windows is Ultraedit, but it does not have a nice interface to R in the same vein as Emacs/ESS, Tinn-R, or Eclipse. (I have never used Eclipse.) Ultraedit is powerful enough to submit whole R programs... [Read more...]

Dona eis Python, whap!

January 15, 2011 | John Johnson

Well, I'm taking the plunge and learning Python. We'll see how this goes. Then I'll try NumPy (and SciPy, if it gets ported), and see of I can get R and Python talking. [Read more...]

R – not the epic fail we thought

April 16, 2010 | John Johnson

I usually like AnnMaria's witty insight. I can relate to a lot of what she is saying. After all SAS and family life are large parts of my life, too. But you can imagine the reaction she provoked in saying the following:I know that R is free and I ... [Read more...]

Working on a drug safety project

November 20, 2009 | John Johnson

In order to move some of my personal interests along, I have been trying to implement the methodology found in Berry and Berry's article Accounting for Multiplicities in Assessing Drug Safety. This methodology uses the MedDRA hierarchy to improve the p... [Read more...]

Causal inference and biostatistics

July 11, 2009 | John Johnson

I've been following the discussion on causal inference over at Gelman's blog with quite a bit of interest. Of course, this is in response to Judea Pearl's latest book on causal inference, which differs quite a bit from the theory that had been forwarde... [Read more...]

Another solution to the R to Word table problem

October 17, 2008 | John Johnson

Last time I used an HTML solution. This time, I create an RTF file:# function: my.rtf.table# purpose: convert a matrix, data.frame, or array into a rtf table# output: text for RTF, possibly written to a file# inputs:# tab - a table, dataframe, or array (needs rownames and ... [Read more...]

More stats sites

August 20, 2008 | John Johnson

Jim Albert has a blog based on his book Bayesian Computation in R. Unfortunately, it seems they haven't been updating it too much recently but it looks like what's there is pretty good. [Read more...]

SAS weirdness

March 21, 2007 | John Johnson

From time to time, I'll complain about the weirdness of SAS, the statistical analysis program of choice for much of the pharmaceutical industry. This post is one such complaint.Why, oh why, does SAS not directly give us the asymptotic variance of the M... [Read more...]
1 2

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)