Refinancing a Loan
/*--------------------------------------------------------------
SAS Sample Library
Name: loaex02.sas
Description: Example program from SAS/ETS User's Guide,
The LOAN Procedure
Title: Refinancing a Loan
Product: SAS/ETS Software
Keys: fixed rate, adjustable rate, buydown,
and balloon payment loans
PROC: LOAN
Notes:
--------------------------------------------------------------*/
proc loan start=1995:6;
fixed life=180 rate=9 amount=78500 noprint
label='Original Loan';
compare at=('10FEB1998'd);
run;
proc loan start=1998:2 amount=71028.75;
fixed rate=9 payment=796.20
label='Keep the original loan' noprint;
fixed life=180 rate=6.5 init=1419
label='Refinance at 6.5%' noprint;
compare at=(15 16) taxrate=33 marr=4 all;
run;