Dear All, Thank you for your kind considerations and replies! Best regards ziad
On Fri, Oct 23, 2009 at 7:00 PM, epidata-list-request@lists.umanitoba.ca wrote:
Send EpiData-list mailing list submissions to epidata-list@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@lists.umanitoba.ca
You can reach the person managing the list at epidata-list-owner@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. Re: Re: EpiData-list Digest, Vol 72, Issue 7 (epidata-list@lists.umanitoba.ca) 2. Re: Relational data (epidata-list@lists.umanitoba.ca) 3. AW: [EpiData-list] Re: EpiData-list Digest, Vol 72, Issue 7 (epidata-list@lists.umanitoba.ca) 4. Re: Rename fields (epidata-list@lists.umanitoba.ca)
MIME-version: 1.0 Content-type: message/rfc822
Date: Thu, 22 Oct 2009 19:24:18 +0200 From: epidata-list@lists.umanitoba.ca Subject: Re: [EpiData-list] Re: EpiData-list Digest, Vol 72, Issue 7 To: epidata-list@lists.umanitoba.ca Message-id: q0874s2gsqxtuof.221020091924@mail.zimi.ch MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT Precedence: list Message: 1
I guess, you have to go back to your REC file, go to Tools | Rename fields, and change each of the two fields to names with 8 or fewer characters. While it is nice that EpiData offers a maximum field length of 10, it might be wise (as example shows) not to exhaust the maximum if the data are to be analyzed in other software limiting the allowable length to 8.
Hans
epidata-list@lists.umanitoba.ca wrote:
Hi! I have had 2 date related vaiables called "datebase1" and "datebase2" in EpiData. When exported them into STATA, they are showing as "datebase" and "datebase" and both variables contain the same value now which is not correct.
It might be due to the total number of characters for the variable name, but my question is how can I fix it?
Best regards ziad
-- Hans L Rieder, MD, MPH Web: http://www.tbrieder.org
MIME-version: 1.0 Content-type: message/rfc822
Date: Thu, 22 Oct 2009 18:19:07 +0100 From: epidata-list@lists.umanitoba.ca Subject: [EpiData-list] Re: Relational data To: epidata-list@lists.umanitoba.ca Message-id: bf1bb7700910221019x66fae18fu8701efc4679ae0c7@mail.gmail.com MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT Precedence: list Message: 2
Dear Ziad,
Perhaps it may be better to merge the files to produce one file of observations (all levels should be included). If you decide to go through this route, please remember that this can be done in EpiData Analysis using the MERGE command.
Best wishes
Tieble
2009/10/22 epidata-list-request@lists.umanitoba.ca
Send EpiData-list mailing list submissions to epidata-list@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@lists.umanitoba.ca
You can reach the person managing the list at epidata-list-owner@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. Re: EpiData-list Digest, Vol 72, Issue 7 (epidata-list@lists.umanitoba.ca)
Message: 1 Date: Thu, 22 Oct 2009 08:15:08 +0200 From: epidata-list@lists.umanitoba.ca Subject: [EpiData-list] Re: EpiData-list Digest, Vol 72, Issue 7 To: epidata-list@lists.umanitoba.ca Message-ID: 897a5cf60910212315r4894a4b8t6cd37fa5668cbd6f@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1
Hi! I have had 2 date related vaiables called "datebase1" and "datebase2" in EpiData. When exported them into STATA, they are showing as "datebase" and "datebase" and both variables contain the same value now which is not correct.
It might be due to the total number of characters for the variable name, but my question is how can I fix it?
Best regards ziad
EpiData-list@lists.umanitoba.ca http://lists.umanitoba.ca/mailman/listinfo/epidata-list
End of EpiData-list Digest, Vol 72, Issue 8
MIME-version: 1.0 Content-type: message/rfc822
Date: Thu, 22 Oct 2009 20:12:21 +0200 From: epidata-list@lists.umanitoba.ca Subject: AW: [EpiData-list] Re: EpiData-list Digest, Vol 72, Issue 7 To: epidata-list@lists.umanitoba.ca Message-id: 2B0BDB25934D824280073BE8D73FBB980C8D33@mx01.ispm.unibe.ch MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable Precedence: list Message: 3 References: 200910181700.n9IH09lG005149@electra.cc.umanitoba.ca 897a5cf60910212315r4894a4b8t6cd37fa5668cbd6f@mail.gmail.com
In the export function to Stata there is an Option you can chose...you = need to chose Stata version 8 (or higher) then variable names do not get = truncated to 8 characters. I think that will work Marcel
Marcel Zwahlen Institute of Social and Preventive Medicine University Bern, Switzerland phone ++41-31-631.3554 facsimile ++41-31-631.3520 http://www.ispm.unibe.ch/=20 =20
-----Urspr=FCngliche Nachricht----- Von: epidata-list@lists.umanitoba.ca = [mailto:epidata-list@lists.umanitoba.ca]=20 Gesendet: Donnerstag, 22. Oktober 2009 08:15 An: epidata-list@lists.umanitoba.ca Betreff: [EpiData-list] Re: EpiData-list Digest, Vol 72, Issue 7
Hi! I have had 2 date related vaiables called "datebase1" and "datebase2" in EpiData. When exported them into STATA, they are showing as = "datebase" and "datebase" and both variables contain the same value now = which is not correct.
It might be due to the total number of characters for the variable name, = but my question is how can I fix it?
Best regards ziad
MIME-version: 1.0 Content-type: message/rfc822
Date: Thu, 22 Oct 2009 22:42:16 -0200 From: epidata-list@lists.umanitoba.ca Subject: [EpiData-list] Re: Rename fields To: epidata-list@lists.umanitoba.ca Message-id: a37cfb5a0910221742r78ad51ctc0e1b9af5f73cc48@mail.gmail.com MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable Precedence: list Message: 4
Ziad,
First of all always backup your data before doing dangerous things such as renaming variables.
That is simple. The first sugestion is to use EpiData entry tools menu... there is something like rename fields(my menus are in portuguese) ... this may help.
Another solution is to export two splits of the dataset to stata, one containing the first the datebase but without the second datebase and a second dataset with only the unique identifier and the second datebase. Later, already with stata, you may rename the varibles and merge the two datasets side by side with the unique identifier.
Best regards,
Abra=E7o forte e que a for=E7a esteja com voc=EA,
Dr. Pedro Emmanuel A. A. do Brasil Instituto de Pesquisa Cl=EDnica Evandro Chagas Funda=E7=E3o Oswaldo Cruz Rio de Janeiro - Brasil
2009/10/22 epidata-list-request@lists.umanitoba.ca
Send EpiData-list mailing list submissions to epidata-list@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@lists.umanitoba.ca
You can reach the person managing the list at epidata-list-owner@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. Re: EpiData-list Digest, Vol 72, Issue 7 (epidata-list@lists.umanitoba.ca)
Message: 1 Date: Thu, 22 Oct 2009 08:15:08 +0200 From: epidata-list@lists.umanitoba.ca Subject: [EpiData-list] Re: EpiData-list Digest, Vol 72, Issue 7 To: epidata-list@lists.umanitoba.ca Message-ID: 897a5cf60910212315r4894a4b8t6cd37fa5668cbd6f@mail.gmail.com Content-Type: text/plain; charset=3DISO-8859-1
Hi! I have had 2 date related vaiables called "datebase1" and "datebase2" in EpiData. When exported them into STATA, they are showing as "datebase" and "datebase" and both variables contain the same value now which is not correct.
It might be due to the total number of characters for the variable name, but my question is how can I fix it?
Best regards ziad
EpiData-list@lists.umanitoba.ca http://lists.umanitoba.ca/mailman/listinfo/epidata-list
End of EpiData-list Digest, Vol 72, Issue 8
EpiData-list@lists.umanitoba.ca http://lists.umanitoba.ca/mailman/listinfo/epidata-list