Resolving statistical uncertainty in correlation dimension estimation