Example 6: Keys in data record format

Do not use FORMAT= unless there is no other way. It is tricky to set up correctly. MFORMS= is much easier.


A test of 165 multiple-choice items with multiple data lines per data record. The scoring key is formatted in the same way as the data lines:


; This file is EXAM6.TXT

 TITLE='Demonstration of KEY1 record' title


; The first character is ignored, 

; then 10 characters in first record are person id, 

; then starting in column 23, 

; 50 columns in first 3 records, 

; and 15 responses in fourth record.


;  Using MFORMS= to reformat the same data record


;  Data= filename ; put the input data in a separate file

;  L=4           ; 4 data input lines per output record

;  P1-10=2       ; person label characters 1-10 start in column 2 of line 1 of input data

;  I1-50=23      ; responses to items 1-50 start in column 23 of line 1 of input data

;  I51-100=2:23  ; responses to items 51-100 start in column 23 of line 2 of input data

;  I101-150=3:23 ; responses to items 101-150 start in column 23 of line 3 of input data

;  I151-165=4:23 ; responses to items 151-165 start in column 23 of line 4 of input data

;  *   ; end of MFORMS=

;      ; Note this does not reformat the Keyfrm=, so use KEY1=


; In the reformatted record

 NAME1=1  ; Person-id starts in column 1

 ITEM1=11 ; Item responses start in column 11 of reformatted record

 NI=165   ; There are 165 items

 CODES="ABCD " ; The raw responses are ABCD and BLANK. 

          ; Put character strings in " " if blanks are to be included.

 MISSCORE=0  ; Blanks and invalid codes scored wrong=0

 KEYFRM=1 ; There is a KEY1 record after &END which is formatted 

          ; exactly like a data record specifying the correct responses.

RFILE=exam6rf.txt ; this shows effect of reformatting and scoring

PTBISERIAL=YES ; Raw score point-biserial excluding extremes

TFILE=*   ; List of desired tables

1.0       ; Subtable 0 of Table 1

3         ; Table 3.1, 3.2, etc.




*         ; end of list


 &END     ; KEY1= formatted like your data follows:




before item names     ABDACDCDBADBCAB

A1   First item name


























or, using continuation lines for the key:


 CODES="ABCD " ; The raw responses are ABCD and BLANK

;KEYFRM=  ; omit this, not needed





; "+" are continuation characters

Help for Winsteps Rasch Measurement Software: www.winsteps.com. Author: John Michael Linacre

For more information, contact info@winsteps.com or use the Contact Form

Facets Rasch measurement software. Buy for $149. & site licenses. Freeware student/evaluation download
Winsteps Rasch measurement software. Buy for $149. & site licenses. Freeware student/evaluation download

State-of-the-art : single-user and site licenses : free student/evaluation versions : download immediately : instructional PDFs : user forum : assistance by email : bugs fixed fast : free update eligibility : backwards compatible : money back if not satisfied
Rasch, Winsteps, Facets online Tutorials


Forum Rasch Measurement Forum to discuss any Rasch-related topic

Click here to add your email address to the Winsteps and Facets email list for notifications.

Click here to ask a question or make a suggestion about Winsteps and Facets software.

Rasch Publications
Rasch Measurement Transactions (free, online) Rasch Measurement research papers (free, online) Probabilistic Models for Some Intelligence and Attainment Tests, Georg Rasch Applying the Rasch Model 3rd. Ed., Bond & Fox Best Test Design, Wright & Stone
Rating Scale Analysis, Wright & Masters Introduction to Rasch Measurement, E. Smith & R. Smith Introduction to Many-Facet Rasch Measurement, Thomas Eckes Invariant Measurement with Raters and Rating Scales: Rasch Models for Rater-Mediated Assessments, George Engelhard, Jr. & Stefanie Wind Statistical Analyses for Language Testers, Rita Green
Rasch Models: Foundations, Recent Developments, and Applications, Fischer & Molenaar Journal of Applied Measurement Rasch models for measurement, David Andrich Constructing Measures, Mark Wilson Rasch Analysis in the Human Sciences, Boone, Stave, Yale
in Spanish: Análisis de Rasch para todos, Agustín Tristán Mediciones, Posicionamientos y Diagnósticos Competitivos, Juan Ramón Oreja Rodríguez
Winsteps Tutorials Facets Tutorials Rasch Discussion Groups



Coming Rasch-related Events
April 10-12, 2018, Tues.-Thurs. Rasch Conference: IOMW, New York, NY, www.iomw.org
April 13-17, 2018, Fri.-Tues. AERA, New York, NY, www.aera.net
May 22 - 24, 2018, Tues.-Thur. EALTA 2018 pre-conference workshop (Introduction to Rasch measurement using WINSTEPS and FACETS, Thomas Eckes & Frank Weiss-Motz), https://ealta2018.testdaf.de
May 25 - June 22, 2018, Fri.-Fri. On-line workshop: Practical Rasch Measurement - Core Topics (E. Smith, Winsteps), www.statistics.com
June 27 - 29, 2018, Wed.-Fri. Measurement at the Crossroads: History, philosophy and sociology of measurement, Paris, France., https://measurement2018.sciencesconf.org
June 29 - July 27, 2018, Fri.-Fri. On-line workshop: Practical Rasch Measurement - Further Topics (E. Smith, Winsteps), www.statistics.com
July 25 - July 27, 2018, Wed.-Fri. Pacific-Rim Objective Measurement Symposium (PROMS), (Preconference workshops July 23-24, 2018) Fudan University, Shanghai, China "Applying Rasch Measurement in Language Assessment and across the Human Sciences" www.promsociety.org
Aug. 10 - Sept. 7, 2018, Fri.-Fri. On-line workshop: Many-Facet Rasch Measurement (E. Smith, Facets), www.statistics.com
Sept. 3 - 6, 2018, Mon.-Thurs. IMEKO World Congress, Belfast, Northern Ireland www.imeko2018.org
Oct. 12 - Nov. 9, 2018, Fri.-Fri. On-line workshop: Practical Rasch Measurement - Core Topics (E. Smith, Winsteps), www.statistics.com



Our current URL is www.winsteps.com

Winsteps® is a registered trademark



John "Mike" Linacre, author of Winsteps, and Jenny use and recommend eco-friendly, safe and effective wellness and beauty products such as skincare