hello,can you help me to generate a combination graph, thank you !
Through the above command, I have generated a graph and a table. Can the values of the correlation coefficients of the table be placed in the upper right part of the matrix graph? I know that R can do it, but I don’t know how to use stata to achieve this? The following is my target graph, the upper right part is the value of the correlation coefficient matrix, and the lower left part is the correlation matrix graph
Code:
sysuse auto,clear graph matrix mpg weight length price headroom gear_ratio, half // generate a matrix graph pwcorr mpg weight length price headroom gear_ratio, star(.01) bonferroni // generate correlation coefficient matrix ,then combine them to one graph
Comment