Methods of calculating probability