[EpiData-list] Command Select

EpiData development and support epidata-list at lists.umanitoba.ca
Mon Feb 8 05:05:25 CST 2021


Thank you for your response.

Example with my own file.

 

.freq castem;

  castem  

-----------

         N

-----------

     1 153

     2 150

     3 632

-----------

Total 935

-----------

 

.select castem<>3 do;

Selecting, please wait...

(303 of 935 selected)

 

.begin;                               ==> No operative (idem begin without <
; >)

ERROR: Line 1: Syntax error at pos 7: 

ERROR: Unexpected end of line!

Perhaps a ";" is missing?

 

 

.freq castem;  ==> no selection...

  castem  

-----------

         N

-----------

     1 153

     2 150

     3 632

-----------

Total 935

-----------

 

.select castem=1 do drop data; ==> objective : keep codage 1

 

Selecting, please wait...

(153 of 935 selected)

 

(153 observations dropped)

 

.freq castem; ==> Selection code<> 1 (link avec drop data ?)

  castem  

-----------

         N

-----------

     2 150

     3 632

-----------

Total 782

-----------

 

And an another (and last) question : how to delete the current selection?
 
Thank you.
 
Bernard Branger, Nantes, France

 



More information about the EpiData-list mailing list