Batch mode example: Score Tables

Winsteps produces a Score Table in Table 20 which is for responses to every active item. You can use the Batch File feature to automate the production of Score Tables for subtests of items.

 

(1) Do the calibration run:

 

 title="Item calibration"

 ni=3            ; these match your data file

 item1=1

 name1=1

 codes=123

 ISGROUPS=0

 ifile= if.txt  ; item calibrations

 sfile= sf.txt  ; rating (or partial credit) scale structure

 data=data.txt

 &end

 ......

 END LABELS

 

(2) Set up the control file for the batch run:

 

 ; This is scon.txt

 title="Produce score table"

 ni=3               ; match your data file

 item1=1

 name1=1

 codes=123

 ISGROUPS=0

 iafile = if.txt ; item anchor file

 safile = sf.txt ; rating (or partial credit) scale structure anchor file

 pafile=*

 1 0   ; dummy person measures

 2 0

 *

 CONVERGE=L  ; only logit change is used for convergence

 LCONV=0.005  ; logit change too small to appear on any report.

 &end

....

END LABELS

121.... ; two lines of dummy data - such that every item has a non-extreme score.

212....

 

(3) Set up the Batch (.bat or .cmd) file and run it. Use IDFILE=* to select the items you want (or ISELECT=)

 

rem this is score.cmd

del sc*.txt

start /w ..\Winsteps sc.txt dummy SCOREFILE=sc001.txt batch=yes idfile=* +3 * title=item3

start /w ..\Winsteps sc.txt dummy SCOREFILE=sc010.txt batch=yes idfile=* +2 * title=item2

start /w ..\Winsteps sc.txt dummy SCOREFILE=sc100.txt batch=yes idfile=* +1 * title=item1

start /w ..\Winsteps sc.txt dummy SCOREFILE=sc011.txt batch=yes idfile=* +2 +3 * title=items23

start /w ..\Winsteps sc.txt dummy SCOREFILE=sc101.txt batch=yes idfile=* +1 +3 * title=item13

start /w ..\Winsteps sc.txt dummy SCOREFILE=sc110.txt batch=yes idfile=* +1 +2 * title=items12

start /w ..\Winsteps sc.txt dummy SCOREFILE=sc111.txt batch=yes idfile=* +1 +2 +3 * title=items123

.....

copy sc*.txt scores.txt

 

(4) The Score Tables are in file scores.txt

 


 

Batch command to select one line from a file.

 

Save the code below as oneline.bat

Then

c:>oneline 23 infile.txt >>outfile.txt

selects line 24

 

 @echo off

 rem select one line  from a file

 setlocal enabledelayedexpansion

 if [%1] == [] goto usage

 if [%2] == [] goto usage

 for /f "skip=%1 delims=" %%a in (%2) do (

 echo %%a

 goto exit

 )

 goto exit

 :usage

 echo Usage: oneline.bat  linebefore infile   >>outfile

 :exit


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

The Languages of Love: draw a map of yours!

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 Winsteps & Facets Events
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
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" L.'s Wellness Report: I'm 72, take no medications and, March 2018, my doctor is annoyed with me - I'm too healthy!
According to Wikipedia, the human body requires about 30 minerals, maybe more. There are 60 naturally-occurring minerals in the liquid Mineral Supplement which I take daily.