PSELECT= person selection criterion = *, all persons

Persons to be selected may be specified by using the PSELECT= instruction to match characters within the person name. Persons deleted by PDFILE= etc. are never selected by PSELECT=.

 

This can be done before analysis in the control file or with "Extra specifications". It can also be done after the analysis using the "Specification" pull-down menu.

 

Persons to be selected may be specified by using the PSELECT= instruction to match characters within the person name. Persons deleted by PDFILE= etc. are never selected by PSELECT=.

 

This can be done before analysis in the control file or with "Extra specifications". It can also be done after the analysis using the "Specification" pull-down menu.

 

Selection rules:

Control characters match label or name. They start at the first column of the label or name.

?

matches any character

*

matches any string of characters - must be last selection character.

If * is in the first column, then every available person or item is selected.

A

matches A in the person label, and similarly all other characters except { }

{..}

braces characters which can match a single character: {ABC} matches A or B or C.

{.. - ..}

matches single characters in a range. {0-9} matches digits in the range 0 to 9.

{.. --..}

matches a single "-" {AB--} matches A or B or "-".

{~ABX}

omits persons or items which match A or B or X

@fieldname=

positions the next selection character at the start of the specified field

 

Each PSELECT= performed using the "Specification" pull-down menu selects from all those analyzed. For incremental selections from the Specification menu, i.e., selecting from those already selected, specify +PSELECT=

 

Example 0: In Example 0, select only Males:

PSELECT=@GENDER=M

In Example 0, select only Males with last names starting with R

PSELECT=@GENDER=M?R

 

Example 1: Select for analysis only persons with M in the 5th column of person name. Person name starts in column 6 of the data record:

   NAME1=6  Person name field starts in col. 6

   NAMLEN=8  Person name field is 8 characters long

PSELECT=????M* Column 5 of person name is sex

|

END NAMES

xxxxxBPL M J 01101000101001 selected

xxxxxMEL F S 01001000111100 omitted

-----1234 selection column

 

Example 2: Select for analysis all persons with code "A 4" in columns 2-4 of their names. Person name starts in column 23, so target characters starts in column 24:

NAME1=23  person name starts in column 23

PSELECT="?A 4*" quotes because a blank is included. A is in col. 2 etc.

selects  ZA 4PQRS

 

Example 3: Select all Male (M in column 2) persons who are Asian or Hispanic (A or H in column 4):

PSELECT=?M?{AH}*

selects 1M3A456 MPQRS

selects 1M5H689 ABCDE

omits   1X2A123 QWERT

 

Example 4: Select Males (M in column 8) in School 23 (023 in column 14-16):

PSELECT= ???????M?????023*

Selects: 1234567MABCDE023XYZ

 

Example 5: Select codes 1,2,3,4,5,6,7, in column 2:

PSELECT=?{1-7}*

 

Example 6: Analyze only males (column 4 or person-id). Then report only School C (column 1). Then only report Grades 4 and 5 (column 2) in School C.

 

PSELECT=???M* in the Control file or at the Extra Specifications prompt.

PSELECT=C*  using the Specification pull-down menu, after the analysis

+PSELECT=?{45}* using the Specification pull-down menu.

 

Example 7: There are 100000 examinees from 17 school districts in one data file. I want to process only 16 districts.

 

If the district code is one character, then you can select the 16 codes you want, for instance:

If the codes are letters in column 4 of the person label

PSELECT=???{ABDEFGHIJKLMNOPQR}

or

PSELECT=???{~C} ; omits unwanted school district C

 

Example 8: If the field to be selected is already identified, then this simplifies counting the column:

@Dx = 16E17 ; $C44W2

16E17 means that the field is in columns 16 and 17 of the person label. Look at a data record to see what is actually there.

PSELECT=???????????????23 ; selects "23" in columns 16 and 17

 

Example 9: We want person group X (in column 4 of the person label) except for subgroups 11, 24 (in columns 6, 7 of the person label):

PSELECT = "???X?{12}{14}"  ; this selects X and 11, 14, 21, 24

EDFILE=*

"?????14" "?" . ; convert 14 to missing data

"?????21" "?" . ; convert 21 to missing data

*

 

Example 10: Item statistics are needed for each person classification.

 

If you want PSELECT= to alter the item statistics, then please do separate Winsteps analyses for each PSELECT= value. Place the PSELECT= in your control file, or enter it at the "Extra Specifications (if any)" prompt. This PSELECT= will change what is shown for the persons and the items.

 
If you want to keep the item difficulties, person abilities and rating scale structure from the complete analysis, rather than re-estimating them. Then
Complete analysis -> PFILE=pf.txt, IFILE=if.txt, SFILE=sf.txt,
PAFILE=pf.txt, IAFILE=if.txt, SAFILE=sf.txt, PSELECT= -> selected analysis.
 
The "Specification" pull-down menu alter what is included in directly-relevant output tables.
So, entering PSELECT= at the "Specification" pull-down menu will change what is shown in the person tables, but not what is shown in the item tables.


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

The Languages of Love: draw a map of yours!

For more information, contact info@winsteps.com or use the Contact Form
 

Facets Rasch measurement software. Buy for $149. & site licenses. Freeware student/evaluation download
Winsteps Rasch measurement software. Buy for $149. & site licenses. Freeware student/evaluation download

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

 

Forum Rasch Measurement Forum to discuss any Rasch-related topic

Click here to add your email address to the Winsteps and Facets email list for notifications.

Click here to ask a question or make a suggestion about Winsteps and Facets software.

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 Winsteps & Facets Events
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
Oct. 12 - Nov. 9, 2018, Fri.-Fri. On-line workshop: Practical Rasch Measurement - Core Topics (E. Smith, Winsteps), www.statistics.com

 

 

Our current URL is www.winsteps.com

Winsteps® is a registered trademark
 


 
John "Mike" L.'s Wellness Report: I'm 72, take no medications and, March 2018, my doctor is annoyed with me - I'm too healthy!
According to Wikipedia, the human body requires about 30 minerals, maybe more. There are 60 naturally-occurring minerals in the liquid Mineral Supplement which I take daily.