我一直在尝试使用序数结果运行 proc 逻辑逐步回归模型。因为我试图解释比例赔率的假设,所以我的几个变量的斜率不均匀。因此,在我的代码中,我同时指示了等坡和不等坡,但是我继续收到此语法错误。
ERROR 22-322: Syntax error, expecting one of the following: ;, ABSFCONV, AGGREGATE, ALPHA, BACKWARD, BEST, BINWIDTH, BUILDRULE, CL,
CLODDS, CLPARM, CODING, CONVERGE, CORRB, COVB, CT, CTABLE, DETAILS, DSCALE, EXPB, FAST, FCONV, FIRTH, GCONV,
HIERARCHY, INCLUDE, INFLUENCE, IPLOTS, ITPRINT, L, LACKFIT, LINK, MAXITER, MAXSTEP, NOCHECK, NODUMMYPRINT, NOFIT,
NOINT, NOLOGSCALE, OFFSET, OUTROC, PARMLABEL, PCORR, PEVENT, PL, PLCL, PLCONV, PLRL, PPROB, PSCALE, RIDGING,
RISKLIMITS, ROCEPS, RSQUARE, SCALE, SELECTION, SEQUENTIAL, SINGULAR, SLE, SLENTRY, SLS, SLSTAY, START, STB, STEPWISE,
STOP, STOPRES, TECHNIQUE, UNEQUALSLOPES, WALDCL, WALDRL, XCONV.
ERROR 76-322: Syntax error, statement will be ignored.
我确信我输入的代码是正确的,即使我没有为 equalslopes 选项和 unequalslopes 选项说明任何特定变量,我仍会继续收到相同的消息。下面是我的代码。
proc logistic data=upper_limit;
class Profitrank dealer_state_id dlr_zip RUCA2 area_description/ param = ref;
model profitrank = num_booked num_approved num_apps bk_conversion_rt appr_rt num_new num_used Percentage_of_New Average_Vehicle_Age average_dti
average_pti average_revolving_balance average_revolving_balance_rate average_public_records average_inquiries average_inquiry_6_months
average_open_rev_trades average_term average_major_derog average_minor_derog average_open_install average_scorecard average_fico_score average_app_risk_score
average_LTV average_consumer_rate average_truist_rate Dealer_state_ID RUCA2/link=clogit selection=stepwise SLE=0.10 SLE=0.10 EQUALSLOPES=(appr_rt average_pti average_public_records
average_open_rev_trades average_major_derog average_minor_derog average_open_install average_fico_score average_app_risk_score RUCA2) unequalslopes details maxiter=500;
run;```
Any help with this would be greatly appreciated!