permutation p value for Pearson's correlation

2 ビュー (過去 30 日間)
Mika
Mika 2012 年 5 月 16 日
回答済み: Ravichandran Rajkumar 2020 年 3 月 25 日
[originally posted two days ago in the newsgroup]
Dear all,
The corr help file says that, "corr computes p-values for Pearson's correlation using a Student's t distribution for a transformation of the correlation. This correlation is exact when X and Y are normal. corr computes p-values for Kendall's tau and Spearman's rho using either the exact permutation distributions (for small sample sizes), or large-sample approximations."
I need a p value for Pearson's correlation between X and Y that are not normally distributed. Does Matlab have a built-in for computing a permutation p value for Pearson's correlation, or do I need to write my own function for this?
Thanks for your help.

回答 (1 件)

Ravichandran Rajkumar
Ravichandran Rajkumar 2020 年 3 月 25 日
this function may help you https://de.mathworks.com/matlabcentral/fileexchange/34920-mult_comp_perm_corr

カテゴリ

Help Center および File ExchangeProbability Distributions and Hypothesis Tests についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by