Analysis of the correlation dimension for inertial particles