For renters, buying a home pays off after three years on average