SAS通过有序逻辑回归存储预测值和残差

时间:2019-03-11 22:46:09

标签: sas regression logistic-regression

在Sas中,有两个参数将预测值残差存储在proc reg中。此外,我们可以用/hcc估算鲁棒的标准误差

proc reg data = sample; 
by A B; 
model y = W X Y Z /hcc; 
output out = sample_new p = predictedvalue r = residual; run;

但是,我想使用有序逻辑回归来对proc logistic进行建模。

proc logistic data = sample descending; 
by A B; 
model y = W X Y Z; 
output out = sample_new p = predictedvalue r = residual; run;

原来是语法错误。 r中似乎没有参数proc logistic。另外,pproc reg中的那个似乎有所不同。 /hcc在这里也不可用。

对此有任何想法吗?

0 个答案:

没有答案
相关问题