Calculate performance measures
(
)