DATA LIST TABLE /x 1 gender 3 (A). Data List will read 1 records from the command file Variable Rec Start End Format x 1 1 1 F1.0 gender 1 3 3 A1 BEGIN DATA. 1 f 2 m 3 f 4 m 5 f 6 m 7 f 8 m 9 f end data. FREQUENCIES x gender. Frequencies Notes |-----------------------------------------------------|---------------------------------------------------| |Output Created |30-dec.-2012 09:02:00 | |-----------------------------------------------------|---------------------------------------------------| |Comments | | |----------------------|------------------------------|---------------------------------------------------| |Input |Filter | | | |------------------------------|---------------------------------------------------| | |Weight | | | |------------------------------|---------------------------------------------------| | |Split File | | | |------------------------------|---------------------------------------------------| | |N of Rows in Working Data File|9 | |----------------------|------------------------------|---------------------------------------------------| |Missing Value Handling|Definition of Missing |User-defined missing values are treated as missing.| | |------------------------------|---------------------------------------------------| | |Cases Used |Statistics are based on all cases with valid data. | |----------------------|------------------------------|---------------------------------------------------| |Syntax |FREQUENCIES x gender. | |----------------------|------------------------------|---------------------------------------------------| |Resources |Processor Time |00 00:00:00,016 | | |------------------------------|---------------------------------------------------| | |Elapsed Time |00 00:00:00,019 | |----------------------|------------------------------|---------------------------------------------------| Statistics |---------|-|------| | |x|gender| |-|-------|-|------| |N|Valid |9|9 | | |-------|-|------| | |Missing|0|0 | |-|-------|-|------| Frequency Table x |-----------|---------|-------|-------------|------------------| | |Frequency|Percent|Valid Percent|Cumulative Percent| |-----|-----|---------|-------|-------------|------------------| |Valid|1 |1 |11,1 |11,1 |11,1 | | |-----|---------|-------|-------------|------------------| | |2 |1 |11,1 |11,1 |22,2 | | |-----|---------|-------|-------------|------------------| | |3 |1 |11,1 |11,1 |33,3 | | |-----|---------|-------|-------------|------------------| | |4 |1 |11,1 |11,1 |44,4 | | |-----|---------|-------|-------------|------------------| | |5 |1 |11,1 |11,1 |55,6 | | |-----|---------|-------|-------------|------------------| | |6 |1 |11,1 |11,1 |66,7 | | |-----|---------|-------|-------------|------------------| | |7 |1 |11,1 |11,1 |77,8 | | |-----|---------|-------|-------------|------------------| | |8 |1 |11,1 |11,1 |88,9 | | |-----|---------|-------|-------------|------------------| | |9 |1 |11,1 |11,1 |100,0 | | |-----|---------|-------|-------------|------------------| | |Total|9 |100,0 |100,0 | | |-----|-----|---------|-------|-------------|------------------| gender |-----------|---------|-------|-------------|------------------| | |Frequency|Percent|Valid Percent|Cumulative Percent| |-----|-----|---------|-------|-------------|------------------| |Valid|f |5 |55,6 |55,6 |55,6 | | |-----|---------|-------|-------------|------------------| | |m |4 |44,4 |44,4 |100,0 | | |-----|---------|-------|-------------|------------------| | |Total|9 |100,0 |100,0 | | |-----|-----|---------|-------|-------------|------------------| RANK x. RANK Notes |------------------------------------------------------------|---------------------------------------------------| |Output Created |30-dec.-2012 09:02:00 | |------------------------------------------------------------|---------------------------------------------------| |Comments | | |-----------------------------|------------------------------|---------------------------------------------------| |Input |Filter | | | |------------------------------|---------------------------------------------------| | |Weight | | | |------------------------------|---------------------------------------------------| | |Split File | | | |------------------------------|---------------------------------------------------| | |N of Rows in Working Data File|9 | |-----------------------------|------------------------------|---------------------------------------------------| |Missing Value Handling |Definition of Missing |User-defined missing values are treated as missing.| | |------------------------------|---------------------------------------------------| | |Cases Used |All non-missing data are used. | |-----------------------------|------------------------------|---------------------------------------------------| |Syntax |RANK x. | |-----------------------------|------------------------------|---------------------------------------------------| |Resources |Processor Time |00 00:00:00,015 | | |------------------------------|---------------------------------------------------| | |Elapsed Time |00 00:00:00,019 | |-----------------------------|------------------------------|---------------------------------------------------| |Variables Created or Modified|Rx |Rank of x | |-----------------------------|------------------------------|---------------------------------------------------| Created Variables(b) |---------------|--------|------------|---------| |Source Variable|Function|New Variable|Label | |---------------|--------|------------|---------| |xa |Rank |Rx |Rank of x| |---------------|--------|------------|---------| a. Ranks are in ascending order. b. Mean rank of tied values is used for ties. DISPLAY DICTIONARY. File Information Notes |---------------------------------------------|---------------------| |Output Created |30-dec.-2012 09:02:00| |---------------------------------------------|---------------------| |Comments | | |--------------|------------------------------|---------------------| |Input |Filter | | | |------------------------------|---------------------| | |Weight | | | |------------------------------|---------------------| | |Split File | | | |------------------------------|---------------------| | |N of Rows in Working Data File|9 | |--------------|------------------------------|---------------------| |Syntax |DISPLAY DICTIONARY. | |--------------|------------------------------|---------------------| |Resources |Processor Time |00 00:00:00,000 | | |------------------------------|---------------------| | |Elapsed Time |00 00:00:00,000 | |--------------|------------------------------|---------------------| Variable Information |--------|--------|---------|-----------------|-----|------------|---------|------------|------------| |Variable|Position|Label |Measurement Level|Role |Column Width|Alignment|Print Format|Write Format| |--------|--------|---------|-----------------|-----|------------|---------|------------|------------| |x |1 | |Nominal |Input|3 |Right |F1 |F1 | |--------|--------|---------|-----------------|-----|------------|---------|------------|------------| |gender |2 | |Nominal |Input|8 |Left |A1 |A1 | |--------|--------|---------|-----------------|-----|------------|---------|------------|------------| |Rx |3 |Rank of x|Scale |Input|11 |Right |F9.3 |F9.3 | |--------|--------|---------|-----------------|-----|------------|---------|------------|------------| Variables in the working file TEMPORARY. SELECT IF (gender="f"). RANK x /ntiles (2) into y1. RANK Notes |------------------------------------------------------------|---------------------------------------------------| |Output Created |30-dec.-2012 09:02:01 | |------------------------------------------------------------|---------------------------------------------------| |Comments | | |-----------------------------|------------------------------|---------------------------------------------------| |Input |Filter | | | |------------------------------|---------------------------------------------------| | |Weight | | | |------------------------------|---------------------------------------------------| | |Split File | | | |------------------------------|---------------------------------------------------| | |N of Rows in Working Data File|5 | |-----------------------------|------------------------------|---------------------------------------------------| |Missing Value Handling |Definition of Missing |User-defined missing values are treated as missing.| | |------------------------------|---------------------------------------------------| | |Cases Used |All non-missing data are used. | |-----------------------------|------------------------------|---------------------------------------------------| |Syntax |RANK x /ntiles (2) into y1. | |-----------------------------|------------------------------|---------------------------------------------------| |Resources |Processor Time |00 00:00:00,171 | | |------------------------------|---------------------------------------------------| | |Elapsed Time |00 00:00:00,229 | |-----------------------------|------------------------------|---------------------------------------------------| |Variables Created or Modified|y1 |Percentile Group of x | |-----------------------------|------------------------------|---------------------------------------------------| Created Variables(c) |---------------|-----------------|------------|---------------------| |Source Variable|Function |New Variable|Label | |---------------|-----------------|------------|---------------------| |xa |Percentile Groupb|y1 |Percentile Group of x| |---------------|-----------------|------------|---------------------| a. Ranks are in ascending order. b. 2 groups are generated. c. Mean rank of tied values is used for ties. FREQUENCIES y1. Frequencies Notes |-----------------------------------------------------|---------------------------------------------------| |Output Created |30-dec.-2012 09:02:01 | |-----------------------------------------------------|---------------------------------------------------| |Comments | | |----------------------|------------------------------|---------------------------------------------------| |Input |Filter | | | |------------------------------|---------------------------------------------------| | |Weight | | | |------------------------------|---------------------------------------------------| | |Split File | | | |------------------------------|---------------------------------------------------| | |N of Rows in Working Data File|9 | |----------------------|------------------------------|---------------------------------------------------| |Missing Value Handling|Definition of Missing |User-defined missing values are treated as missing.| | |------------------------------|---------------------------------------------------| | |Cases Used |Statistics are based on all cases with valid data. | |----------------------|------------------------------|---------------------------------------------------| |Syntax |FREQUENCIES y1. | |----------------------|------------------------------|---------------------------------------------------| |Resources |Processor Time |00 00:00:00,000 | | |------------------------------|---------------------------------------------------| | |Elapsed Time |00 00:00:00,535 | |----------------------|------------------------------|---------------------------------------------------| Statistics Percentile Group of x |-|-------|-| |N|Valid |5| | |-------|-| | |Missing|4| |-|-------|-| Percentile Group of x |--------------|---------|-------|-------------|------------------| | |Frequency|Percent|Valid Percent|Cumulative Percent| |-------|------|---------|-------|-------------|------------------| |Valid |1 |2 |22,2 |40,0 |40,0 | | |------|---------|-------|-------------|------------------| | |2 |3 |33,3 |60,0 |100,0 | | |------|---------|-------|-------------|------------------| | |Total |5 |55,6 |100,0 | | |-------|------|---------|-------|-------------|------------------| |Missing|System|4 |44,4 | | | |-------|------|---------|-------|-------------|------------------| |Total |9 |100,0 | | | |--------------|---------|-------|-------------|------------------| TEMPORARY. SELECT IF (gender="m"). RANK x /ntiles (2) into y2. RANK Notes |------------------------------------------------------------|---------------------------------------------------| |Output Created |30-dec.-2012 09:02:02 | |------------------------------------------------------------|---------------------------------------------------| |Comments | | |-----------------------------|------------------------------|---------------------------------------------------| |Input |Filter | | | |------------------------------|---------------------------------------------------| | |Weight | | | |------------------------------|---------------------------------------------------| | |Split File | | | |------------------------------|---------------------------------------------------| | |N of Rows in Working Data File|4 | |-----------------------------|------------------------------|---------------------------------------------------| |Missing Value Handling |Definition of Missing |User-defined missing values are treated as missing.| | |------------------------------|---------------------------------------------------| | |Cases Used |All non-missing data are used. | |-----------------------------|------------------------------|---------------------------------------------------| |Syntax |RANK x /ntiles (2) into y2. | |-----------------------------|------------------------------|---------------------------------------------------| |Resources |Processor Time |00 00:00:00,016 | | |------------------------------|---------------------------------------------------| | |Elapsed Time |00 00:00:00,018 | |-----------------------------|------------------------------|---------------------------------------------------| |Variables Created or Modified|y2 |Percentile Group of x | |-----------------------------|------------------------------|---------------------------------------------------| Created Variables(c) |---------------|-----------------|------------|---------------------| |Source Variable|Function |New Variable|Label | |---------------|-----------------|------------|---------------------| |xa |Percentile Groupb|y2 |Percentile Group of x| |---------------|-----------------|------------|---------------------| a. Ranks are in ascending order. b. 2 groups are generated. c. Mean rank of tied values is used for ties. FREQUENCIES y2. Frequencies Notes |-----------------------------------------------------|---------------------------------------------------| |Output Created |30-dec.-2012 09:02:02 | |-----------------------------------------------------|---------------------------------------------------| |Comments | | |----------------------|------------------------------|---------------------------------------------------| |Input |Filter | | | |------------------------------|---------------------------------------------------| | |Weight | | | |------------------------------|---------------------------------------------------| | |Split File | | | |------------------------------|---------------------------------------------------| | |N of Rows in Working Data File|9 | |----------------------|------------------------------|---------------------------------------------------| |Missing Value Handling|Definition of Missing |User-defined missing values are treated as missing.| | |------------------------------|---------------------------------------------------| | |Cases Used |Statistics are based on all cases with valid data. | |----------------------|------------------------------|---------------------------------------------------| |Syntax |FREQUENCIES y2. | |----------------------|------------------------------|---------------------------------------------------| |Resources |Processor Time |00 00:00:00,000 | | |------------------------------|---------------------------------------------------| | |Elapsed Time |00 00:00:00,000 | |----------------------|------------------------------|---------------------------------------------------| Statistics Percentile Group of x |-|-------|-| |N|Valid |4| | |-------|-| | |Missing|5| |-|-------|-| Percentile Group of x |--------------|---------|-------|-------------|------------------| | |Frequency|Percent|Valid Percent|Cumulative Percent| |-------|------|---------|-------|-------------|------------------| |Valid |1 |2 |22,2 |50,0 |50,0 | | |------|---------|-------|-------------|------------------| | |2 |2 |22,2 |50,0 |100,0 | | |------|---------|-------|-------------|------------------| | |Total |4 |44,4 |100,0 | | |-------|------|---------|-------|-------------|------------------| |Missing|System|5 |55,6 | | | |-------|------|---------|-------|-------------|------------------| |Total |9 |100,0 | | | |--------------|---------|-------|-------------|------------------|