. sysuse auto, clear (1978 Automobile Data)
. . pcorrmat price mpg weight, part(foreign) sig partial correlations controlled for foreign
price mpg weight price 1.000 p 0.000 mpg -0.531 1.000 p 0.000 0.000 weight 0.706 -0.775 1.000 p 0.000 0.000 0.000
.