Lower and upper bounds of correlation coefficient

3 次查看(过去 30 天)
What is the algorithm that MATLAB uses to estimate lower and upper bounds of the correlation coefficients when using:
[R,P,RL,RU] = corrcoef(___)
And is that equivalent to perform bootstrapping?

回答(1 个)

the cyclist
the cyclist 2023-5-1
You can look at the code of corrcoef by typing
edit corrcoef
In R2022b, the computation is done in lines 158-172.
I didn't find a particularly definitive source for that calculation, but I was able to find it in many places, e.g. here.
I don't think it is strictly equivalent to bootstrapping, but I expect that under typical assumptions (normality of something or other, limit of lots of data, etc) they are going to be close.

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by