Seems a very ambiguous question. It depends on the aircraft type and on the circumstances.
In icing conditions the ASI would be adversely affected due to lack of pitot heat.
A magnetic compass is swung with certain electrical equipment turned on, so when the electric power fails the calibration...