2024-03-16

How do biology and statistics intersect?

Biology and statistics have lots of overlap!

Biological research often deals in the collection, organization, visualization, and analysis of data. To put meaning to recorded data, statistical methods, formulas, and modeling must be used.

In fact, there is a branch of statistics called biostatistics that deals in just that—testing hypotheses and interpreting experimental results.

Let’s look at some examples!

Height vs. Age of Loblolly Pine Trees

See how patterns are quickly revealed!

Heights of Black Cherry Trees

A bar graph like this might tell us about the range and mean heights of black cherry trees!

Box plot of Orange Tree Growth

Here’s a look into the growth of orange trees, examining the range, mean, and quartiles of five different trees!

Examples of commonly used statistical measures for interpreting data

Measures of Central Tendency: Mean, median, mode

Mean (discrete): \(\mu=E(X)=\sum P_{i}x_{i}\)

Mean (continuous): \(\mu=\int xf(x) dx\)

More measures…

Measures of Variability: Range, standard deviation, variance

Standard Deviation: \(\sigma=\sqrt{V(X)}=\sqrt{\sum_{i} P_{i}(x_{i} - \mu)^2}=\sqrt{\frac{\sum_{i} (x_{i} - \mu)^2}{n}}=\sqrt{\int (x-\mu)^{2}f(x) dx}\)

Variance (discrete): \(\sigma^{2}=V(X)=E[(X-\mu)^2]=\sum P_{i}(x_{i} -\mu)^2\)

Variance (continuous) \(\sigma^{2}=V(X)=E[(X-\mu)^2]=\int (x-\mu)^{2}f(x) dx\)

R commands to quickly view data and statistical measures (scroll!)

Example data: “trees” dataset in R dataset package

str(trees)
## 'data.frame':    31 obs. of  3 variables:
##  $ Girth : num  8.3 8.6 8.8 10.5 10.7 10.8 11 11 11.1 11.2 ...
##  $ Height: num  70 65 63 72 81 83 66 75 80 75 ...
##  $ Volume: num  10.3 10.3 10.2 16.4 18.8 19.7 15.6 18.2 22.6 19.9 ...
head(trees)
##   Girth Height Volume
## 1   8.3     70   10.3
## 2   8.6     65   10.3
## 3   8.8     63   10.2
## 4  10.5     72   16.4
## 5  10.7     81   18.8
## 6  10.8     83   19.7
summary(trees)
##      Girth           Height       Volume     
##  Min.   : 8.30   Min.   :63   Min.   :10.20  
##  1st Qu.:11.05   1st Qu.:72   1st Qu.:19.40  
##  Median :12.90   Median :76   Median :24.20  
##  Mean   :13.25   Mean   :76   Mean   :30.17  
##  3rd Qu.:15.25   3rd Qu.:80   3rd Qu.:37.30  
##  Max.   :20.60   Max.   :87   Max.   :77.00

Last slide

“Statistics can provide crucial information about different biological processes, related factors, disease occurrence, birth and mortality rate, degree at which an infection spreads and is recovered, the population at a given point in time, etc.” - Study.com

Thank you!