Star formation : statistical measure of the correlation between the prestellar core mass function and the stellar initial mass function