Test whether matrixes are equal

  • Context: Undergrad 
  • Thread starter Thread starter fer2000
  • Start date Start date
  • Tags Tags
    Test
Click For Summary
SUMMARY

This discussion focuses on statistical methods to analyze attraction and repulsion between items in a dataset. The proposed approach involves constructing a vector and matrix representation of the attraction values, followed by applying Principal Component Analysis (PCA) to identify significant interactions. Specifically, the method utilizes a distance metric on R^(n*n) to quantify changes in attraction over time and evaluates eigenvalues to determine principal attractions among subsets of items. The discussion emphasizes the importance of ensuring positive eigenvalues for meaningful interpretations of the results.

PREREQUISITES
  • Understanding of matrix representation and operations in R
  • Familiarity with Principal Component Analysis (PCA)
  • Knowledge of eigenvalues and eigenvectors in linear algebra
  • Basic concepts of attraction and repulsion metrics in statistical analysis
NEXT STEPS
  • Research "Principal Component Analysis (PCA) in R" for practical implementation
  • Explore "Eigenvalues and Eigenvectors in linear algebra" for deeper understanding
  • Study "Distance metrics in R^(n*n)" to quantify changes in attraction
  • Investigate "Statistical tests for comparing subsets of data" for hypothesis testing
USEFUL FOR

Data scientists, statisticians, and researchers analyzing complex interactions in datasets, particularly those interested in attraction and repulsion dynamics among items.

fer2000
Messages
7
Reaction score
0
Hello everybody!

I have a large set of items and, two-by-two, there exists some kind of attraction/repulsion that I have measured.
Under different circumstances this attraction/repulsion changes.
So, what kind of statistical/mathematical procedure can I use to test whether the changes (for the whole set) are “large/small”?
If I want to test whether in a subset of them (lets say the first ten items) the attraction is larger than in another subset (lets say the last ten items), how can I do it?.

Thanks in advance
 
Physics news on Phys.org
1) If A is your set of n items, For (a1, a2) in AxA and a date t in R, att(a1, a2, t) in R gives the attraction (>0) or repulsion (<0) between a1 and a2 at date t.

Build a vector V in AxA that spans all possible (a1, a2) with a1 and a2 both in A. V = (v1, ..., vn*n).

Now for each t in R, you can define Wt in R^(n*n) so that Wt = (w1, ..., wn*n) and for i in [1; n*n], wi = att(ax, ay, t) with vi = (ax, ay).

A metric to reveal the attraction changes can be a distance on R^(n*n).It will tell you how far apart are two elements Wt1 and Wt2: how big was the interaction change.

2) For the second part you fix t.
Instead of a vector V you build a matrix M with an element of A indexing each column and an element of A indexing each row, and the distance between these elements in the cases.
M is in Rn,n.
You take the PCA of M and you make sure the eigenvalues are > 0. The eigenvalues you end up with represent principal attractions in the whole set. For each principal attraction, the corresponding eigenvector is a linear combination of some items, and the coefficient for each item in this linear combination tells you to what extent this item is concerned by this attraction, and in which direction (if the coef is <0 the item is repulsed).

So the items present in the eigenvalue corresponding to the largest eigenvector are those who interact the most, and among them the ones with the biggest coefficient are the ones that contribute the most to this interaction.

Note well: this is merely intuitive and I didn't prove anything..
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 39 ·
2
Replies
39
Views
5K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
3K
  • · Replies 32 ·
2
Replies
32
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K