Density error corrects EAS to TAS requires density altitude, Zd. Compressibility error corrects CAS to EAS and this will vary with pressure altitude, Zp.