The chances of mammary cancer is an unspayed dog is 26%. If spayed before the first heat cycle it is only 0.5%. If one waits til after the first heat the chances increases to 8%.
This is probably higher for yorkies since small breeds are more prone to cancer.
http://www.vet.upenn.edu/schoolresou...43/canine.html