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
Related Posts with correlation matrix set-up help
Import multiple CSV filesHi I am trying to import multiple CSV files in a foreach loop. I saved the filenames in the local n…
Lineear mixed model/Repeated measure modelHi all, Can we add "timepoint" as a random slope or covariate in Linear mixed model? Here we have 8…
How to run Stata Codes in Mac nvim?Dear all, I want to run Stata codes in nvim. I have set the init.config file below. Code: call plu…
generating compatible ID variablesDear Stata listers, I'm running Stata 17.0. I have several (7) datasets that I would like to merge…
How to drop the mtitle row in esttab ?In esttab, when I did not specify mtitle, STATA will automatically create a row for title similar to…
Subscribe to:
Post Comments (Atom)
0 Response to correlation matrix set-up help
Post a Comment