[EpiData-list] Res: EpiData-list Digest, Vol 55, Issue 11

epidata-list at lists.umanitoba.ca epidata-list at lists.umanitoba.ca
Thu May 15 19:00:29 CDT 2008


Hi Susan

Did you try  " " ?

  1 espanol
  2 "mayormente espanol"
  3 "espanol e ingles igual"
  4 "mayormente ingles"
  5 "ingles solamente"

Hope this help,
Fúlvio
Porto Alegre - Brasil


----- Mensagem original ----
De: "epidata-list-request at lists.umanitoba.ca" <epidata-list-request at lists.umanitoba.ca>
Para: epidata-list at lists.umanitoba.ca
Enviadas: Quinta-feira, 15 de Maio de 2008 14:01:57
Assunto: EpiData-list Digest, Vol 55, Issue 11

Send EpiData-list mailing list submissions to
    epidata-list at lists.umanitoba.ca

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.umanitoba.ca/mailman/listinfo/epidata-list
or, via email, send a message with subject or body 'help' to
    epidata-list-request at lists.umanitoba.ca

You can reach the person managing the list at
    epidata-list-owner at lists.umanitoba.ca

When replying, please edit your Subject line so it is more specific
than "Re: Contents of EpiData-list digest..."
EpiData-list mailing list
___________________________________Today's Topics:

   1. value labels error message (epidata-list at lists.umanitoba.ca)
   2. legal use? (epidata-list at lists.umanitoba.ca)
   3. combined numeric text variable (epidata-list at lists.umanitoba.ca)
   4. Re: combined numeric text variable
      (epidata-list at lists.umanitoba.ca)
   5. Re: legal use? (epidata-list at lists.umanitoba.ca)
   6. Re: value labels error message (epidata-list at lists.umanitoba.ca)
________________________________________
EpiData-list at lists.umanitoba.ca
http://lists.umanitoba.ca/mailman/listinfo/epidata-list
When I try to enter a string under “value label”  LABEL Label_hablaespan
  1 espanol
  2 mayormente espanol
  3 espanol e ingles igual
  4 mayormente ingles
  5 ingles solamente
END

It says “Missing label for one or more accepted values.”  I have tried entering
legal values 1-5 and/or omitting values, but I still get this message, which I
don’t know how to correct.


Susan Caplan

Message recieved:

The check file C:\Documents and Settings\Susan Caplan\My Documents\database
diss\databaseimmigrant.chk contains the following errors:



Value is not compatible with this field type in line 33:
  COMMENT LEGAL USE label_dm2

Value is not compatible with this field type in line 46:
  COMMENT LEGAL USE label_dm4


LABELBLOCK
  LABEL label_dm2
    lang  pref
    1.  Spanish
    2.  English
  END
  LABEL label_dm4
    1.  nuevo
    2.  previa
  END

1)  What is wrong with the field types in the above variables?
2) The above message continues repeating and I am not allowed to edit/revise
checks, but must clear all checks to get back into check dialogue



Susan

I want to create a variable that is numeric ## and text
___________________________ for a fill in response such as “other”.  However, a
combination of text and numeric within the same variable creates two variables. 
For statistical purposes I don’t want to opt for text only.  Suggestions?


Susan Caplan, RN, MSN, FNP-BC
Yale University
PhD Student in Nursing

Susan - glad to see you are using EpiData. I think you just need to look 
at some of the sample files to get over the initial step of learning 
some of the syntax.

You cannot create a variable of mixed type (##____________). This will 
always create two variables and this is how you need to set up your 
file. Although programs like Access will let you create patterns for 
data entry, they will not let you create mixed type variables. You will 
find that EpiData has huge advantages.

I suggest you just set up your data entry line as follows

somevar ##__________________________

EpiData creates two fields (variables), named "somevar" and "somevar01" 
- may vary depending on your settings. This is actually exactly what you 
want. You can then set a range or legal values on the ## field to be 
sure the entry is correct. If you need to combine them into one at some 
point, this is very easy in EpiData or any other software.

In your other postings, there are a couple of things to watch out for - 
these are explained in the short introduction file.
1) In the check file, text that has any spaces or other special 
characters must be put into regular quotes

3 "espanol e ingles igual"

2) If your entry field is ##, do not use decimal points in the range or 
legal values

  LABEL label_dm2
    lang  pref
    1 Spanish
    2 English
  END


While a number of us will be glad to offer help as you get started, I 
encourage you to look at examples, at the list serv archives and at all 
of the help files for guidance.

Jamie
> I want to create a variable that is numeric ## and text
> ___________________________ for a fill in response such as “other”.  However, a
> combination of text and numeric within the same variable creates two variables. 
> For statistical purposes I don’t want to opt for text only.  Suggestions?
>
>
> Susan Caplan, RN, MSN, FNP-BC
> Yale University
> PhD Student in Nursing

1) The line.

    lang  pref

should be marked as a comment with a * sign at the begin of the line

2) the dot after the numbers should be removed.

check file :
LABELBLOCK
    LABEL label_dm2
       1 Spanish
       2 English
    END
    LABEL label_dm4
       1 nuevo
       2 previa
    END
END

The type of dm2 and dm4 must be integer of size 1 (#)
  
> Message recieved:
>
> The check file C:\Documents and Settings\Susan Caplan\My Documents\database
> diss\databaseimmigrant.chk contains the following errors:
>
>
>
> Value is not compatible with this field type in line 33:
>   COMMENT LEGAL USE label_dm2
>
> Value is not compatible with this field type in line 46:
>   COMMENT LEGAL USE label_dm4
>
>
> LABELBLOCK
>   LABEL label_dm2
>     lang  pref
>     1.  Spanish
>     2.  English
>   END
>   LABEL label_dm4
>     1.  nuevo
>     2.  previa
>   END
>
> 1)  What is wrong with the field types in the above variables?
> 2) The above message continues repeating and I am not allowed to edit/revise
> checks, but must clear all checks to get back into check dialogue
>
>
>
> Susan
> _______________________________________________
> EpiData-list mailing list
> EpiData-list at lists.umanitoba.ca
> http://lists.umanitoba.ca/mailman/listinfo/epidata-list
>  


-- 
Jean-Marie Chrétien
CHU  d'Angers - Centre de Recherche Clinique
4 rue Larrey 49933 ANGERS Cedex 9
Tel : 02.41.35.59.76
Fax : 02.41.35.59.68



Dear Susan,

You must enclose your labels with double quotes when they contains spaces:

2 "mayormente espanol"
...

Jean-Marie Chrétien
> When I try to enter a string under “value label”  LABEL Label_hablaespan
>   1 espanol
>   2 mayormente espanol
>   3 espanol e ingles igual
>   4 mayormente ingles
>   5 ingles solamente
> END
>
> It says “Missing label for one or more accepted values.”  I have tried entering
> legal values 1-5 and/or omitting values, but I still get this message, which I
> don’t know how to correct.
>
>
> Susan Caplan
> _______________________________________________
> EpiData-list mailing list
> EpiData-list at lists.umanitoba.ca
> http://lists.umanitoba.ca/mailman/listinfo/epidata-list
>  


-- 
Jean-Marie Chrétien
CHU  d'Angers - Centre de Recherche Clinique
4 rue Larrey 49933 ANGERS Cedex 9
Tel : 02.41.35.59.76
Fax : 02.41.35.59.68


      Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/


More information about the EpiData-list mailing list