Correlation between two datasets

12 ビュー (過去 30 日間)
Austin Gonzalez
Austin Gonzalez 2016 年 5 月 12 日
コメント済み: DIPTI MISHRA 2020 年 7 月 1 日
Hello, I have two data sets that I'd like to have some measure of similarity between them. The two plots are http://i.imgur.com/Oa0BNWv.png http://i.imgur.com/Ti3LcVm.png
I have two [x,y] sets. The two sets are not the same size. I, admittedly, don't have much of a clue of what to do. The two pictures appear visually similar, I'd like a way to define this.
  1 件のコメント
DIPTI MISHRA
DIPTI MISHRA 2020 年 7 月 1 日
Can anyone suggest me how to plot the distribuation for complete dataset?
Actually I want to check the similarity between two image datasets.

サインインしてコメントする。

回答 (3 件)

Ahmet Cecen
Ahmet Cecen 2016 年 5 月 12 日
編集済み: Ahmet Cecen 2016 年 5 月 12 日
There are 3 ways I am aware of that you can do this:
  1. You find a way to make them have the same number of points and use the Pearson Product Moment Coefficient.
  2. You find a way to fit some distribution to them, maybe the x and y components independently, and compare the fit parameters, maybe with a t-test for statistical significance.
  3. You find a way to grid your data, which might involve rounding etc, but you need to have a say 1000x1000 matrix with 1s where there is a data point, which when you use imagesc to plot should give you an image similar to the plots you shared. In this case you can use a convolution to obtain some measure of similarity.
Without knowing more about your data, this is all I can suggest.
  6 件のコメント
Austin Gonzalez
Austin Gonzalez 2016 年 5 月 13 日
Could you explain how to use a convolution?
Ahmet Cecen
Ahmet Cecen 2016 年 5 月 13 日
Upload a pair of example datasets, I can show you then. Otherwise will take too long to explain.

サインインしてコメントする。


Image Analyst
Image Analyst 2016 年 5 月 12 日
You might take a look at "the bible" for analyzing spatial point patterns - the book by Adrian Baddeley of CSIRO: http://umaine.edu/computingcoursesonline/files/2011/07/SpatstatmodelingWorkshop.pdf This is the authoritative reference on the topic.

Image Analyst
Image Analyst 2016 年 5 月 14 日
You will find lots of algorithms if you search on "point matching algorithms":

カテゴリ

Help Center および File ExchangeCorrelation and Convolution についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by