Suppose you want to calculate the partial correlation between catalyst ratio and rating of wrinkle resistance, removing the effect of formaldehyde concentration:
Regress rating on formaldehyde concentration and store the residuals.
Choose Stat > Regression > Regression > Fit Regression Model.
In Responses, enter Rating. In Continuous
predictors, enter Conc.
Click Storage, and check Residuals. Click OK in each dialog box.
Regress catalyst ratio on formaldehyde concentration and store the residuals.
Choose Stat > Regression > Regression > Fit Regression Model.
In Responses, enter Ratio. In Continuous
predictors, enter Conc.
Click OK.
Calculate the correlation coefficient for the two columns of residuals.
Choose Stat > Basic Statistics > Correlation.
In Variables, enter RESI1 and RESI2. Click OK.
The result is 0.765, which indicates that a strong linear relationship remains between catalyst ratio and rating of wrinkle resistance after the linear relationships between these variables and formaldehyde concentration have been removed.