How to get correlation coefficient between data with Monte Carlo?

Hi everyone:
I have a input data matrix with 10 columns. I want to calculate the correlation coefficient between each column of input data matrix and target data vector with Monte Carlo.But I dont know what to do. Please help me. Thanks.

4 Comments

It isn't clear what you are trying to do. "with Monte Carlo" just means that randomness will somehow enter into your correlation calculations. What exactly are you thinking will vary randomly?
I am trying to obtain the correlation coefficient between the data with GCA and Copula and Monte Carlo methods to confirm the correctness of the correlation coefficients obtained with GCA. But the correlation coefficients obtained with GCA are different from the coefficients obtained from the Copula. That's why I want to test the correlation coefficients with Monte Carlo as well.
Sorry, I don't know how to help with that.

Sign in to comment.

Answers (1)

Read about regression, corr2, corrcoef.

1 Comment

I have information about these cases. What does this have to do with the Monte Carlo simulation? If you have information about the Monte Carlo method, please explain clearly and unambiguously. Thankful.

Sign in to comment.

Asked:

on 26 Aug 2021

Commented:

on 29 Aug 2021

Community Treasure Hunt

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

Start Hunting!