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
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 |
---|
![]() |
Forum: | Rasch Measurement Forum to discuss any Rasch-related topic |
---|
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 |
---|
Coming Rasch-related Events | |
---|---|
Jan. 17 - Feb. 21, 2025, Fri.-Fri. | On-line workshop: Rasch Measurement - Core Topics (E. Smith, Winsteps), www.statistics.com |
Feb. - June, 2025 | On-line course: Introduction to Classical Test and Rasch Measurement Theories (D. Andrich, I. Marais, RUMM2030), University of Western Australia |
Feb. - June, 2025 | On-line course: Advanced Course in Rasch Measurement Theory (D. Andrich, I. Marais, RUMM2030), University of Western Australia |
Apr. 21 - 22, 2025, Mon.-Tue. | International Objective Measurement Workshop (IOMW) - Boulder, CO, www.iomw.net |
May 16 - June 20, 2025, Fri.-Fri. | On-line workshop: Rasch Measurement - Core Topics (E. Smith, Winsteps), www.statistics.com |
June 20 - July 18, 2025, Fri.-Fri. | On-line workshop: Rasch Measurement - Further Topics (E. Smith, Facets), www.statistics.com |
Oct. 3 - Nov. 7, 2025, Fri.-Fri. | On-line workshop: Rasch Measurement - Core Topics (E. Smith, Winsteps), www.statistics.com |
Our current URL is www.winsteps.com
Winsteps® is a registered trademark