Answered step by step
Verified Expert Solution
Link Copied!

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 $621 and an income of $1850. How likely will he/she default according to the fitted logistic regression model?
This is the code I used:
DATA newdata;
INPUT student balance income;
DATALINES;
Yes 6211850;
RUN;
PROC LOGISTIC DATA=newdata;
SCORE DATA=MYNEWLIB.DEFAULT OUT=SCORED;
VAR student balance income;
RUN;
PROC PRINT DATA=SCORED;
VAR default _PROBABILITY_;
WHERE _TYPE_=2;
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.
77 SCORE DATA=MYNEWLIB.DEFAULT OUT=SCORED;
78 VAR student balance income;ERROR 180-322: Statement is not valid or it is used out of proper order.
79 RUN;
80
81 PROC PRINT DATA=SCORED;
82 VAR default ;
ERROR: Variable DEFAULT not found.
ERROR: Variable not found.
83 WHERE =2;
ERROR: Variable _ is not on file WORK.SCORED.
84 RUN;
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Why global business is important.

Answered: 1 week ago