The calculation of partial correlation involves several steps:
1. Calculate the correlation coefficients between each pair of variables. 2. Use these coefficients in a formula to compute the partial correlation, which removes the effect of the control variables.