pcorrmat

Author: Maarten L. Buis

Stata program displaying a matrix of partial correlations that are controlled for a fixed set of covariates. To install type within Stata ssc install pcorrmat.

Supporting materials

Example

. 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

.

[do-file]