Prepayments on a Loan

/*--------------------------------------------------------------

                    SAS Sample Library

        Name: loaex03.sas
 Description: Example program from SAS/ETS User's Guide,
              The LOAN Procedure
       Title: Prepayments on a Loan
     Product: SAS/ETS Software
        Keys: fixed rate, adjustable rate, buydown,
              and balloon payment loans
        PROC: LOAN
       Notes:

--------------------------------------------------------------*/

proc loan start=1992:12 rate=8.25 amount=240000 life=360;
   fixed label='No prepayments';
   fixed label='With Prepayments' prepay=500;
   compare at=(120) taxrate=33 marr=4 all;
run;