Data file with grouped elements |
It is often convenient to group elements in a facet for reporting or anchoring.
This is such a data file, KCTGDAT.txt:
1 111111100000000000 Richard M
2 111111111100000000 Tracie F
3 111111111001000000 Walter M
4 111100101000000000 Blaise M
This data file, of the KCT test, has the examinees' sex specified by M or F in column 31. The sex is to be used as an element of the "Sex" facet, and also to group the examinees.
The Facform keyword file, KCTGkey.txt, to reformat this CSV file is:
; File: KCTGkey.txt
; This converts a "flat" data file into a Facets file (Comments start with ;)
; We want to group anchor on child Sex
$Input = KCTGDAT.txt ; the "flat" file
$Output = KCTGFAC.txt ; the file of Facets-formatted data
$Facets = 3 ; three facets - children and tapping items
; and gender/sex
; labels for the facets
$Flabel = 1, "Children,G" ; Children will be group anchored
$Flabel = 2, "Tapping items"
$Flabel = 3, "Sex"
; let's output the specifications that Facets needs:
$Spec = "Title = Knox Cube Test"
$Spec = "Output = kctgOUT.txt ;the Facets output file"
$Spec = "Models =?,?,?,D"
$Spec = "Positive=1,3 ; children & sex positively oriented"
$Spec = "Noncenter=3 ; sex facets floats"
; child's sex - for element in facet 3 and group in facet 1:
Sex=$S31W1 ; M or F
$If=(Sex="F")
Group=1 ; Females are group 1
$Elseif=(Sex="M")
Group=2 ; Males are group 2
$Endif
$Label = 3,Group,Sex ; Group facet
; person element number is child number in the "flat" file:
$Label = 1, $S1W2,$S23W9+",0,"+$Q(Group) ; Child number is column 1, width 2
; reset item numbering
Itemnum = 1 ; define variable Itemnum with value 1.
; This will be the item number.
; now go across the line for 18 items
$Do = 18
$Label = 2, Itemnum ; Itemnum has the item number
; at this point the current element in facet 1 and in facet 2 have been
; identified by $Label= keywords
$Rating = $S(Itemnum+3)W1 ; first response: column 4 width 1.
; The reformatted rating is written to the $Output file.
Itemnum = Itemnum + 1 ; increment for next response
$Again
The resulting Facets specification file, KCTGFAC.txt, is:
; FACFORM Version No. 1.23
; Run on 05-25-1993 11:42:24
; from Keyword file: KCTGkey.txt
Facets = 3
Title = Knox Cube Test
Output = kctOUT.txt ;the Facets output file
Models =?,?,?,D
Positive=1,3 ; children & sex positively oriented
Noncenter=3 ; sex facets floats
Labels =
1,Children,G
1=Richard M,0,2
2=Tracie F,0,1
3=Walter M,0,2
4=Blaise M,0,2
5=Ron M,0,2
6=William M,0,2
7=Susan F,0,1
8=Linda F,0,1
9=Kim F,0,1
10=Carol F,0,1
11=Pete M,0,2
12=Brenda F,0,1
13=Mike M,0,2
14=Zula F,0,1
15=Frank M,0,2
16=Dorothy F,0,1
17=Rod M,0,2
18=Britton F,0,1
19=Janet F,0,1
20=David M,0,2
21=Thomas M,0,2
22=Betty F,0,1
23=Bert M,0,2
24=Rick M,0,2
25=Don M,0,2
26=Barbara F,0,1
27=Adam M,0,2
28=Audrey F,0,1
29=Anne F,0,1
30=Lisa F,0,1
31=James M,0,2
32=Joe M,0,2
33=Martha F,0,1
34=Elsie F,0,1
35=Helen F,0,1
*
2,Tapping items
1=
2=
3=
4=
5=
6=
7=
8=
9=
10=
11=
12=
13=
14=
15=
16=
17=
18=
*
3,Sex
1=F
2=M
*
Data =
1,1-18,2,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0
2,1-18,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0
3,1-18,2,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,0,0,0
4,1-18,2,1,1,1,1,0,0,1,0,1,0,0,0,0,0,0,0,0,0
5,1-18,2,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0
6,1-18,2,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0
7,1-18,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0
8,1-18,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0
9,1-18,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0
10,1-18,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0
11,1-18,2,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0
12,1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,0,0,0,0,0,0,0,0,0,0,0,0,0,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 | |
---|---|
May 17 - June 21, 2024, Fri.-Fri. | On-line workshop: Rasch Measurement - Core Topics (E. Smith, Winsteps), www.statistics.com |
June 12 - 14, 2024, Wed.-Fri. | 1st Scandinavian Applied Measurement Conference, Kristianstad University, Kristianstad, Sweden http://www.hkr.se/samc2024 |
June 21 - July 19, 2024, Fri.-Fri. | On-line workshop: Rasch Measurement - Further Topics (E. Smith, Winsteps), www.statistics.com |
Aug. 5 - Aug. 6, 2024, Fri.-Fri. | 2024 Inaugural Conference of the Society for the Study of Measurement (Berkeley, CA), Call for Proposals |
Aug. 9 - Sept. 6, 2024, Fri.-Fri. | On-line workshop: Many-Facet Rasch Measurement (E. Smith, Facets), www.statistics.com |
Oct. 4 - Nov. 8, 2024, Fri.-Fri. | On-line workshop: Rasch Measurement - Core Topics (E. Smith, Winsteps), www.statistics.com |
Jan. 17 - Feb. 21, 2025, Fri.-Fri. | On-line workshop: Rasch Measurement - Core Topics (E. Smith, Winsteps), www.statistics.com |
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