IPRFILE= change codes for blocks of persons and items

IPRFILE= enables rectangles of item and person observations to be changed based on their data codes. This is done after reading in the data files and performing EDFILE= (if specified).

 

IPRFILE= file name

file containing details

IPRFILE= file name + file name + ...

multiple files

IPRFILE = *

in-line list

IPRFILE = ?

opens a Browser window to find the file

 

IPRFILE= cannot add extra items. Please increase NI= to add extra items. Please specify the highest person beyond those in the data file by means of EDFILE=.

 

Several selections and recodings can be specified. An observation is recoded according to the first selection that it matches.

 

The format is:

IPRFILE=* (or IPRFILE= filename)

item-person-recode sublist or file

#ITEMS

start of item list (if omitted, select all items)

Item number

select this item

Item number - Item number

select this range of items

- Item number

exclude this item from this selection

- Item number - Item number

exclude this range of items item from this selection

"Item selection value"

select items using ISELECT= values, in quotation marks

- "Item selection value"

exclude these items

#PERSONS

start of person list (if omitted, select all persons)

Person number

select this person

Person number - Person number

select this range of persons

- Person number

exclude this person from this selection

- Person number - Person number

exclude this range of persons item from this selection

"Person selection value"

select persons using PSELECT= values, in quotation marks

- "Person selection value"

exclude these persons

#RECODE="codes"

a string of codes which align with the CODES= codes, and indicate the new code values. If a code in #RECODE= is not in CODES=, then it is interpreted as "change that valid code to missing data".

#MISSING="code"

this is the code in CODES= to replace "missing-data" in the selection. If this code is not in CODES=, then missing-data in the selection continues to be missing-data.

#

next selection begins (if any) ....

#ITEMS

start of list for items and persons not selected yet

......


#RECODE="codes"

list of codes for the second selection

#

next selection begins (if any) ....

#ITEMS

start of list for items and persons not selected yet

.....


*

end of IPRECORD=

 

Example 1:  Convert all responses to items 3 and 7-10 by persons 4 and 13-22 into missing (not  administered) data. Other missing responses are to be treated as incorrect.

 

NI = 16

; 16 item test

CODES = ABCDM

; the data are multiple-choice responses

IPRFILE = *

; start of rectangular recode

#ITEMS

; list of items to select

3


7-10


#PERSONS

; list of persons to select

4


13-22


; CODES = ABCDM

; this comment is a reminder of the CODES=

#RECODE = MMMMM

; A,B,C, D will all be converted to invalid code

*


IREFER = CBADBACDDCCABDBA

; same as scoring key (for convenience)

; CODES = ABCDM

; comment: another reminder

IVALUEA = 1000M

; A scored 1. M scored "M", non-numeric, "missing, not administered"

IVALUEB = 0100M

; B scored 1

IVALUEC = 0010M

; C scored 1

IVALUED = 0001M

; D scored 1

MISSING-SCORED = 0

; all responses not in CODES= scored 0.

 

Example 2:  Convert all "C" responses to items 3 and 7-10 by persons 4 and 13-22 into "A".

Convert all "C" responses to the other items by persons 4 and 13-22 into "B".

Convert all other "C" responses into "D".

 

CODES = ABCD

; valid data codes

IPRFILE = *

; start of rectangular recode

#ITEMS

; list of items to select

3


7-10


#PERSONS

; list of persons to select

4


13-22


; CODES = ABCD

; this comment is a reminder of the CODES=

#RECODE = ABAD

; C is converted into A

#

; end of this recode: start of next recode

; #ITEMS

; commented out: applies to all items

#PERSONS


4


13-22


#RECODE = ABBD

; C is converted into B

; #ITEMS

; commented out: applies to all items

; #PERSONS

; commented out: applies to all persons

#RECODE = ABDD

; C is converted into D

*


 

Example 3: Select everyone with a person label beginning "A". Make their responses to items with labels starting "Z" into missing data.

 

CODES = ABCD

; valid data codes

IPRFILE = *

; start of rectangular recode

; #ITEMS

; commented out - all items

"Z"

;Item labels starting Z

#PERSONS

; list of persons to select

"A"

; person labels starting A

; CODES = ABCD

; this comment is a reminder of the CODES=

#RECODE = ....

; All responses made missing.

*



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

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

Rasch Books and Publications
Invariant Measurement: Using Rasch Models in the Social, Behavioral, and Health Sciences, 2nd Edn, 2024 George Engelhard, Jr. & Jue Wang Applying the Rasch Model (Winsteps, Facets) 4th Ed., Bond, Yan, Heene Advances in Rasch Analyses in the Human Sciences (Winsteps, Facets) 1st Ed., Boone, Staver Advances in Applications of Rasch Measurement in Science Education, X. Liu & W. J. Boone Rasch Analysis in the Human Sciences (Winsteps) Boone, Staver, Yale
Introduction to Many-Facet Rasch Measurement (Facets), Thomas Eckes Statistical Analyses for Language Testers (Facets), Rita Green Invariant Measurement with Raters and Rating Scales: Rasch Models for Rater-Mediated Assessments (Facets), George Engelhard, Jr. & Stefanie Wind Aplicação do Modelo de Rasch (Português), de Bond, Trevor G., Fox, Christine M Appliquer le modèle de Rasch: Défis et pistes de solution (Winsteps) E. Dionne, S. Béland
Exploring Rating Scale Functioning for Survey Research (R, Facets), Stefanie Wind Rasch Measurement: Applications, Khine Winsteps Tutorials - free
Facets Tutorials - free
Many-Facet Rasch Measurement (Facets) - free, J.M. Linacre Fairness, Justice and Language Assessment (Winsteps, Facets), McNamara, Knoch, Fan
Other Rasch-Related Resources: Rasch Measurement YouTube Channel
Rasch Measurement Transactions & Rasch Measurement research papers - free An Introduction to the Rasch Model with Examples in R (eRm, etc.), Debelak, Strobl, Zeigenfuse Rasch Measurement Theory Analysis in R, Wind, Hua Applying the Rasch Model in Social Sciences Using R, Lamprianou El modelo métrico de Rasch: Fundamentación, implementación e interpretación de la medida en ciencias sociales (Spanish Edition), Manuel González-Montesinos M.
Rasch Models: Foundations, Recent Developments, and Applications, Fischer & Molenaar Probabilistic Models for Some Intelligence and Attainment Tests, Georg Rasch Rasch Models for Measurement, David Andrich Constructing Measures, Mark Wilson Best Test Design - free, Wright & Stone
Rating Scale Analysis - free, Wright & Masters
Virtual Standard Setting: Setting Cut Scores, Charalambos Kollias Diseño de Mejores Pruebas - free, Spanish Best Test Design A Course in Rasch Measurement Theory, Andrich, Marais Rasch Models in Health, Christensen, Kreiner, Mesba Multivariate and Mixture Distribution Rasch Models, von Davier, Carstensen
As an Amazon Associate I earn from qualifying purchases. This does not change what you pay.

facebook Forum: Rasch Measurement Forum to discuss any Rasch-related topic

To receive News Emails about Winsteps and Facets by subscribing to the Winsteps.com email list,
enter your email address here:

I want to Subscribe: & click below
I want to Unsubscribe: & click below

Please set your SPAM filter to accept emails from Winsteps.com
The Winsteps.com email list is only used to email information about Winsteps, Facets and associated Rasch Measurement activities. Your email address is not shared with third-parties. Every email sent from the list includes the option to unsubscribe.

Questions, Suggestions? Want to update Winsteps or Facets? Please email Mike Linacre, author of Winsteps mike@winsteps.com


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


 

 

 

Our current URL is www.winsteps.com

Winsteps® is a registered trademark