Publications by Gianluca Baio

Submitting a package to CRAN

16.05.2012

The process is relatively smooth, I think – especially if you start off with a Linux machine. However, when I had to compile the package and documentation for BCEA, I still had a couple of blips. The first problem was in the documentation. R tries to automatically compile a LaTeX file which is derived from the Rd (documentation files – a bit...

1367 sym

When the going gets tough…

22.06.2012

Getting closer to my personal Euro2012 derby: England v Italy. I find amusing that both sets of media think that their respective team have been gifted a good tie. The English are very happy to have avoided Spain, while the Italians don’t mind not playing the French. I guess these both make sense (particularly for the Italians, it is always ve...

5001 sym 4 img

A bunch of R (and JAGS) scripts

06.08.2012

I finally (nearly) got around to prepare the R code to replicate the examples in the book. I divided the examples by chapter and then linked to the R scripts and, for those involving Bayesian analysis, the associated JAGS models.At the moment, the scripts basically cover 3 running examples (discussed in several parts of the book):MCMC.R. A Gibbs ...

2883 sym 2 img

Another bunch of R (and JAGS) scripts

31.08.2012

Probably sooner than I expected, I have managed to also upload the codes for the examples in Chapter 5 of the book, which deals with doing Bayesian health economic evaluations. Basically, there are 3 examples, which sort of represent the main classes of cases (of course there are many, many other types of models that can be used and these are by...

3561 sym 4 img

INLA functions (continued)

10.09.2012

I have polished up one of the two functions I’ve thought of implementing for INLA and it’s now available in the development version of the R package. So if you’ve got INLA installed in your R version (see how you can do it here, if you don’t), you can update it to the development version by typinginla.upgrade(testing=TRUE)This will add t...

4058 sym 2 img

BCEA examples

13.09.2012

I’ve prepared a document (which I’ve put on the website here, together with some scripts at this page) which I think is helpful, if you’re trying to work out BCEA. I have never really thought of this, but I believe that when you write an academic software (or rather a library in this case) most of the times it grows out of a personal need...

2460 sym

INLA functions (yet again)

17.09.2012

This links back to previous posts here and here. Earlier today, I had a quick chat with Michela (by email, actually) on this topic. In particular, she was trying to use the function I’ve written to compute summaries from the posterior distribution of the standard deviation (rather than the precision, given by INLA by default) on an SPDE (Stoc...

1636 sym

Ordinal football

01.10.2012

I’ve had a quick look at this article on R-bloggers $-$ I don’t think I’ve followed the whole exchange, but I believe they have discussed what models should/could be applied to estimate football scores (specifically, in this case they are using the Dutch league).The main point of the post is that using ordinal regression models can improve ...

3256 sym 4 img

Laplace’s liberation army

08.10.2012

Great as it is, Google does not always give the “best”, or “right” (ie “most appropriate”) results on a given search. For example, if you google “jags” (using google.co.uk), the first results are a girls’ independent school and a sports club. The real JAGS (OK: real in a geeky, nerdy, statistical sense) only comes up at the thir...

2625 sym 2 img

Bayes for President!

23.10.2012

I couldn’t resist getting sucked into the hype associated with the US election and debates, and so I thought I had a little fun of my own and played around a bit with the numbers. [OK: you may disagree with the definition of “fun” $-$ but then again, if you’re reading this you probably don’t…]So, I looked on the internet to find reaso...

7988 sym 6 img