r_test_paired
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.
Citar como
David Groppe (2024). r_test_paired (https://www.mathworks.com/matlabcentral/fileexchange/25984-r_test_paired), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.