r_test_paired

Tests hypothesis that 2 variables are equally correlated with a 3rd if values from all 3 are paired

You are now following this Submission

This simple function tests the null hypothesis that two variables are equally linearly correlated with a third variable when all three sets of observations were derived from the same "individuals" (i.e., a repeated measures/paired observations design). The test uses a t-distribution and was taken from:
Williams, E. J. (1959) The comparison of regression variables. Journal of the Royal Statistical Society: Series B, 21, 396-399.

It is one of the tests recommended for this situation by:
Steiger, J. H. (1980) Tests for comparing elements of a correlation matrix. Psychological Bulletin. 87(2), 245-251.

This function relies upon the MATLAB functions corr.m and cdf.m.

Cite As

David Groppe (2026). r_test_paired (https://se.mathworks.com/matlabcentral/fileexchange/25984-r_test_paired), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Typo fixed in function description.

1.0.0.0