Student loans

Would it be wise to change a federal student loan from the standard loan repayment to the income based repayment program to lower the monthly payment amount and invest the difference?