# How to Simulate Rasch Data

Dichotomous data:

1. Decide about the items. They are usually uniformly distributed. How many items? How wide the interval? The item mean is usually set at 0 logits. Simulate the item difficulties.

2. Decide about the person sample. This is usually normally distributed. How big a sample? What is the mean? What is the standard deviation? Simulate the person abilities.

4. For each response by a person to an item:

4A. Generate a random number U = uniform [0,1]

4B. Probability of failure = 1/(1 + exp(ability - difficulty))

4C. If U > Probability of failure, then X=1 else X=0.

4D. X is the simulated observation.

5. Check this by simulating data for a very high ability person (logit = 10): the data should all be "1".
Simulate data for a very low ability person (logit = -10): the data should all be "0"

Polytomous (rating scale or partial credit) data:

1. Decide about the items. They are usually uniformly distributed. How many items? How wide the interval? The item mean is usually set at 0 logits. Simulate the item difficulties.

2. Decide about the person sample. This is usually normally distributed. How big a sample? What is the mean? What is the standard deviation? Simulate the person abilities.

3. Decide about the number of categories, m. The higher categories, 2 to m, have Rasch-Andrich threshold values that are usually ascending and sum to zero across all the categories. Simulate the threshold values.

4. For each response by a person to an item:

4A. Generate a random number U = uniform [0,1]

4B. Compute the cumulative exponential of observing each category:
measure = 0
cumexp(1) = 1
Compute for category j = 2 to m
measure = measure + ability - difficulty - threshold(j)
cumexp(j) = cumexp(j-1) + exponential(measure)
Next category

4C. Identify the simulated observation:
U = U * cumexp(m)
For category j = 1 to m
if U <= cumexp(j) then X = j: exit
Next category

4D. X is the simulated observation.

5. Check this by simulating data for a very high ability person (logit = 10): the data should all be "m" (the top category).
Simulate data for a very low ability person (logit = -10): the data should all be "1" (the bottom category).

Unobserved Categories: sampling zeroes

Unobserved categories have a very low probability of being observed, so set the threshold values:
very low for an unobserved bottom category: example: 5 categories, bottom category unobserved: -40, -1, 0, 1
very high for an unobserved top category: example: 5 categories top category unobserved: -1, 0, 1, 40
very high then very low for the an unobserved intermediate category: example: 5 categories middle category unobserved: -1, 40, -40, 1

Many-Facets data:

As Polytomous data with the addition of:
1A. Decide about the other facets (tasks, demographics, etc.). Choose logit values for their elements.

4B. is amended:
measure = measure + ability - difficulty + {measures of elements of other facets that apply to this observation} - threshold(j)

John M. Linacre

Linacre J.M. (2007) How to Simulate Rasch Data … Rasch Measurement Transactions 21:3 p. 1125

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

 Forum Rasch 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, www.rasch.org.

Coming Rasch-related Events
Feb. 17-19, 2016, Wed.-Fri. In-person workshop: Einführung in die Itemanalyse mit dem Rasch-Modell (T. Salzberger, RUMM), Vienna, Austria, Announcement
Feb. 29 - June 24, 2016, Mon.-Fri. On-line course: Advanced course in Rasch Measurement Theory EDUC5606 (D. Andrich, RUMM2030), www.education.uwa.edu.au
March 2-4, 2016, Wed.-Fri. In-person workshop: Introductory Rasch (M. Horton, RUMM), Leeds, UK, www.leeds.ac.uk/medicine/rehabmed/psychometric
March 18, 2016, Fri. UK Rasch User Group Meeting, Durham, UK, www.rasch.org.uk
March 23-24, 2016, Wed.-Thur. In-person workshop: Introduction to Rasch using Winsteps (W.Boone), Cincinnati OH, raschmeasurementanalysis.com
April 4-6, 2016, Mon.-Wed. IOMW2016 Conference, International Objective Measurement Workshop, Washington DC, www.iomw.org
April 8-12, 2016, Fri.-Tues. AERA Annual Meeting, Washington DC, www.aera.net
April 27-29, 2016, Wed.-Fri. In-person workshop: IRT/Rasch and CAT using Concerto (R), Cambridge, UK, www.psychometrics.cam.ac.uk/trainingworkshops/
May 11-13, 2016, Wed.-Fri. In-person workshop: Introductory Rasch (M. Horton, RUMM), Leeds, UK, www.leeds.ac.uk/medicine/rehabmed/psychometric
May 16-18, 2016, Mon.-Wed. In-person workshop: Intermediate Rasch (M. Horton. Tennant, RUMM), Leeds, UK, www.leeds.ac.uk/medicine/rehabmed/psychometric
May 27 - June 24, 2016, Fri.-Fri. On-line workshop: Practical Rasch Measurement - Core Topics (E. Smith, Winsteps), www.statistics.com
June 16-19, Thur.-Sat. In-person workshop: Introduction to Rasch measurement analysis in the healthcare sciences and education (in English), Barcelona, Spain ( L. González de Paz, W. Boone, Winsteps), Announcement
July 1 - July 29, 2016, Fri.-Fri. On-line workshop: Practical Rasch Measurement - Further Topics (E. Smith, Winsteps), www.statistics.com
July 30-31, 2016, Sat.-Sun. PROMS 2016 Pre-Conference Workshop, Xi'an, China
Aug. 1-3, 2016, Mon.-Wed. PROMS 2016 Conference, Xi'an, China
Aug. 1 - Nov. 25, 2016, Mon.-Fri. On-line course: Introduction to Rasch Measurement Theory EDU5638 (D. Andrich, RUMM2030), www.education.uwa.edu.au
Aug. 3-5, 2016, Wed.-Fri. IMEKO 2016 TC1-TC7-TC13 Joint Symposium, Berkeley, CA, imeko-tc7-berkeley-2016.org
Aug. 12 - Sept. 9, 2016, Fri.-Fri. On-line workshop: Many-Facet Rasch Measurement (E. Smith, Facets), www.statistics.com
Sept. 2 - Oct. 14, 2016, Fri.-Fri. On-line workshop: Rasch Applications, Part 1: How to Construct a Rasch Scale (W.P. Fisher, Jr.), www.statistics.com
Oct. 14 - Nov. 11, 2016, Fri.-Fri. On-line workshop: Practical Rasch Measurement - Core Topics (E. Smith, Winsteps), www.statistics.com
Jan. 6 - Feb. 3, 2017, Fri.-Fri. On-line workshop: Practical Rasch Measurement - Core Topics (E. Smith, Winsteps), www.statistics.com
May 26 - June 23, 2017, Fri.-Fri. On-line workshop: Practical Rasch Measurement - Core Topics (E. Smith, Winsteps), www.statistics.com
June 30 - July 29, 2017, Fri.-Fri. On-line workshop: Practical Rasch Measurement - Further Topics (E. Smith, Winsteps), www.statistics.com
Aug. 11 - Sept. 8, 2017, Fri.-Fri. On-line workshop: Many-Facet Rasch Measurement (E. Smith, Facets), www.statistics.com
Sept. 28-30, 2016, Wed.-Fri. In-person workshop: Introductory Rasch (M. Horton, RUMM), Leeds, UK, www.leeds.ac.uk/medicine/rehabmed/psychometric
Oct. 3-5, 2016, Mon.-Wed. In-person workshop: Intermediate Rasch (M. Horton. Tennant, RUMM), Leeds, UK, www.leeds.ac.uk/medicine/rehabmed/psychometric
Oct. 6-7, 2015, Thur.-Fri. In-person workshop: Advanced Rasch (M. Horton, RUMM), Leeds, UK, www.leeds.ac.uk/medicine/rehabmed/psychometric
Oct. 13 - Nov. 10, 2017, Fri.-Fri. On-line workshop: Practical Rasch Measurement - Core Topics (E. Smith, Winsteps), www.statistics.com
Jan. 5 - Feb. 2, 2018, Fri.-Fri. On-line workshop: Practical Rasch Measurement - Core Topics (E. Smith, Winsteps), www.statistics.com
May 25 - June 22, 2018, Fri.-Fri. On-line workshop: Practical Rasch Measurement - Core Topics (E. Smith, Winsteps), www.statistics.com
June 29 - July 27, 2018, Fri.-Fri. On-line workshop: Practical Rasch Measurement - Further Topics (E. Smith, Winsteps), www.statistics.com
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
Dec. 7-9, 2016, Wed.-Fri. In-person workshop: Introductory Rasch (M. Horton, RUMM), Leeds, UK, www.leeds.ac.uk/medicine/rehabmed/psychometric
<script type="text/javascript" src="http://www.rasch.org/events.txt"></script>