Save before you get the egg. Hatch the egg. If its the nature you want keep it. If not turn off and hatch the egg again. The stats of an egg are calculated when you get it. If you save before it hatches, no matter how many time you turn off and try again the result will be the same.