Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • correlation matrix set-up help

    I'm trying to create a correlation matrix using the 'correlate var1 var2 var3...' command.

    I've got a dataset with a lot of variables. When I use that command for all of them, obviously, it is a huge table of results.

    9 of the total variables are my key variables of interest. I'm trying to see if there is any multicollinearity between these variables and any of the peripheral variables in the dataset.

    Is there any way I can get the correlation matrix for each of the 9 variables against the peripheral variables, instead of finding the correlation matrix for all the variables against all the variables?

    Many thanks

  • #2
    https://www.statalist.org/forums/for...e-correlations especially #3

    cpcorr is thus revealed as an otherwise unpredictable search term.

    Comment


    • #3
      Nick Cox perfect, thank you

      Comment

      Working...
      X