bootes - compare correlations

版本 2.0.0 (2.0 KB) 作者: Simone Di Plinio
bootes is specifically designed to be used by cognitive neuroscientists to compare correlations among experimental conditions.
105.0 次下载
更新时间 2023/1/13

查看许可证

% The function compares the magnitude of correlations between a covariate "c" and
% the dependent variable "d" across the experimental conditions A and B.
% The difference between the two bootstrapped ("k" cycles) z-distributions of correlations in
% the conditions A and B is estimated as the effect size (Cohen's d).
% Input data should be the dependent variable (e.g., brain activity in a certain
% region, for each subject) and the associated covariate (e.g., reaction times
% during the experiment, for each subject).
% Suggestion: implement different k to ensure a costant value of es.
% INPUTS:
% dA, dB -> Dependent variable (column vectors)
% cA, cB -> Associated covariate (column vectors)
% OPTIONAL: k -> Number of cycles (1000 by default)
% OPTIONAL: do_fig -> Want the figure? 1=yes, 0=no=default
%
% OUTPUTS
% es -> effect size
% IF YOU USE THIS SCRIPT YOU MAY WANT TO LOOK AT / CITE:
% Di Plinio, S (2022). Testing the magnitude of correlations across experimental conditions. Frontiers in Psychology, 13:860213. https://doi.org/10.3389/fpsyg.2022.860213

引用格式

Di Plinio, S (2022). Testing the magnitude of correlations across experimental conditions. Frontiers in Psychology, 13:860213. https://doi.org/10.3389/fpsyg.2022.860213

MATLAB 版本兼容性
创建方式 R2018a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Multimodal 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
2.0.0

- Possibility to have an illustrative plot.
- Updated Reference

1.0.1

figure on!

1.0.0