﻿ Flat file with multiple lines per record

# Flat file with multiple lines per record

When there are many observations for each subject, they are often arranged in multiple lines per subject. In this case, there are 10 observations per subject. 5 on the first line, and 5 on a subsequent line.

This is the data file, TWODAT.txt:

Elizabeth  11010

01011  AXBC

Henry      01101

11010  DSGH  < The final letter codes are ignored for this analysis

^    ^     ^

1    6     12  Column

The Facform keyword file is TWOkey.txt

; File: TWOkey.txt

; This converts a multiple line per record file

\$Input = TWODAT.txt

\$Output = TWOFAC.txt

\$Facets=2

\$Flabel=1,Examinee

\$Flabel=2,Item

\$Label=1,,\$S1E10 ; the examinee name

; Get items from the first line

Itemnum = 1

Pointer = 12

\$DO=5   ; go round the 5 items on the first line

\$Label = 2,Itemnum

\$Rating = \$S(Pointer)W1

Itemnum = Itemnum + 1

Pointer = Pointer + 1

\$AGAIN

; Get items from the second line

\$Nextline ; advance to the next line

Itemnum = 6

Pointer = 6

\$DO=5   ; go round the 5 items on the second line

\$Label = 2,Itemnum

\$Rating = \$S(Pointer)W1

Itemnum = Itemnum + 1

Pointer = Pointer + 1

\$AGAIN

The resulting Facets file is TWOFAC.txt:

; FACFORM Version No. 1.20,  May 4, 1992

; Run on 05-04-1992 20:21:11

; from Keyword file: TWOkey.txt

Facets = 2

Labels =

1,Examinee

1=Elizabeth

2=Henry

*

2,Item

1=

|

10=

*

Data =

1,1-10,1,1,0,1,0,0,1,0,1,1

2,1-10,0,1,1,0,1,1,1,0,1,0

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

 Forum Rasch Measurement Forum to discuss any Rasch-related topic

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

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