Ed,

I've never used the GUI to select cases but when I choose Data > Select
Cases and move a variable into "Use filter variable" it generates
"FILTER BY" syntax and that syntax is explained here:

http://www.gnu.org/software/pspp/manual/html_node/FILTER.html

which only works if you have already created a filter variable with
values 1 and 0. I prefer the old way of doing this, which requires
syntax.  If I want to run frequencies on men (SEX=0) then I type this:

Temporary.
Select if( SEX = 0 ).
FREQ / AGE WHATEVER.

What this does is select the cases where SEX equals zero but only for
the next statistical routine.  So, the "Temporary." command is
automatically undone after FREQ runs.

If you leave off the "Temporary." command, the dataset in memory is
permanently changed. Sometimes I do that and just don't save it.

-Alan


On 1/14/2016 12:05 PM, Ed Nelson wrote:
> Could someone help me on how to use the select cases option.  Let's
> say I want to select out the males for analysis.  I click on Data and
> on Select Cases.  I'm assuming I want to use a filter variable and
> would put SEX into the box to the right of use filter variable.  But
> then what?  When I click on OK I don't see any indication that it has
> selected out the males.  If I run a frequency distribution for SEX I
> still get both males and females.  SPSS will put a line through the
> row number for the cases that have been filtered out but PSPP
> doesn't.  Thanks.
>
>   Ed
>
> -- 
> Ed Nelson
> Professor Emeritus of Sociology
> CSU Fresno
> 559-978-9391
> ednel...@csufresno.edu
>
>
> _______________________________________________
> Pspp-users mailing list
> Pspp-users@gnu.org
> https://lists.gnu.org/mailman/listinfo/pspp-users

-- 

Alan D. Mead, Ph.D.
President, Talent Algorithms Inc.

science + technology = better workers

+815.588.3846 (Office)
+267.334.4143 (Mobile)

http://www.alanmead.org

Announcing the Journal of Computerized Adaptive Testing (JCAT), a
peer-reviewed electronic journal designed to advance the science and
practice of computerized adaptive testing: http://www.iacat.org/jcat

_______________________________________________
Pspp-users mailing list
Pspp-users@gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users

Reply via email to