Descriptive Statistics, Hypothesis Testing, and Inferential Analyses in Biology

Introduction to Biological Data and Central Tendency

  • Population Distributions and Sample Size:

    • Biological data ideally forms a symmetrical bell-shaped curve (normal distribution) when representing a whole population.

    • Small sample sizes tend to produce jagged, uneven frequency distributions with high variability.

    • Increasing sample sizes smooths out data fluctuations, yielding a representative bell curve.

  • Sample Data Structure (Walleye Length Example):

    • Variable measured: Walleye (Sander vitreus) length.

    • Unit of measurement: Centimeters (cmcm).

    • Data organization: Structured in tabular format (rows and columns) across two distinct locations:

      • Oneida Lake

      • Delta Lake

  • Role of Descriptive Statistics:

    • Descriptive statistics summarize and highlight key patterns within a dataset.

    • Primary analytical objectives:

      1. Determine the center of the dataset (central tendency / peak of the bell curve).

      2. Quantify the dispersion or spread of the data around that center.

  • Measures of Central Tendency:

    • Mode:

      • Definition: The most frequently occurring observation in a dataset.

      • Represents the highest peak of a frequency distribution curve.

      • Less frequently emphasized in basic biological descriptive statistics.

    • Median:

      • Definition: The exact middle value in an ordered dataset.

      • Represents the 50th50\text{th} percentile point where 50%50\% of observations lie below and 50%50\% lie above.

    • Mean (Sample Average, xˉ\bar{x}):

      • Definition: The arithmetic average of all observations in a sample.

      • Symbol: Variable xx with an overbar (xˉ\bar{x}).

      • Mathematical Formula:             xˉ=i=1nxin\bar{x} = \frac{\sum_{i=1}^{n} x_i}{n}             where xi\sum x_i is the sum of all individual observations and nn is the total sample size.

  • Calculation of Means for Walleye Data:

    • Oneida Lake Dataset:

      • Sum of length measurements (x\sum x): 774cm774\,cm

      • Sample size (nn): 1010

      • Sample Mean Calculation:             xˉOneida=774cm10=77.4cm\bar{x}_{\text{Oneida}} = \frac{774\,cm}{10} = 77.4\,cm

    • Delta Lake Dataset:

      • Sum of length measurements (x\sum x): 704cm704\,cm

      • Sample size (nn): 1010

      • Sample Mean Calculation:             xˉDelta=704cm10=70.4cm\bar{x}_{\text{Delta}} = \frac{704\,cm}{10} = 70.4\,cm

    • Comparative Conclusion: On average, walleye sampled from Oneida Lake (77.4cm77.4\,cm) are longer than those sampled from Delta Lake (70.4cm70.4\,cm).

Measures of Data Dispersion: Variance and Standard Deviation

  • Importance of Quantifying Spread:

    • Two distinct datasets can share an identical measure of central tendency (e.g., xˉ=50\bar{x} = 50) while possessing entirely different shapes and spreads:

      • Narrow, steep curve with minimal variation around the mean.

      • Moderate curve with moderate dispersion.

      • Broad, flat curve with high dispersion spread widely across the scale.

    • Evaluating central tendency alone is insufficient to describe a biological population.

  • Sample Variance (s2s^2):

    • Definition: The average squared deviation of each observation from the sample mean.

    • Purpose: Measures the absolute spread of data points relative to the mean center.

    • Units: Units are squared relative to original measurements (e.g., cm2cm^2).

    • Mathematical Formula:         s2=i=1n(xixˉ)2n1s^2 = \frac{\sum_{i=1}^{n} (x_i - \bar{x})^2}{n - 1}

    • Component breakdown:

      • x1,x2,,xnx_1, x_2, \dots, x_n: Individual observations.

      • xˉ\bar{x}: Calculated sample mean.

      • n1n - 1: Degrees of freedom (for n=10n = 10, denominator is 101=910 - 1 = 9).

      • Expanded numerator calculation: (x1xˉ)2+(x2xˉ)2++(xnxˉ)2(x_1 - \bar{x})^2 + (x_2 - \bar{x})^2 + \dots + (x_n - \bar{x})^2.

  • Sample Standard Deviation (ss):

    • Definition: The square root of the sample variance.

    • Purpose: Converts the measure of dispersion back into original measurement units (e.g., cmcm instead of cm2cm^2) for intuitive interpretation.

    • Mathematical Formula:         s=s2=i=1n(xixˉ)2n1s = \sqrt{s^2} = \sqrt{\frac{\sum_{i=1}^{n} (x_i - \bar{x})^2}{n - 1}}

  • Calculations for Walleye Standard Deviation:

    • Oneida Lake:

      • Sum of squared deviations ((xixˉ)2\sum (x_i - \bar{x})^2): 398.4398.4

      • Sample Variance (s2s^2):             s2=398.4101=398.4944.3cm2s^2 = \frac{398.4}{10 - 1} = \frac{398.4}{9} \approx 44.3\,cm^2

      • Sample Standard Deviation (ss):             s=44.3cm26.65cms = \sqrt{44.3\,cm^2} \approx 6.65\,cm

      • Rounding: Depending on significant figure rules, 6.65cm6.65\,cm can be rounded to 7cm7\,cm (using 1 significant digit) or kept at 6.65cm6.65\,cm (using 2 decimal places).

    • Delta Lake:

      • Sample Variance (s2s^2): 40.9cm240.9\,cm^2

      • Sample Standard Deviation (ss):             s=40.9cm26.39cms = \sqrt{40.9\,cm^2} \approx 6.39\,cm

  • Tabular Presentation of Data:

    • Complete descriptive reporting requires structuring data tables with clear titles, labelled columns, raw values, calculated sample means (xˉ\bar{x}), and sample standard deviations (ss).

Principles of Scientific Hypotheses

  • Role of Hypotheses in the Scientific Method:

    • Following data collection, experiments evaluate formal statements regarding observed patterns.

    • Scientific testing requires establishing two distinct, opposing hypotheses.

  • Alternative Hypothesis (HaH_a):

    • Definition: Proposes a specific relationship, effect, or difference between factors being investigated.

    • Criteria: Must be a clear declarative statement, testable, and falsifiable.

    • Notation: Symbolized as HaH_a.

    • Examples:

      • Walleye Study: Walleye length is larger in Oneida Lake than in Delta Lake (Ha:μOneidaμDeltaH_a: \mu_{\text{Oneida}} \neq \mu_{\text{Delta}}).

      • Bacterial Inhibition Study: Garlic extract creates a zone of bacterial inhibition that differs from that of water.

  • Null Hypothesis (H0H_0):

    • Definition: Proposes that there is no relationship, no effect, and no difference between the experimental groups being compared.

    • Criteria: Must be testable and falsifiable.

    • Notation: Symbolized as H0H_0 (subscript zero/null).

    • Examples:

      • Walleye Study: There is no difference in the size of walleye between Oneida Lake and Delta Lake (H0:μOneida=μDeltaH_0: \mu_{\text{Oneida}} = \mu_{\text{Delta}}).

      • Bacterial Inhibition Study: There is no difference in bacterial growth inhibition between garlic extract and water (H0:μgarlic=μwaterH_0: \mu_{\text{garlic}} = \mu_{\text{water}}).

Statistical Hypothesis Testing and Decisions

  • Foundational Testing Logic:

    • The null hypothesis (H0H_0) serves as the default statistical baseline.

    • H0H_0 is presumed true unless empirical evidence and statistical tests compel its rejection.

    • The primary objective of inferential statistical analysis is to determine whether to reject H0H_0.

  • Mandatory Terminology for Conclusions:

    • "Reject the null hypothesis": Concluded when data demonstrates a statistically significant difference between groups.

    • "Fail to reject the null hypothesis": Concluded when empirical evidence is insufficient to demonstrate a significant difference.

    • Critical Distinction: "Failing to reject H0H_0" is not equivalent to proving H0H_0 true or correct; it merely indicates a lack of sufficient statistical evidence to disprove it.

  • Overview of Common Inferential Statistical Tests:

    • Regression and Correlation: Evaluates relationships and predictive trends between continuous variables.

    • Two-Sample tt-test: Compares means between two discrete sample groups (primary focus of biological sample analyses).

    • ANOVA (Analysis of Variance): Compares means across three or more sample groups.

    • Chi-Square (χ2\chi^2) Test: Evaluates categorical data frequency distributions (frequently applied in genetics).

    • Logistic Regression: Models categorical or binary outcomes.

  • General Experimental Workflow:

    1. Collect observational or experimental data (e.g., bacterial inhibition zones from garlic vs. water treatments).

    2. Calculate descriptive statistics (mean xˉ\bar{x}, variance s2s^2, standard deviation ss).

    3. Compute test statistics (e.g., tt-value) using computational software (Excel) to prevent manual calculation error.

    4. Extract probability values (pp-value) to formulate formal conclusions.

Probability Values and Interpretation of Statistical Significance

  • Probability Value (pp-value):

    • Definition: The probability of obtaining an observed difference between groups purely due to random sampling chance, assuming the null hypothesis is true.

    • Range: pp-values range continuously between 00 and 11.

  • Standard Significance Threshold (Alpha Level, α\alpha):

    • By scientific convention, the significance cutoff threshold is set at α=0.05\alpha = 0.05 (5%5\% probability of random chance).

  • Decision Rules for Statistical Hypothesis Testing:

    • Condition 1: p<0.05p < 0.05

      • Decision: Reject the null hypothesis (H0H_0).

      • Conclusion: There is a statistically significant difference between the group means being compared.

      • Interpretation: The likelihood that the observed difference occurred purely by random chance is less than 5%5\%.

    • Condition 2: p0.05p \ge 0.05

      • Decision: Fail to reject the null hypothesis (H0H_0).

      • Conclusion: There is no statistically significant difference between the group means being compared.

      • Interpretation: Any observed numerical difference is attributable to random sampling variability.

  • Hypothesis Formulation for tt-Tests:

    • General Two-Sample Null Hypothesis: H0:xˉ1=xˉ2H_0: \bar{x}_1 = \bar{x}_2

    • General Two-Sample Alternative Hypothesis: Ha:xˉ1xˉ2H_a: \bar{x}_1 \neq \bar{x}_2

    • Walleye Specific Application:

      • H0H_0: The mean walleye length in Oneida Lake is equal to the mean walleye length in Delta Lake (xˉOneida=xˉDelta\bar{x}_{\text{Oneida}} = \bar{x}_{\text{Delta}}).

      • HaH_a: The mean walleye length in Oneida Lake is not equal to the mean walleye length in Delta Lake (xˉOneidaxˉDelta\bar{x}_{\text{Oneida}} \neq \bar{x}_{\text{Delta}}).

    • Bacterial Inhibition Application:

      • H0H_0: The mean bacterial inhibition zone around garlic is equal to the mean inhibition zone around water (xˉgarlic=xˉwater\bar{x}_{\text{garlic}} = \bar{x}_{\text{water}}).

      • HaH_a: The mean bacterial inhibition zone around garlic is not equal to the mean inhibition zone around water (xˉgarlicxˉwater\bar{x}_{\text{garlic}} \neq \bar{x}_{\text{water}}).

  • Sample Output Metrics:

    • Degrees of Freedom (dfdf): Calculated based on total sample sizes (n1+n22n_1 + n_2 - 2).

    • Calculated test statistic example: t=2.4t = 2.4.

    • Final conclusion is driven by whether the calculated tt-statistic yields a pp-value falling below the α=0.05\alpha = 0.05 critical threshold.