ELSE應該是變數的最後一個規格。 重新編碼INTO另一個變數時,未指定的值會設為系統遺漏值或字串為空白。 COPY會抄寫原始值而不重新編碼它們。 需要INTO才能將字串變數重新編碼為數值變數,或將數值變數重新編碼為字串變數。 數值變數 (RECODE 指令) 字串變數 (RECODE 指令) 上層主題:RECODE...
SPSS Recode Syntax Example 6*1. Clone values into new variable.recode v10 (else = copy) into rec_v10.*2. Clone dictionary onto new variable.apply dictionary from * /source variables = v10 /target variables = rec_v10.*3. Check.crosstabs v10 by rec_v10 /cells count /missing include...
Syntax for the RECODE command can be generated from the Recode into Same Variables dialog or the Recode into Different Variables dialog. Examples RECODE V1 TO V3 (0=1) (1=0) (2,3=-1) (9=9) (ELSE=SYSMIS). RECODE STRNGVAR ('A','B','C'='A')('D','E','F'='B')(ELSE='...
SPSS AUTORECODE - Syntax Example 1 *1. Create numeric variable emo_1 from string emot_1. autorecode emot_1 /into emo_1. *2. Show values and value labels in following output tables. set tnumbers both. *3. Inspect result. frequencies emo_1. ...
Syntax for theRECODEcommand can be generated from theRecode into Same Variablesdialog or theRecode into Different Variablesdialog. Examples RECODE V1 TO V3 (0=1) (1=0) (2,3=-1) (9=9) (ELSE=SYSMIS). RECODE STRNGVAR ('A','B','C'='A')('D','E','F'='B')(ELSE=' ')....
INTO is required to recode a string variable into a numeric variable or a numeric variable into a string variable. Numeric Variables (RECODE command) String Variables (RECODE command) Parent topic: RECODE Related information RECODE Overview (RECODE command) Operations (RECODE command) Examples (...
AUTORECODE AUTORECODErecodes the values of string and numeric variables to consecutive integers and puts the recoded values into a new variable called atarget variable. The value labels or values of the original variable are used as value labels for the target variable....
所有产品 IBM SPSS Statistics SaaS虽然IBM 重视使用包容性语言,但为了保持用户理解,有时需要使用不受 IBM直接影响的术语。 随着其他行业领导者与 IBM 一起采用包容性语言, IBM 将继续更新文档以反映这些更改。 联系IBM 隐私条约 使用条款 信息无障碍选项 沪ICP备18004249号-23 ...
Syntax for theRECODEcommand can be generated from theRecode into Same Variablesdialog or theRecode into Different Variablesdialog. Examples RECODE V1 TO V3 (0=1) (1=0) (2,3=-1) (9=9) (ELSE=SYSMIS). RECODE STRNGVAR ('A','B','C'='A')('D','E','F'='B')(ELSE=' ')....
Syntax for theRECODEcommand can be generated from theRecode into Same Variablesdialog or theRecode into Different Variablesdialog. Examples RECODE V1 TO V3 (0=1) (1=0) (2,3=-1) (9=9) (ELSE=SYSMIS). RECODE STRNGVAR ('A','B','C'='A')('D','E','F'='B')(ELSE=' ')....