There are simple algorithms to calculate median , mean ( statistics ) , standard deviation etc. from these tables . There are simple algorithms to calculate median , mean , standard deviation etc. from these tables .