On the electronic structure and equation of state in high pressure studies of solids