I'm attempting to run the following piece of code, but getting the error that all observations have the same response.
proc logistic data=reg_sample descending
plots(only)=roc(id=obs)
outmodel=logit_model
outest=logit_coeffs;
class tran_type occupation_desc SAR NRA SUB PCG;
model ESC_R = tran_type
PCG
cash_cr
cash_cr_count
cash_db
cash_db_count
risk_score
days_first_to_last
account_count
trigger_count
avg_tran_amount
branch_count
whole_dollar_trans
round_10_trans
round_100_trans
round_1000_trans
tenure
OCCUPATION_DESC
prior_fps
prior_escs
prior_crips
CTRs_filed
international_db
InCaT
OutCaT
SAR
NRA
SUB/ selection=stepwise link=logit rsquare EXPB;
run;
I can see, from running Proc Freq, that the observations definitely have different responses. Is there something else I need to change about my code?
ESC_R | Frequency | Percent | Cumulative Frequency | Cumulative Percent |
0 | 9235 | 84.45 | 9235 | 84.45 |
1 | 1700 | 15.55 | 10935 | 100.00 |