Advanced DIF Analysis with Winsteps

Winsteps users: do you suffer from RUMM2020 envy? Do you wish you could enjoy the nifty non-uniform DIF detection features that only RUMM2020 users get? Do you wish you could break down the expected responses to polytomous items, and plot them by measure level the way they do it in RUMM2020? RUMM2020 has some very cool features, but Winsteps users do not need to left out in the cold. Thanks to the freely available, open-source data analysis and graphics system, R, Winsteps users can do non-uniform DIF analysis and graphing at least as well as you can with RUMM2020.

R is an open-source implementation of the S language, which was developed at Bell Laboratories. Versions are available for free download for Unix, Windows and MacOS X from R comes with a wide range of built-in functions. But since it is a very powerful programming language, extensions can be written to do practically anything. There are at least 1600 contributed packages already available to do almost anything you can think of. At least three packages do Rasch analysis. If you can't find a package already written that will do what you need, you can always write your own. That is what I did in this case.

I have been using the standardized item difficulty difference method of DIF detection for many years. This is fine for dichotomous items, and for uniform DIF in polytomous items, but I began to suspect that groups of survey respondents were responding differently depending on their position on the scale. Since I do not have RUMM, I decided on a DIY approach.

The R program I wrote accomplishes the task like this:

1) Calculates the probability of responding in each of the categories.

2) Calculates the expected response for each person using the category probabilities.

3) Calculates standardized residuals of actual responses from expected responses by group for ranges along the scale.

4) Does 2-way ANOVA on the residuals by group and scale range, with an interaction term.

5) Plots the expected score ogive and the empirical score curves for each group and displays the results of the ANOVA in the graph.

The Figure is an example of such a plot. This item is part of a scale measuring teachers' perceptions of crime and disorder in the school. Teachers are asked to state how much of a problem they perceived gang activity to be.

The black line is the expected score ogive; the blue line is the empirical responses from high school teachers; the red line, the responses from elementary school teachers. At the very low end of the scale, there is very little difference between the responses of high school and elementary teachers. However, at the high end of the scale, high school teachers report that gang activity is more of a problem than elementary school teachers do. The asterisks by "High School" in the legend indicate that the difference between high school and elementary teachers, overall, is very significant. In addition, the asterisks by "Interaction" indicate that the difference across the range of the scale is also significant.

The R program for DIF graphing is available at

It is heavily commented, but will need modification because the group selection mechanism is unique to each person's situation.

R Statistics -

RUMM2020 -

Winsteps -

Stuart Luppescu

Consortium on Chicago School Research

University of Chicago

Advanced DIF Analysis with Winsteps … S. Luppescu, Rasch Measurement Transactions, 2008, 22:3, 1173

Please help with Standard Dataset 4: Andrich Rating Scale Model

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: Using Rasch Models in the Social, Behavioral, and Health Sciences, George Engelhard, Jr. 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

To be emailed about new material on
please 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 welcomes your comments:

Your email address (if you want us to reply):


ForumRasch Measurement Forum to discuss any Rasch-related topic

Go to Top of Page
Go to index of all Rasch Measurement Transactions
AERA members: Join the Rasch Measurement SIG and receive the printed version of RMT
Some back issues of RMT are available as bound volumes
Subscribe to Journal of Applied Measurement

Go to Institute for Objective Measurement Home Page. The Rasch Measurement SIG (AERA) thanks the Institute for Objective Measurement for inviting the publication of Rasch Measurement Transactions on the Institute's website,

Coming Rasch-related Events
May 26 - June 23, 2017, Fri.-Fri. On-line workshop: Practical Rasch Measurement - Core Topics (E. Smith, Winsteps),
June 30 - July 29, 2017, Fri.-Fri. On-line workshop: Practical Rasch Measurement - Further Topics (E. Smith, Winsteps),
July 31 - Aug. 3, 2017, Mon.-Thurs. Joint IMEKO TC1-TC7-TC13 Symposium 2017: Measurement Science challenges in Natural and Social Sciences, Rio de Janeiro, Brazil,
Aug. 7-9, 2017, Mon-Wed. In-person workshop and research coloquium: Effect size of family and school indexes in writing competence using TERCE data (C. Pardo, A. Atorressi, Winsteps), Bariloche Argentina. Carlos Pardo, Universidad Catòlica de Colombia
Aug. 7-9, 2017, Mon-Wed. PROMS 2017: Pacific Rim Objective Measurement Symposium, Sabah, Borneo, Malaysia,
Aug. 10, 2017, Thurs. In-person Winsteps Training Workshop (M. Linacre, Winsteps), Sydney, Australia.
Aug. 11 - Sept. 8, 2017, Fri.-Fri. On-line workshop: Many-Facet Rasch Measurement (E. Smith, Facets),
Aug. 18-21, 2017, Fri.-Mon. IACAT 2017: International Association for Computerized Adaptive Testing, Niigata, Japan,
Sept. 15-16, 2017, Fri.-Sat. IOMC 2017: International Outcome Measurement Conference, Chicago,
Oct. 13 - Nov. 10, 2017, Fri.-Fri. On-line workshop: Practical Rasch Measurement - Core Topics (E. Smith, Winsteps),
Jan. 5 - Feb. 2, 2018, Fri.-Fri. On-line workshop: Practical Rasch Measurement - Core Topics (E. Smith, Winsteps),
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
April 13-17, 2018, Fri.-Tues. AERA, New York, NY,
May 25 - June 22, 2018, Fri.-Fri. On-line workshop: Practical Rasch Measurement - Core Topics (E. Smith, Winsteps),
June 29 - July 27, 2018, Fri.-Fri. On-line workshop: Practical Rasch Measurement - Further Topics (E. Smith, Winsteps),
Aug. 10 - Sept. 7, 2018, Fri.-Fri. On-line workshop: Many-Facet Rasch Measurement (E. Smith, Facets),
Oct. 12 - Nov. 9, 2018, Fri.-Fri. On-line workshop: Practical Rasch Measurement - Core Topics (E. Smith, Winsteps),
The HTML to add "Coming Rasch-related Events" to your webpage is:
<script type="text/javascript" src=""></script>


The URL of this page is