Frydenberg confident of avoiding recession