Paired Comparision Tests - Mean Differences When Populations are Not Independent

In the above cases, we assumed that the samples are independent. However, sometimes the samples may not be independent.

If the samples are not independent, a test of mean difference is done using paired observations. Such a test is called paired comparison test.

  1. H0: µd = µd0 versus HA: µd ≠ µd0
  2. H0: µd ≤ µd0 versus HA: µd > µd0
  3. H0: µd ≥ µd0 versus HA: µd < µd0

In the first hypothesis we want to test if the mean of the differences in pairs is zero.

µd is the mean of the population of paired differences.

µd0 is the hypothesized value of mean of paired differences. This is usually assumed to be zero.

Calculating t-statistic

To calculate the t-statistic, we first need to find the sample mean difference:

The sample variance is:

The standard deviation of the mean is:

The test statistic, with n – 1 df is:

Related Downloads

Related Quizzes

Hypothesis Testing

Data Science in Finance: 9-Book Bundle

Data Science in Finance Book Bundle

Master R and Python for financial data science with our comprehensive bundle of 9 ebooks.

What's Included:

  • Getting Started with R
  • R Programming for Data Science
  • Data Visualization with R
  • Financial Time Series Analysis with R
  • Quantitative Trading Strategies with R
  • Derivatives with R
  • Credit Risk Modelling With R
  • Python for Data Science
  • Machine Learning in Finance using Python

Each book includes PDFs, explanations, instructions, data files, and R code for all examples.

Get the Bundle for $39 (Regular $57)
JOIN 30,000 DATA PROFESSIONALS

Free Guides - Getting Started with R and Python

Enter your name and email address below and we will email you the guides for R programming and Python.

Data Science in Finance: 9-Book Bundle

Data Science in Finance Book Bundle

Master R and Python for financial data science with our comprehensive bundle of 9 ebooks.

What's Included:

  • Getting Started with R
  • R Programming for Data Science
  • Data Visualization with R
  • Financial Time Series Analysis with R
  • Quantitative Trading Strategies with R
  • Derivatives with R
  • Credit Risk Modelling With R
  • Python for Data Science
  • Machine Learning in Finance using Python

Each book comes with PDFs, detailed explanations, step-by-step instructions, data files, and complete downloadable R code for all examples.