Answered step by step
Verified Expert Solution
Question
1 Approved Answer
SAS Studio help! Let s assume a credit card applicant is a student with a balance of $ 6 2 1 and an income of
SAS Studio help!
Lets assume a credit card applicant is a student with a balance of $ and an income of $ How likely will heshe default according to the fitted logistic regression model?
This is the code I used:
DATA newdata;
INPUT student balance income;
DATALINES;
Yes ;
RUN;
PROC LOGISTIC DATAnewdata;
SCORE DATAMYNEWLIB.DEFAULT OUTSCORED;
VAR student balance income;
RUN;
PROC PRINT DATASCORED;
VAR default PROBABILITY;
WHERE TYPE;
RUN;
These are the errors I received:
NOTE: The SAS System stopped processing this step because of errors.
WARNING: The data set WORK.SCORED may be incomplete. When this step was stopp
WARNING: Data set WORK.SCORED was not replaced because this step was stopped.
SCORE DATAMYNEWLIB.DEFAULT OUTSCORED;
VAR student balance income;ERROR : Statement is not valid or it is used out of proper order.
RUN;
PROC PRINT DATASCORED;
VAR default ;
ERROR: Variable DEFAULT not found.
ERROR: Variable not found.
WHERE ;
ERROR: Variable is not on file WORK.SCORED.
RUN;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started