Are we talking about quadrantal error, or something else? If QE, then it is not quite as Dan's eloquent explanation would suggest. Quadrantal error is caused by the presence of the aircraft in the electromagnetic field of the NDB transmission and is specific to individual aircraft. If you want to be really precise you can even draw up a QE correction chart.