Monthly Archives: March 2013

Lipsyncing for your life: a survival analysis of RuPaul’s Drag Race

March 11, 2013
By
Lipsyncing for your life: a survival analysis of RuPaul’s Drag Race

If you follow me on Twitter, you know that I’m a big fan of RuPaul’s Drag Race. The transformation, the glamour, the sheer eleganza extravanga is something my life needs to interrupt the monotony of grad school. I was able to catch up on nearly four seasons in a little less than a month, and I’ve been watching the… Continue reading →

Read more »

Veterinary Epidemiologic Research: Linear Regression Part 3 – Box-Cox and Matrix Representation

March 11, 2013
By
Veterinary Epidemiologic Research: Linear Regression Part 3 – Box-Cox and Matrix Representation

In the previous post, I forgot to show an example of Box-Cox transformation when there’s a lack of normality. The Box-Cox procedure computes values of which best “normalises” the errors. value Transformed value of Y 2 1 0.5 0 -0.5 -1 -2 For example: The plot indicates a log transformation. Matrix Representation We can use

Read more »

Simulating Random Multivariate Correlated Data (Continuous Variables)

March 11, 2013
By
Simulating Random Multivariate Correlated Data (Continuous Variables)

This is a repost of an example that I posted last year but at the time I only had the PDF document (written in ).  I’m reposting it directly into WordPress and I’m including the graphs. From time-to-time a researcher needs to develop a script or an application to collect and analyze data. They may also need

Read more »

Hexadecimal literals in GNU R

March 11, 2013
By

Recently I have used hexadecimal numbers in GNU R. The way they are parsed surprised me and is inconsistent with Java. As R Language Definition pdf only briefly mentions hexadecimal numbers here is what I have found.First I have checked the following c...

Read more »

FBit: GitHub repo for posts with R code for this blog

March 11, 2013
By
FBit: GitHub repo for posts with R code for this blog

This is a test post since I want to improve upon Jeffrey Horner’s strategy for posting R code in Tumblr. The only minor improvement I wanted to try out is hosting the images directly on the web. I mean, right now the images won’t show in RSS readers. I’m not doing anything new at all, just using the...

Read more »

Discovering Argon with the 2-Sample t-Test

Discovering Argon with the 2-Sample t-Test

I learned about Lord Rayleigh’s discovery of argon in my 2nd-year analytical chemistry class while reading “Quantitative Chemical Analysis” by Daniel Harris.  (William Ramsay was also responsible for this discovery.)  This is one of my favourite stories in chemistry; it illustrates how diligence in measurement can lead to an elegant and surprising discovery.  I find

Read more »

Is CTA trend following Dead?

March 10, 2013
By
Is CTA trend following Dead?

                                         This i...

Read more »

More sequential testing for triangle tests

March 10, 2013
By
More sequential testing for triangle tests

I looked before at triangle tests and at sequential testing in triangle tests (blog entry). In the latter post it was demonstrated that a sequential test is possible, without costs in desired error of the first kind. The latter because t...

Read more »

Analyse Quandl data with R – even from the cloud

March 10, 2013
By
Analyse Quandl data with R – even from the cloud

I have read two thrilling news about the really promising time-series data provider called Quandl recently: Quandl: A Wikipedia for Time Series DataQuandl package released to CRANWith the help of the Quandl R package* (development version...

Read more »

Better logging in R (aka futile.logger 1.3.0 released)

March 10, 2013
By
Better logging in R (aka futile.logger 1.3.0 released)

In many languages logging is now part of the batteries included with a language. This isn’t yet the case in …Continue reading »

Read more »