An introduction to the statistics behind the most popular genomic data science projects. This is the sixth course in the Genomic Big Data Science Specialization from Johns Hopkins University.

Loading...

From the course by Johns Hopkins University

Statistics for Genomic Data Science

116 ratings

An introduction to the statistics behind the most popular genomic data science projects. This is the sixth course in the Genomic Big Data Science Specialization from Johns Hopkins University.

From the lesson

Module 3

This week we will cover modeling non-continuous outcomes (like binary or count data), hypothesis testing, and multiple hypothesis testing.

- Jeff Leek, PhDAssociate Professor, Biostatistics

Bloomberg School of Public Health

Now that we've gotten this far in the course,

Â it's about time that we actually start calculating some statistics.

Â So these statistics can be used for a variety of different reasons, but

Â they are often used for performing inference.

Â And so for example, suppose that we want to know,

Â is the average height of a child equal to 70 inches?

Â So if we wanted to check that out, what we could do is we could take the observations

Â that we've collected for a set of children.

Â We could take their average, and then we could just take the difference from that

Â average that we've got in our sample, to the value that we care about, 70.

Â And so this, in some ways, quantifies how close we are.

Â But the problem is, it quantifies it on a scale that's not standardized.

Â So in this case, the distance X bar- 70 might be one thing for

Â inches, but for centimeters, or something else, it might be different.

Â So we want to put things on a common scale.

Â And the reason why we want to put things on a common scale,

Â is that way we can interpret them well.

Â Just like with temperature, you want it to be on a scale that's interpretable to you.

Â You want to similarly put statistics on an interpretable scale.

Â So one way that you can do that,

Â is you can measure things in units of variability.

Â And so one way that you could do that, is again, we take this difference, X bar- 70.

Â So that's the distance from the value that we think it might be.

Â So this might be, for example, the null hypothesis value.

Â In that case, we can divide this difference by substandardization unit.

Â And so in this case, we're going to divide by the square root of the sample

Â variance / the square root of n.

Â And that tells you something about how many sort of variance units,

Â how many standard deviation units you see the difference to be.

Â And so once you standardize,

Â you can make comparisons to sort of standard distributions.

Â And you can make it easier to actually calculate probabilities of observing say,

Â a statistic that extreme,

Â if the data really are drawn from a distribution that has a mean of 70.

Â When you have multiple samples, you can have a similar relationship.

Â So suppose that you have one sample that has X values,

Â and one sample that has Y values.

Â You can take the average of each of the two samples.

Â And you can get an estimate of the variability in each of the two samples.

Â You can then calculate what's probably the most commonly used statistic,

Â which is the T-statistic.

Â But again you want to standardize,

Â because recall this example where you have a gene that you're looking for

Â differences between that gene, between two groups that are denoted by colors.

Â So here, you see that there might be a difference between the two groups, but

Â the variability makes it difficult to decide.

Â Whereas here,

Â the two groups are definitely different from each other for Gene 2.

Â And for Gene 3, they might be different from each other, but

Â the difference might be small.

Â So again, what you might do is calculate a statistic that's the average in group one-

Â the average in group two.

Â And then you standardize by something like their average variability.

Â So by doing this, you're again trying to put things on the standardized scale where

Â you can compare things.

Â And so this is the T-statistic that's widely used across a large

Â number of statistical analyses.

Â But something that happens a lot when you're doing a regression model

Â is that you don't necessarily calculate the T-statistic, and

Â that way what you do is you fit a regression model.

Â And you get an estimate for this b value.

Â So you get b hat, which is the estimate for that value from our regression model,

Â and then you divide by an estimate of the variability of that.

Â So again, we're doing the same sort of thing that we did before.

Â We're calculating an estimate of the variability, and

Â dividing the estimate of the distance.

Â So here, what is the distance?

Â Well, if you have b hat, and you're subtracting something,

Â since they're not subtracting anything, you're subtracting 0.

Â So this statistic is quantifying the difference from 0 of this b hat value,

Â in the units of variability that are appropriate for that scale.

Â But something that often happens in genomic experiments is you get things like

Â this, where you get differences that might be real, but

Â there's a super tiny variability.

Â So when you get that, you sometimes get the statistic to blow up.

Â So if you just divide it by this estimate of variability, that estimate can be very,

Â very tiny, if you have results that are very not variable.

Â That often happens when you're near the limit of detection, for example.

Â And so one way that people have tried to deal with that is by using

Â various different kinds of empirical based procedures.

Â The simplest one of those is just to add a small positive

Â constant to the variability of every statistic in the denominator.

Â There are different ways, and clever ways of calculating that statistic of

Â the constant to add to the statistic there.

Â But what you can see that does is, it prevents even if you have a very small

Â estimate of the standard error of the coefficient, you get still a sub-value,

Â a positive value here.

Â And so that this doesn't allow the T-statistic to get too large, and for

Â you to see really big statistics for

Â things that actually have relatively small effects between the two groups.

Â You can learn a lot more about T-statistics and linear model statistics,

Â sort of wall statistics for linear regression,

Â from this paper on linear regression models for microarray data.

Â The moderated statistics and the empirical based estimates of

Â how you actually make that denominator bigger are also covered in that paper.

Â You can also learn a lot more for this class about statistics and R for

Â the Life Sciences.

Â Coursera provides universal access to the worldâ€™s best education,
partnering with top universities and organizations to offer courses online.