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 = *

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 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
Jan. 5 - Feb. 2, 2018, Fri.-Fri. On-line workshop: Practical Rasch Measurement - Core Topics (E. Smith, Winsteps), www.statistics.com
Jan. 10-16, 2018, Wed.-Tues. In-person workshop: Advanced Course in Rasch Measurement Theory and the application of RUMM2030, Perth, Australia (D. Andrich), Announcement
Jan. 17-19, 2018, Wed.-Fri. Rasch Conference: Seventh International Conference on Probabilistic Models for Measurement, Matilda Bay Club, Perth, Australia, Website
Jan. 22-24, 2018, Mon-Wed. In-person workshop: Rasch Measurement for Everybody en español (A. Tristan, Winsteps), San Luis Potosi, Mexico. www.ieia.com.mx
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
 


 
Concerned about aches, pains, youthfulness? Mike and Jenny suggest Liquid Biocell