Lower and upper bounds of correlation coefficient

4 Ansichten (letzte 30 Tage)
Enrico Camporeale
Enrico Camporeale am 1 Mai 2023
Beantwortet: the cyclist am 1 Mai 2023
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?

Antworten (1)

the cyclist
the cyclist am 1 Mai 2023
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.

Produkte


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by