1) Becoming a Force ghost was about compassion and letting go. Keep in mind that Qui-gon never "learned" how to do it, either - it came as a result of his actions.
2) As to actions, Anakin a) was created by the Force and was the Chosen One, b) committed a tremendous act of compassion and self-sacrifice, and c) in doing so, fulfilled the prophecy and balanced the Force [presumably the whole reason for his existence in the first place.]