Hmm... Here is just a suggestion to start things off:

HP: Less than 30 = -1 to Def. More than 120 = +1 to Def.
Spd: Less than 30 = -1 to Atk. More than 120 = +1 to Atk.

The above is just to start things up. More playtesting is required for adjustments. And more levels can be added if necessary.

-Malphis Droma, dropping in with his thoughts