Tag Archives: maths

Scientia Pro Publica #14

Welcome to the 14th Edition of Scientia Pro Publica (Science For The People). This blog carnival collects together the best non-technical science writing that has appeared around the blogosphere in the last few months, to promote and celebrate science, nature or medicine blogs written for the public.

In this edition, we have a glut of posts related to climate change, and an equally large group of posts about the interaction of science and society. Along the way, we will also cover some basic science posts from physics and biology.
Continue reading

Books for Bioinformatics Beginners

Olaf left a comment asking about what books a mathematically competent and generally informed non-geneticist can read to learn about modern genetics. As he notes there tends to be a bit of a lack of books that assume you are know the basics, but does not assume you have an undergrad degree. You tend to find things that are either of the form “this is Mr Gene, he makes proteins!”, or of the form “a non-Bayesian could infer with certainty an inversion-deletion event had caused this ribosomal disruption, so attached are they to their bootstrapped pseudo-statistics!”.

This sort of request also tends to come from the very large number of undergrads trained in genetics in some classical sense (a mixture of population and functional genetics) who want to get a general understanding of this whole Modern Genomics phenomenon that basically all of genetics is at least partly involved in these days.
Continue reading

A Quick Note On Copyright

Just a quick note. Nick Loman notes that he intends to use material from my Basics: Sequencing series in his undergrad lectures. That is pretty awesome, and I feel an urge to reciprocate by using one of the things he’s blogged about, but given that I teach mathematics on a blackboard, I’m not entirely sure how to do so*.

To clarify, the images and material in those posts, and indeed everything written in this blog, can be used freely for any purpose. I would like it if you would provide a link back here, or note who created them verbally, but that is by no means required.

* Ohh ooh I’ve got one, a question for my first year Elementary Mathematics for Biologists students:

Question 1

The Sanger Centre owns 42 sequencing machines, of which 2 are 454 and 40 are Illumina. Throughout the rest of the UK, there are 12 Illumina machines, 9 454s, and 3 SOLiDs (1). Perform a chi-squared test of independence to see whether there Sanger Centre has significantly different purchasing priorties than the rest of the UK. Is this test valid in this instance?

(1) According to data found at http://pathogenomics.bham.ac.uk/blog/2009/08/sequencing-in-the-u-k/

Answer 1:

The contingency table is:

ILMN 454 SLD TOT
SC 40 2 0 42
UK 12 9 3 24
TOT 52 11 3 66

The expected values are thus:

ILMN 454 SLD
SC 33.1 7 1.9
UK 18.9 4 1.1

Chi-squared score is thus ~19.04. This is larger than the 95% critical value of 6.0 for df = 2.

This test is not valid in this case, for two reasons. Firstly, the expected values are very low, and thus the normal approximation is unlikely to hold; we should instead use Fisher’s exact test. Secondly, each purchase of a sequencing machine is not independent of the result of the last purchase; you are more likely to buy the same machine again, since you have invested in equipment, software and training for that type of machine.

On Michele Hanson and Game Theory

I read the Guardian newspaper on a semi-regular basis, and I find their coverage to range from Pretty Good to Good Lord No, with a peak around Not Bad (the quality is somewhat moot, since the ever-delightful Ben Goldacre, among other loved columnists, guarantee that I will always return).

However, there is the occasional distressing piece from an individual notably unaware of the complexity, and often the substance, of what they are talking about. One source that provides such tidbits with unfortunate frequency is in the G2 columnist Michele Hanson. Now, her column usually just offers Humorous Anecdotes and Gripes, which is fine for a supplement, but she also spends plenty of time commenting on science subjects from a platform of ignorance and, more worrying, derisive scorn. From yesterday’s column:

A bumper crop of bad science plopped out of our universities and hospitals this week. Three lots at once, and all about relationships. The first gang, from UCL, LSE and Warwick Medical School, have “developed a mathematical model of the mating game to help explain why courtship is often protracted”. Or as every girl’s mother has probably told her, “Don’t do it on the first date. If he can’t wait, he’s not worth it.” [...]

I would like to tear my hair out. I ought to be used to professors churning out this sort of old-hat, inapplicable drek, time after time, but for me the shock never fades. How do they get away with it? Has Professor Robert Seymour, of UCL, been shut away in the groves of academe since birth, and does he really think that we don’t know that “longer courtship is a way for the female to acquire information about the male”. Has he ever met a female person? Or a male from the outside world? Did he not know already that we know that you can’t get to know someone all that well in the course of a quick bang?

Continue reading

On Life Finding A Way

You may be know, for my Day Job I am a Ph.D. student at the Sanger Institute just outside Cambridge, doing lots of exciting things with genomes and the like. However, as you may not know (but, to be honest, are just as likely to as not), as my Thing On The Side I study evolutionary algorithms with my previous supervisor Yogi Jaeger. In my first Fancy Perk of being a full-time researcher, I will be going to Amsterdam later this month to give a talk at the University of Amsterdam on a comparison between two algorithms.

Now I think the details of the comparison are actually pretty interesting to a lay-person, especially because they lead to some idle speculation about the nature of evolutionary forces. Now, Yogi generally doesn’t like me speculating about such things, since he thinks it isn’t rigorous, and he points out that lots of people far smarter than me spend their time doing advanced theoretical studies about the constraints and capacities of the evolutionary process. However, I know that you, my most kind blogventurer, will not raise such objections. And thus, once again I will subject you to my idle musing.
Continue reading

On Bayes and Me

This post carries on from my previous excursion into Bayesian statistics.

Bayesian Science

A mathematician friend once told me that Bayesian inference is the type of inference that fits in most readily with the scientific method (that being the method I am most prepared to use in the majority of situations). It is true that a Bayesian inference, if done properly, represents a mathematical version of an idealised scientific inference - we have some explicitly stated prior beliefs, based on previous evidence, and we look for data, in the form of experiments or observations, which are combined to form an inference. Lovely.
Continue reading

On Bayes

This is a backdated post, written more recently than the date claims, in order to give the impression that this blog has History. This is a dirty trick, but a necessary one, and I know that you, gentle reader, will keep my secret safe.

I have a feeling that, in some sense, someone in my position (a position which you, my noble blog adventurer, are likely to learn more of in time) should have on record a position on the Bayesian Issue. I will start this by dedicating a post to explaining The Bayesian Issue, and then later on having a post on where I stand on it.

Continue reading