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. Person and item selections must be in quotation marks " " if they contain blanks or tabs, and follow the 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 these: { }"

{..}

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

{" "}

matches a blank in the label

@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

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

PSELECT=@GENDER=M?{~R}

To select only Males and Females, not missing data codes or data entry errors:

PSELECT=@GENDER={MF}

 

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.

 

Example 11: Select persons by ability level:

We need a code in the person label for the person's performance level:

Suggestion: analyze the data with Winsteps

Output the original data codes with IPMATRIX=, the person labels and the person measures to Excel

Sort the Excel worksheet by person measure: put the level code in a new Excel columns

Winsteps Excel/RSSST menu to go from the Excel worksheet back to the Winsteps control and data file. Include the level code  column with the person label

Add in the scoring key etc.

Analyze the revised Winsteps control and data file

Then we can PSELECT= each performance level

 


Help for Winsteps Rasch Measurement and Rasch Analysis 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

Rasch Books and Publications
Invariant Measurement: Using Rasch Models in the Social, Behavioral, and Health Sciences, 2nd Edn, 2024 George Engelhard, Jr. & Jue Wang Applying the Rasch Model (Winsteps, Facets) 4th Ed., Bond, Yan, Heene Advances in Rasch Analyses in the Human Sciences (Winsteps, Facets) 1st Ed., Boone, Staver Advances in Applications of Rasch Measurement in Science Education, X. Liu & W. J. Boone Rasch Analysis in the Human Sciences (Winsteps) Boone, Staver, Yale
Introduction to Many-Facet Rasch Measurement (Facets), Thomas Eckes Statistical Analyses for Language Testers (Facets), Rita Green Invariant Measurement with Raters and Rating Scales: Rasch Models for Rater-Mediated Assessments (Facets), George Engelhard, Jr. & Stefanie Wind Aplicação do Modelo de Rasch (Português), de Bond, Trevor G., Fox, Christine M Appliquer le modèle de Rasch: Défis et pistes de solution (Winsteps) E. Dionne, S. Béland
Exploring Rating Scale Functioning for Survey Research (R, Facets), Stefanie Wind Rasch Measurement: Applications, Khine Winsteps Tutorials - free
Facets Tutorials - free
Many-Facet Rasch Measurement (Facets) - free, J.M. Linacre Fairness, Justice and Language Assessment (Winsteps, Facets), McNamara, Knoch, Fan
Other Rasch-Related Resources: Rasch Measurement YouTube Channel
Rasch Measurement Transactions & Rasch Measurement research papers - free An Introduction to the Rasch Model with Examples in R (eRm, etc.), Debelak, Strobl, Zeigenfuse Rasch Measurement Theory Analysis in R, Wind, Hua Applying the Rasch Model in Social Sciences Using R, Lamprianou El modelo métrico de Rasch: Fundamentación, implementación e interpretación de la medida en ciencias sociales (Spanish Edition), Manuel González-Montesinos M.
Rasch Models: Foundations, Recent Developments, and Applications, Fischer & Molenaar Probabilistic Models for Some Intelligence and Attainment Tests, Georg Rasch Rasch Models for Measurement, David Andrich Constructing Measures, Mark Wilson Best Test Design - free, Wright & Stone
Rating Scale Analysis - free, Wright & Masters
Virtual Standard Setting: Setting Cut Scores, Charalambos Kollias Diseño de Mejores Pruebas - free, Spanish Best Test Design A Course in Rasch Measurement Theory, Andrich, Marais Rasch Models in Health, Christensen, Kreiner, Mesba Multivariate and Mixture Distribution Rasch Models, von Davier, Carstensen
As an Amazon Associate I earn from qualifying purchases. This does not change what you pay.

facebook Forum: Rasch Measurement Forum to discuss any Rasch-related topic

To receive News Emails about Winsteps and Facets by subscribing to the Winsteps.com email list,
enter your email address here:

I want to Subscribe: & click below
I want to Unsubscribe: & click below

Please set your SPAM filter to accept emails from Winsteps.com
The Winsteps.com email list is only used to email information about Winsteps, Facets and associated Rasch Measurement activities. Your email address is not shared with third-parties. Every email sent from the list includes the option to unsubscribe.

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


 

 

 

Our current URL is www.winsteps.com

Winsteps® is a registered trademark