Archive for R

The R in Ireland

Posted in Covid-19 with tags , , , on July 9, 2020 by telescoper

I was playing about with different ways of presenting the Covid-19 data I’ve been collecting here to make the trends clearer. This is what the daily confirmed cases and reported deaths look like if smoothed with a simple 7-day moving average and plotted on a log-linear scale:

This confirms something I’ve suspected over the last couple of weeks: that the number of confirmed cases has been edging upwards. This is not so clear in the raw counts, but is suggested: the smoothing makes this easier to see by reducing the noise and removing any weekend reporting artefacts:

This recent upward trend is consistent with the latest estimates of the basic reproduction number R that suggest it has crept up to around unity.

The number of cases per day remains low and confined to particular clusters. Hopefully contact tracing and isolation will prevent the increase getting out of hand.

It seems about two thirds (15 out of 23) of the new cases are associated with travel, though, so any loosening of restrictions on overseas travel would be very unwise.

The maximum age of any of the new cases reported yesterday is 44 and 77% are under 25. Perhaps its younger people who are less likely to observe social distancing.

I worry a bit that Ireland may be unlocking too quickly and people may be getting a bit complacent about the situation.

This is not over.

Straw Poll on Statistical Computing

Posted in Bad Statistics, The Universe and Stuff with tags , , on December 20, 2016 by telescoper

The abstract of my previous (reblogged) post claims that R is “the premier language of statistical computing”. That may be true for the wider world of statistics, and I like R very much, but in my experience astronomers and cosmologists are much more likely to do their coding in Python.  It’s certainly the case that astronomers and physicists are much more likely to be taught Python than R. There may well even be some oldies out there still using other languages like Fortran, or perhaps  relying on books of statistical tables!

Out of interest therefore I’ve decided to run the following totally biased and statistically meaningless poll of my immense readership:

 

If you choose “something else”, please let me know through the comments box what your alternative is. I can then add additional options.