SAS proc stdize method = range如何工作?

时间:2019-01-29 17:07:50

标签: sas normalization standardized sas-studio

PROC STDIZE METHOD = RANGE如何工作?

我认为它会像这样工作:

Score = (Observation - Min) / ( Max - Min)

但是,范围是[1,100],并且永远不会有0,即您要在分子上减去最小观测值本身。

我尝试阅读SAS文档并在excel工作簿中进行一些试验

PROC STDIZE
    DATA = SASHELP.BASEBALL
    METHOD = RANGE
    OUT = BASEBALL_STDIZE
;
    VAR CRHITS;
RUN;

预期范围[0,100],找到范围[1,100]

1 个答案:

答案 0 :(得分:1)

Obs    _TYPE_      crhit2

 1     LOCATION       34
 2     SCALE        4222
 3     ADD             0
 4     MULT            1
 5     N             322
 6     NObsRead      322
 7     NObsUsed      322
 8     NObsMiss        0

enter image description here