|Subject:||Re: Question regarding Select Cases|
|Date:||Thu, 14 Jan 2016 12:19:53 -0600|
|User-agent:||Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0|
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:
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:
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.
On 1/14/2016 12:05 PM, Ed Nelson wrote:
-- 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
|[Prev in Thread]||Current Thread||[Next in Thread]|