Tuesday 24 September 2013

You stole my idea!

Earlier today, Gareth has showed me a recent, interesting paper by Michael Sweeting (and colleagues). In the paper, Micheal et al describe their work on a R package to extend on the framework of the Continual Reassessment Method (the original paper by John O'Quigley and colleagues is here), which is a particular design that can be used in dose-finding studies.

No one has really stolen anything (just to be clear!) but I did have the same idea just a couple of months ago $-$ Gareth was working on a similar problem and asked me to have a chat about how one can apply the CRM, which is essentially a Bayesian method.

In its standard form, essentially, the CRM uses a very simple model based on very simple priors (typically exponentials or Gamma). While we were discussing it, I thought it would be nice to expand this and may be make a package that would link to JAGS or BUGS and allow you to select the prior from a wider range. Which, as it turns out, is just what Michael et al have done! 


Well $-$ at least I can see that was a good idea!

My talk @ GSK

This Thursday I'll give a talk at the GSK Statistics Forum. Erika (with whom I shared a train journey to the 2012 BayesPharma and a group walk in Oxfordshire a few years back) now works at GSK and invited me. I will talk about the model for cost-effectiveness with structural zero costs, on which I am working at the moment.

In fact, I managed to get hold of some new and more interesting data, which I will use to produce a better, more articulated example (although I think for the talk, I'll stick with the original acupuncture example, which is part of the working paper). 

I'll post my slides later, in case anyone's interested...

Friday 20 September 2013

Parum PI

A couple of weeks ago, the MRC-funded research project on the Regression Discontinuity Design (of which I'm the Principal Investigator) has officially started, so I thought I wrote a few lines of update about it, after the couple of posts (here and here) referring to presentations we've given on (very preliminary) work we've done.

Unfortunately, I don't think I can quite claim to have the physique du role to be a Magnum PI [hence, and to show off that I did study Latin in school $-$ although you may argue that I could have easily used Google Translate... but I haven't: promised! $-$ the title of the post], if only for the fact that we're having a terrible September, weather-wise, here in London...

Let me be clear that I'm not complaining and of course I am very happy that we got the grant. But I must say that being PI is at the same time a very exciting and exhausting role (I'll pretend that it hasn't occurred to me that the project is just started). Today I put on my most Hawaiian shirt and spent most of the time trying to sort out a few admin things and sending emails. 

Hopefully, we'll shortly have something a bit more substantial to report about $-$ the signs are all there, luckily...

Monday 16 September 2013

Attendance in parliament (in Italy)

Earlier today, I found some interesting data on Italian MPs voting records in the current parliament (which was opened last April). The data are available for both Houses (the Italian system has a lower house, called Camera $-$ effectively the same as the House of Commons in the UK $-$ and an upper house, the Senate). The Camera is made by 630 MPs, while there are "only" 321 senators (some of whom are appointed for life by the President of the Republic). For each MP, data are recorded on their political affiliation, constituency, number of votes attended and total number of votes in the current parliament. I thought I tried some relatively simple model to see whether there are some substantial differences in terms of party or constituency. 

I think the two houses can be modelled separately, at least as a first approximation. So, for example, say I concentrate on the lower House and define $y_i \sim \mbox{Binomial}(\pi_i,n_i)$ where for $i=1,\ldots,630$, $y_i$ is the number of recorded attended votes, $n_i$ is the total number of votes and $\pi_i$ is the individual probability of attendance. [NB: not all MPs are "exposed" to the same number of votes, as some have been appointed after by-elections, ie after parliament was opened last April. Also, the system does not record the reason for absence and so some of them may be legitimate (eg illness, or due to other institutional engagements). Nevertheless, the data give some good indication of the actual activity of the MPs].

I used a very simple model to define the attendance probability 
$$ \mbox{logit}(\pi_i) = \alpha + \beta_{p_i} + \gamma_{c_i}$$where the index $p_i$ indicates the party to which the $i-$th MP is affiliated and the index $c_i$ indicate their constituency. Of course, parties and constituencies will be replicated within the dataset (because MPs cluster within them). Also, other individual- or party- or constituency-specific variables may be relevant to explain away the different attitudes to participating to the parliamentary work $-$ but I'll keep the model simple, mainly because I'm a bit lazy and am not spending time to find these other variables!

The model is completed specifying vague prior for the overall average attendance rate (on the logit scale), $\alpha$ and structured priors for $\beta_j \sim \mbox{Normal}(0,\tau_p)$ and $\gamma_k \sim \mbox{Normal}(0,\tau_c)$, with $\sigma_p = \frac{1}{\sqrt{\tau_p}} \sim \mbox{Uniform}(0,10)$ and $\sigma_c = \frac{1}{\sqrt{\tau_c}} \sim \mbox{Uniform}(0,10)$

With this specification, the coefficients $\beta_j$ define the incremental effect of the $j=1,\ldots,N_p$ parties and $\gamma_k$ is the incremental effect of the $k=1,\ldots,N_c$ constituencies on the propensity of each MP to attend the votes. Negative values for the coefficients means that a given party/constituency decrease the chance of attendance.

I ran this model and here're the results, in the form of coefficient plots, reporting the posterior interval estimation for the effects $\beta$ and $\gamma$. For the Camera, the MPs affiliated with the "Movimento 5 Stelle" party and those with "Sinistra Ecologia Libertà" show positive propensity to participate in votes, while FdI ("Fratelli d'Italia") and PdL ("Popolo delle Libertà", Berlusconi's party) are substantially associated with negative propensity to attend.
Constituency also seem to have some differential effect; MPs from Valle d'Aosta, Liguria, Sardinia, Friuli Venezia Giulia, some provinces in Lombardia (but not including that of Milan) and some provinces in Sicily (including Palermo) have positive propensity to attend the votes.
In the senate, the situation is kind-of-different, if only for the fact that by the nature of the Italian system, some parties are not even the same. All the "positive" party effects disappear and no party is significantly associated with higher propensity of attendance. However, "PdL" and "Scelta Civica" (the party of former Prime Minister, Mario Monti) do show substantially negative values, indicating their senators have a lower propensity to show up at parliamentary votes.

Friday 13 September 2013

BCEA in UseR!

In a recent post, I had hinted at big news for BCEA $-$ I thought it was pretty much a done deal, but because it wasn't yet set in stone, I didn't want to jinx it...

But now I've sorted all the details with Springer, who have asked me to write a book on the R package (which I originally wrote to accompany BMHE) and so it's official: BCEA is going to feature in the Use R! series!


We ("we" being Andrea and myself, who will co-author the book) are very excited about this. We are still working on the next release of the package, which will include the code to run the multiparameter analysis of the expected value of partial information using the algorithm developed by Strong & Oakley and based on non-parametric regression.

But at the same time, Andrea and I will need to crack on the actual write up. The tentative table of contents is this:

  1. Bayesian analysis in health economics.
    1. Very brief introduction to the Bayesian approach, with particular reference to MCMC computations.
    2. Basics of health economic evaluation, specifically under a Bayesian approach.
    3. Probabilistic sensitivity analysis through simulations.
  2. BCEA – worked examples to describe all the functions
    1. Basic analysis
      1. Cost-effectiveness plane
      2. Expected incremental benefit
      3. Contour plots 
      4. Summary tables
    2. Probabilistic sensitivity analysis
      1. Cost-effectiveness acceptability curve
      2. Expected value of information 
      3. Expected value of partial information (2 stage MCMC and approximation methods)
    3. Advanced methods
      1. Mixed strategy
      2. Including risk-aversion in the utility functions
      3. Comparison of multiple interventions
  3. Graphical options in BCEA
    1. Brief introduction to ggplot2 and its use in BCEA
    2. Differences between the base and ggplot options in BCEA
  4. Conclusions
The idea is to have lots of worked examples to show how to do the analysis using BCEA. We have some already, but we'll find new ones as well.

Tuesday 10 September 2013

Biostatistics seminar

As part of the activities of the UCL Biostatistics Network, we organise regular seminars, to which we invite (usually relatively local $-$ for budget reasons only!) speakers. 

September is the start of the new term, and we'll kick off with what (in my opinion) is a very interesting topic. Alexina Mason (Imperial College) will speak about full Bayesian methods to deal with missing data. The seminar will be on September 18th at 4pm in the department of Statistical Science

Title: A general strategy for dealing with missing data using Bayesian methods
Abstract: Bayesian full probability modelling provides a flexible approach for analysing data with missing values, and offers an alternative to standard multiple imputation.  Plausible models allowing for missing responses and/or missing covariates can be built, which incorporate realistic assumptions about the missingness mechanism.  Additionally, the Bayesian approach lends itself naturally to sensitivity analysis, which is crucial when the missingness mechanism is unknown.  These strengths will be demonstrated by presenting a general strategy for a "statistically principled" investigation of data which contain missing values. The first part of this strategy entails constructing a "base model" by selecting an analysis model, then adding a sub-model to impute the missing covariates followed by a sub-model to allow informative missingness in the response.  The second part involves running a series of sensitivity analyses to check the robustness of the conclusions.  An antidepressant trial comparing the effects of three treatments will be used as an illustrative example throughout.  In particular, we will focus on missing responses assuming a non-ignorable missingness mechanism. 

Sunday 8 September 2013

Program chair

The other day, Julien asked me if I wanted to run for program chair of the ISBA Section on Biostatistics and Pharmaceutical Statistics, of which I am a member.

I thought about it for a bit and then I decided to go for it. I'm up against the incumbent Telba Irony of the FDA, clearly a formidable candidate, so it's going to be really tough! However, on the other hand, I thought the vast majority of the things I'm currently working on is absolutely relevant for the section, so I'd really love to be elected to the post.

In the next year or so, I will be organising (or co-organising) the BayesPharma workshop and the UCL Symposium on "Contemporary Statistical Methods in Medical Research", anyway. BayesPharma is clearly well within the remit of the section (so in a sense it's an easy one!). But I think it would be nice to bring some Bayesian biostatistics in the symposium too.

In addition, I think it would be nice to have a bit of Bayesian health economics in the section's interests $-$ in fact, Chris Jackson, Richard Nixon and I are already organising a short course on Bayesian methods in health economics (based on the MRC Cambridge Biostats Unit's course that Chris and Richard were doing and, of course, BMHE) and again, this seems to me quite relevant too!

I'll have to write a candidate's statement and I'll try to post some more on this before the election. Unfortunately, however, I won't be able to do like our beloved (?!) former prime minister did last month and organise for small airplanes to travel around the country to cheer me on...



Jobs @ UCL

Irene (who, among other things, is one of the co-apps in the RDD project $-$ in fact, she'll be a fundamental part of the research!) sent me a couple of job adverts for research assistant positions that will shortly be available at UCL. She and the jobs are based in the department of Primary Care and Population Health, in the Royal Free Hospital, near Hampstead (a bit further out, with respect to UCL's main campus, but quite nice location anyway!).

The first job entails managing the statistical aspects of specific studies (cross sectional, longitudinal and clinical trials) co-ordinated by the PRIMENT Clinical Trials Unit and the Primary Care and Mental Health Sciences research groups. The full job description is here.

The second one is for a health economist. The post holder will participate in research specific to health economic evaluations alongside trials and other large studies and provide advice to academics and clinicians who are developing proposals for funding and provide academic input into their studies. For both posts, NIHR funding is available for 12 months in the first instance. The full job description is here.

I may even try and get involved in the second job to expand on BMHE...

Tuesday 3 September 2013

Visitors

I wasn't really a great fan of the show when I was growing up, and I also think (hope!) that the picture is not fitting to what I'm about to say...

But when I was at BayesPharma earlier this year, Miguel Negrín has kindly invited me to visit the Department of Quantitative Methods in Las Palmas, which I thought was quite interesting; so I'll go for a week at the beginning of October.

Miguel and his colleagues are doing some interesting works in (Bayesian) statistical methods, generally applied to economic theory (and with some development specifically in health economics). So, potentially, there is quite some scope for interaction and collaborations, which makes it really cool (plus, of course, the fact that they are based in the Canary Island...).

I'm not sure how we'll play this out, but I am thinking of giving a couple of presentations on current work $-$ possible candidates are the latest development on the HPV model, the work on structural zeros and perhaps discussing some of the latest developments in BCEA.

On a related note, we may have very exciting news about BCEA $-$ in fact a couple of very exciting (well... in nerdy terms, of course) things may happen in the very next future!