Skip to content

Commit

Permalink
Update STAT660-01_f18-team-1_project2_data_analysis_by_LL.sas
Browse files Browse the repository at this point in the history
  • Loading branch information
llopez37-stat697 authored Oct 27, 2018
1 parent 81e309a commit f1e761c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions STAT660-01_f18-team-1_project2_data_analysis_by_LL.sas
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,17 @@ Follow Up: Might try to see if we can get more clarification on the homeowners a
well as seperate by state/region.
;

proc means
data = loanstats
class
home_ownership
;
var
annual inc
;
run
;

title1
'Research Question: Is there a correlation between interest rate and the annual income with loan amount and grade?'
;
Expand All @@ -65,6 +76,13 @@ Follow Up: Might have to change the question around if we find no correlation
by adding other variables.
;

proc corr
data = loanstats
model
int_rate = annual_inc + loan_amnt + grade
;
run;

title1
'Research Question: What is the distribution of the loan amounts based on the purpose of the loan?'
;
Expand All @@ -84,3 +102,9 @@ Follow Up: Same as the first question, might want to filter out through state in
to determine factors of cost of living and debt owed since different states have different
home costs.
;

proc sgplot
data = loanstats
vbox loan_amnt / category purpose
;
run;

0 comments on commit f1e761c

Please sign in to comment.