Svar: [EpiData-list] In analysis

epidata-list at lists.umanitoba.ca epidata-list at lists.umanitoba.ca
Fri Oct 22 09:49:54 CDT 2004


One further aspect of select:
One user wrote 
> The last data set I worked on included 5,227 records.
> The data base was originally on Excel, then I imported it in DBase
III,
> and then in Epi Data. For variables with only one character (for
> instance sex: M or F), I have in fact 12 chararcters. So I could not
> select the variable sex = \"M\" without the \"trim\" gimmick. So
doing
> select trim (sex)=\"M\" now it works beautifully. Thanks a lot
Arnaud

So the select example should be extended to say:
* if imported data and select is not working, try trim() on your field,
e.g.:
 select trim (sex)="M"

regards Jens Lauritsen




More information about the EpiData-list mailing list