Monthly Archives: October 2010

Science is vital – what we don’t know yet

October 6, 2010
By
Science is vital – what we don’t know yet

This post is not about R (for a change). For working UK scientists, science is vital – sign the on-line petition to preserve science funding. For my contribution of what we don’t know yet - We don’t know whether we can use biomarkers of kidney injury to personalise the doses of medications to maximise the

Read more »

Creating GUIs in R with gWidgets

October 6, 2010
By
Creating GUIs in R with gWidgets

The gWidgets framework is a way of creating graphical user interfaces in a toolkit independent way. That means that you can choose between tcl/tk, Gtk, Java or Qt underneath the bonnet. There's also a web-version based upon RApache and ExtJS. Since the code is the same in each case, you can change your mind and swap toolkits...

Read more »

R is Hot

October 6, 2010
By

Our mission at Revolution Analytics is to make R the statistical analysis tool of choice in the workplace. But even though R is pervasive in academia and rising in popularity generally, we still sometimes get blank faces when we demonstrate R to potential new clients. Sure, most people have heard of R -- it's been hard to miss in...

Read more »

Belgian Astronomers and Exercise Machines

October 6, 2010
By
Belgian Astronomers and Exercise Machines

In the twisting paths of human discovery, you never quite know what intellectual enterprise is going to result in a world changing discovery.  For instance, the mathematical notion of expected value did not grow up in a sterile, academic environment.   In 1654 Blaise Pascal was approached by Chevalier de Méré who was interested...

Read more »

Belgian Astronomers and Exercise Machines

October 6, 2010
By
Belgian Astronomers and Exercise Machines

In the twisting paths of human discovery, you never quite know what intellectual enterprise is going to result in a world changing discovery.  For instance, the mathematical notion of expected value did not grow up in a sterile, academic environment.   In 1654 Blaise Pascal was approached by Chevalier de Méré who was interested...

Read more »

Convert decimal to IEEE-754 in R

October 6, 2010
By

For some theory on the standard IEEE-754, you can read the Wikipedia page. Here I will post only the code of the function to make the conversion in R.First we write some functions to convert decimal numbers to binary numbers:decInt_to_8bit q r xx for(i in 1:precs){xx q r xx }rr return(rr)}devDec_to_8bit nas nbs xxs for(i in 1:precs){xxs...

Read more »

Convert decimal to IEEE-754 in R

October 6, 2010
By

For some theory on the standard IEEE-754, you can read the Wikipedia page. Here I will post only the code of the function to make the conversion in R.First we write some functions to convert decimal numbers to binary numbers:decInt_to_8bit q r xx for(i in 1:precs){xx q r xx }rr return(rr)}devDec_to_8bit nas nbs xxs for(i in 1:precs){xxs...

Read more »

How fast is JAGS?

October 6, 2010
By
How fast is JAGS?

From Martyn Plummer, on the JAGS news blog. Key graph below, showing a few outlying cases in which JAGS is substantially slower than OpenBUGS, but generally, JAGS performs quite favorably. Key point from Martyn: Incidentally, these figures are for JAGS with the glm module loaded. The glm module is not loaded by default. If you

Read more »

Typos…

October 5, 2010
By
Typos…

Edward Kao just sent another typo found both in  Monte Carlo Statistical Methods (Problem 3.21) and in Introducing Monte Carlo Methods with R (Exercise 3.17), namely that should be I also got another email from Jerry Sin mentioning that matrix summation in the matrix commands of Figure 1.2 of Introducing Monte Carlo Methods with R

Read more »

The Data Science Venn Diagram

October 5, 2010
By
The Data Science Venn Diagram

Whenever I'm asked, "Who uses R?", I usually rattle off a long list of job titles: statistician, analyst, quant, researcher ... and that's before all the domain-specific titles. It would be nice if there were a simple, succinct phrase to describe the process of working with, analyzing, and communicating with real data. At the new blog, "dataists", the inaugural...

Read more »