Statistics for The integrated Sachs-Wolfe effect with Planck and the 2Mass Photometric Redshift Catalogue