# BCEs0 version 1.1 on CRAN

**Gianluca Baio's blog**, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)

Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

As I was responding to the points raised by two referees and the editor on my paper on cost-effectiveness with structural zeros (the preliminary version was here, while I have presenting it in a few talks and discussed it here, here, here and here).

I have to say most of the comments I received made a lot of sense and were extremely helpful. In particular, when I was thinking about how I should address them, I realised that I was much better off by modelling all the prior distributions on the scale of the mean and standard deviation of the cost variable, rather than using the original scale (e.g. rate & shape for the Gamma distribution).

This is true in general, of course, but it is quite helpful in this case, because I want to impose a very informative prior for the subjects for whom a 0 has been observed (so that in the posterior the mean cost is identically 0, *a fortiori*). I have updated the software webpage, which now reports the full list of inputs required by the main function bces0.

In particular, I have modified the original code so that:

- a treatment-specific threshold for the default Uniform prior on the mean and standard deviation of the costs for the non-null component (previously, I was assuming a single value to be applied to both treatment being compared);
- a “robust” option, which by default is set to TRUE, which implies that “minimally informative” Cauchy priors are specified on the coefficients for the pattern model for the zero cost indicator. If robust is set to FALSE, then BCEs0 will use a vague Normal prior instead;
- a “model.file” option, which allows you to specify the name of the
*.txt*file to which the JAGS model code is saved. This is not quite fundamental, but as I was testing the package I kind of got annoyed that every time I run it, it would overwrite previous versions of the model file, which I may need for future tests. And so I changed this.

*ogni scarrafone e’ bello a mamma sua*“, which poorly translates into English as “every cockroach is beatiful to its own mother’s eyes”…

**leave a comment**for the author, please follow the link and comment on their blog:

**Gianluca Baio's blog**.

R-bloggers.com offers

**daily e-mail updates**about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.

Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.