I would like to propose paper about ID3 and it's successors, generally about Decision Tree Algorithms.
Using Mean, Median, Mode etc. is very tempting and it works to some degree, but of course the outcome depends on values inserted to missing (NA) data.
Mean has nice property in many statistics that it just acts like missing value, but increases weight of other ones (since it changes nothing, other values are counted with +1/N weight).
But in decision trees the effect is bigger, changing the classifier, so there is one big idea - apply all possible missing values :-/.
There are also three easier techniques:
- apply mean and do not care
- reconstruct data to fit classifier better (very often trial and error, but due to discretization of continous data, only values that differ by multiplicity of $\epsilon$ are to be checked)
- try to reconstruct data
The last one should yield the best results, but it is not always possible, and still these are not exact values.
If you can predict the most probable value and replace missing ones - this is the best way to do it.