Borrar filtros
Borrar filtros

Lower and upper bounds of correlation coefficient

3 visualizaciones (últimos 30 días)
Enrico Camporeale
Enrico Camporeale el 1 de Mayo de 2023
Respondida: the cyclist el 1 de Mayo de 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?

Respuestas (1)

the cyclist
the cyclist el 1 de Mayo de 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.

Productos


Versión

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by