|
Example 4: Selective item recoding |
Up Previous Next |
|
The test has 18 items, specified in file EXAM4.TXT. The response string starts in column 1. Person-id's start in column 41. Original codes are 0,1 in data file EXAM4DAT.TXT. Items 2, 3, and 4 are to be recoded as 1,0. All tables are to appear in report file EXAM4OUT.TXT, in a standardized form.
TITLE="An example of selective item recoding" ; page title NI=18 ; 18 items ITEM1=1 ; item responses start in column 1 NAME1=41 ; person-id starts in column 41 NAMLEN=9 ; person-id has 9 characters: Richard M PSELECT= ????????M ; select M in position 9 of person name NAMLMP=7 ; 7 characters to appear on maps: "Richard" CODES=01 ; the observed response codes CLFILE=* ; the code label list 0 Incorrect ; the observed response codes 1 Correct * ; end of list IREFER=ABBBAAAAAAAAAAAAAA ; can be letters or numbers IVALUEA=01 ; A-type items keep original scoring (this line can be omitted) IVALUEB=10 ; B-type items have reverse scoring
DATA=EXAM4DAT.TXT ; name of data file MRANGE=5 ; plots and maps have half-range of 5 logits LINELENGTH=0 ; allow maximum line length MAXPAGE=0 ; no maximum page length TABLES=1111111111111111111111111111111111 ; output all Tables to the Output file &END 1-4 R2-3 ; R reminds us item coding was reversed R1-2-4 2-1-4 . 4-1-3-4-2-1-4 END NAMES
The data file, EXAM4DAT.TXT, is
100011100000000000 Richard M 100011111100000000 Tracie F . 100100000000000000 Helen F |
Help for WINSTEPS® Rasch Measurement Software: www.winsteps.com.