Effect Of Pressure On The Thermodynamics Of Rare Earth Compounds