How to get correlation coefficient between data with Monte Carlo?
Show older comments
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
Jeff Miller
on 27 Aug 2021
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?
Nazila Pourhajy
on 28 Aug 2021
Jeff Miller
on 29 Aug 2021
Sorry, I don't know how to help with that.
Nazila Pourhajy
on 29 Aug 2021
Answers (1)
KSSV
on 26 Aug 2021
0 votes
Read about regression, corr2, corrcoef.
1 Comment
Nazila Pourhajy
on 26 Aug 2021
Categories
Find more on Copula Distributions and Correlated Samples in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!