cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
%3CLINGO-SUB%20id%3D%22lingo-sub-797724%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMultivariate%20Correlation%20vs%20Multivariate%20Relationship%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-797724%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%20JMP%20Community%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20tried%20to%20check%20within%20the%20history%20of%20discussion%2C%20and%20I'm%20not%20able%20to%20find%20topics%20that%20is%20related%20to%20my%20inquiries.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELet%20me%20provide%20the%20background%3A%3C%2FP%3E%3CP%3E1.%20There%20is%205%20variables%20(A%2C%20B%2C%20C%2C%20D%2C%20E).%20I%20created%20these%20data%20for%20explanation%20purposes.%3C%2FP%3E%3CP%3E2.%20If%20I%20wanted%20to%20check%20if%20these%205%20variables%20are%20%22related%22%2C%20then%20we%20can%20use%20Multivariate%20options%20which%20provide%20the%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20correlation%20value.%3C%2FP%3E%3CP%3E3.%20The%20correlation%20value%20provided%20are%20based%20on%20linear%20relationship%20between%20the%20variables.%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20Example%20%3A%20B%20vs%20D%20%2C%20Correlation%20%3D%201.00.%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20Example%20%3A%20A%20vs%20C%20%2C%20Correlation%20%3D%200.00.%20However%20there%20is%20a%20relationship%20between%20A%20%26amp%3B%20C%20which%20is%20quadratic.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20question%20is%3A%3C%2FP%3E%3CP%3EIs%20there%20any%20statistical%20method%20that%20can%20provide%20a%20quick%20look%20into%20relationship%20(rather%20than%20correlation)%20between%3C%2FP%3E%3CP%3Evariables%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlternatively%2C%20I%20could%20perform%20the%20Fit%20Model%20manually%20with%20all%20the%20combination%20of%20the%20variables.%20But%20this%20is%20too%20time%20consuming.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EExample%20is%20to%20have%20same%20scatterplot%20matrix%20below%2C%20but%20with%20option%20to%20provide%20the%20P(value)%20from%20a%20Ftest%20(ANOVA)%20to%20check%20if%20there%20is%20relationship%20between%20the%20variables.%20Let's%20say%20up%20to%20quadratic%20term.%3C%2FP%3E%3CP%3EExample%20%3A%20B%20vs%20D%20%2C%20Correlation%20%3D%201.00%20%26amp%3B%20P(value)%20from%20F(test)%20is%20%26lt%3B0.0001%3C%2FP%3E%3CP%3EExample%20%3A%20A%20vs%20C%20%2C%20Correlation%20%3D%200.00%20%26amp%3B%20P(value)%20from%20F(test)%20is%20%26lt%3B0.0001%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20to%20advise.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EB.r%2C%3C%2FP%3E%3CP%3EChris%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Correlation%20vs%20Relationship.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Correlation%20vs%20Relationship.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Correlation%20vs%20Relationship.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F68116i896D3D73BAAC5559%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Correlation%20vs%20Relationship.png%22%20alt%3D%22Correlation%20vs%20Relationship.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-797724%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EAdvanced%20Statistical%20Modeling%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EBasic%20Data%20Analysis%20and%20Modeling%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-797753%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Multivariate%20Correlation%20vs%20Multivariate%20Relationship%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-797753%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F8769%22%20target%3D%22_blank%22%3E%40ChrisLooi%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20would%20recommend%20plotting%20the%20data%20like%20you%20did%20in%20order%20to%20find%20unusual%20patterns%20using%20the%20platform%20Multivariate.%20I%20also%20see%20(at%20least)%20two%20ways%20to%20identify%20complex%20relationships%2Fassociations%20between%20your%20variables%20%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EIn%20the%20Multivariate%20platform%2C%20you%20can%20also%20use%20different%20%3CA%20href%3D%22https%3A%2F%2Fwww.jmp.com%2Fsupport%2Fhelp%2Fen%2F18.0%2F%23page%2Fjmp%2Fstatistical-details-for-nonparametric-measures-of-association.shtml%23ww240573%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ENonparametric%20Measures%20of%20Association%3C%2FA%3E.%20Using%20a%20reproduction%20of%20your%20example%2C%20the%26nbsp%3BHoeffding's%20D%20test%20is%20able%20to%20spot%20the%20quadratic%20relationship%20between%20A%20and%20C%20%3A%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Capture%20d'%C3%A9cran%202024-09-11%20114848.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture%20d'%C3%A9cran%202024-09-11%20114848.png%22%20style%3D%22width%3A%20347px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F68119iF1DB445D4A322541%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Capture%20d'%C3%A9cran%202024-09-11%20114848.png%22%20alt%3D%22Capture%20d'%C3%A9cran%202024-09-11%20114848.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CP%3E%E2%80%83%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3EYou%20may%20also%20create%20a%20dummy%20response%20Y%20(no%20matter%20if%20it's%20fixed%20values%20or%20random%20values)%2C%20and%20based%20on%20terms%20introduced%20in%20the%20model%2C%20display%20the%20Variance%20Inflation%20Factors%20in%26nbsp%3B%3CA%20style%3D%22font-family%3A%20inherit%3B%20background-color%3A%20%23ffffff%3B%22%20href%3D%22https%3A%2F%2Fwww.jmp.com%2Fsupport%2Fhelp%2Fen%2F18.0%2F%23page%2Fjmp%2Fparameter-estimates.shtml%23%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EParameter%20Estimates%3C%2FA%3E%3CSPAN%3E%3CSPAN%3E%26nbsp%3Bpanel%20(right-click%20on%20the%20table%2C%20click%20on%20column%20and%20select%20VIF%20if%20they%20are%20not%20displayed%20by%20default).%26nbsp%3B%3CSPAN%3EHigh%20VIFs%20indicate%20a%20collinearity%20issue%20among%20the%20terms%20in%20the%20model.%3C%2FSPAN%3E%3CBR%20%2F%3EIn%20a%20reproduction%20of%20your%20example%2C%20visualizing%20the%20VIF%20(through%20their%20log%20values%2C%20because%20they%20are%20very%20high%20!)%20enable%20to%20identify%20possible%20collinearity%20issues%20%3A%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Victor_G_1-1726048546047.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Victor_G_1-1726048546047.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F68121iCA37E25D8E9994AA%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Victor_G_1-1726048546047.png%22%20alt%3D%22Victor_G_1-1726048546047.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CP%3ETerm%20AxA%2C%20A%20and%20C%20have%20very%20high%20VIF%20values%2C%20indicating%20a%20collinearity%20issue.%20Many%20other%20terms%20display%20VIF%20with%20large%20values%20(higher%20than%205-10)%2C%20so%20you%20can%20easily%20identify%20there%20are%20collinearity%20issues%20with%20this%20dataset.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3EI%20attached%20the%20dataset%20used%20to%20reproduce%20your%20use%20case.%20Please%20next%20time%20provide%20your%20example%20dataset%2C%20it%20will%20save%20some%20time%20and%20help%20people%20answer%20to%20you%20more%20easily.%3C%2FP%3E%0A%3CP%3EI%20hope%20these%20two%20options%20may%20be%20helpful%20for%20you%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
ChrisLooi
Level III

Multivariate Correlation vs Multivariate Relationship

Dear JMP Community,

 

I've tried to check within the history of discussion, and I'm not able to find topics that is related to my inquiries.

 

Let me provide the background:

1. There is 5 variables (A, B, C, D, E). I created these data for explanation purposes.

2. If I wanted to check if these 5 variables are "related", then we can use Multivariate options which provide the

    correlation value.

3. The correlation value provided are based on linear relationship between the variables.

    Example : B vs D , Correlation = 1.00.

    Example : A vs C , Correlation = 0.00. However there is a relationship between A & C which is quadratic.

 

My question is:

Is there any statistical method that can provide a quick look into relationship (rather than correlation) between

variables?

 

Alternatively, I could perform the Fit Model manually with all the combination of the variables. But this is too time consuming. 

 

Example is to have same scatterplot matrix below, but with option to provide the P(value) from a Ftest (ANOVA) to check if there is relationship between the variables. Let's say up to quadratic term.

Example : B vs D , Correlation = 1.00 & P(value) from F(test) is <0.0001

Example : A vs C , Correlation = 0.00 & P(value) from F(test) is <0.0001

 

Thanks to advise.

 

B.r,

Chris

 

Correlation vs Relationship.png

1 ACCEPTED SOLUTION

Accepted Solutions
Victor_G
Super User

Re: Multivariate Correlation vs Multivariate Relationship

Hi @ChrisLooi,

 

I would recommend plotting the data like you did in order to find unusual patterns using the platform Multivariate. I also see (at least) two ways to identify complex relationships/associations between your variables :

  1. In the Multivariate platform, you can also use different Nonparametric Measures of Association. Using a reproduction of your example, the Hoeffding's D test is able to spot the quadratic relationship between A and C :
    Capture d'écran 2024-09-11 114848.png

  2. You may also create a dummy response Y (no matter if it's fixed values or random values), and based on terms introduced in the model, display the Variance Inflation Factors in Parameter Estimates panel (right-click on the table, click on column and select VIF if they are not displayed by default). High VIFs indicate a collinearity issue among the terms in the model.
    In a reproduction of your example, visualizing the VIF (through their log values, because they are very high !) enable to identify possible collinearity issues :
    Victor_G_1-1726048546047.png

    Term AxA, A and C have very high VIF values, indicating a collinearity issue. Many other terms display VIF with large values (higher than 5-10), so you can easily identify there are collinearity issues with this dataset.

I attached the dataset used to reproduce your use case. Please next time provide your example dataset, it will save some time and help people answer to you more easily.

I hope these two options may be helpful for you,

Victor GUILLER
L'Oréal Data & Analytics

"It is not unusual for a well-designed experiment to analyze itself" (Box, Hunter and Hunter)

View solution in original post

1 REPLY 1
Victor_G
Super User

Re: Multivariate Correlation vs Multivariate Relationship

Hi @ChrisLooi,

 

I would recommend plotting the data like you did in order to find unusual patterns using the platform Multivariate. I also see (at least) two ways to identify complex relationships/associations between your variables :

  1. In the Multivariate platform, you can also use different Nonparametric Measures of Association. Using a reproduction of your example, the Hoeffding's D test is able to spot the quadratic relationship between A and C :
    Capture d'écran 2024-09-11 114848.png

  2. You may also create a dummy response Y (no matter if it's fixed values or random values), and based on terms introduced in the model, display the Variance Inflation Factors in Parameter Estimates panel (right-click on the table, click on column and select VIF if they are not displayed by default). High VIFs indicate a collinearity issue among the terms in the model.
    In a reproduction of your example, visualizing the VIF (through their log values, because they are very high !) enable to identify possible collinearity issues :
    Victor_G_1-1726048546047.png

    Term AxA, A and C have very high VIF values, indicating a collinearity issue. Many other terms display VIF with large values (higher than 5-10), so you can easily identify there are collinearity issues with this dataset.

I attached the dataset used to reproduce your use case. Please next time provide your example dataset, it will save some time and help people answer to you more easily.

I hope these two options may be helpful for you,

Victor GUILLER
L'Oréal Data & Analytics

"It is not unusual for a well-designed experiment to analyze itself" (Box, Hunter and Hunter)