Made statsmodel import backward compatible