The release of September 2nd is a minor update for Manager and EpiData
Analysis, in
which a few bug have been found and fixed.
Manager:
* Fixed bug where exporting to STATA did not export valuelabels.
* Added support for importing .rec files with password protection.
* Fixed minor bug where importing .rec files with valuelabels under
special circumstances were not imported correctly.
* Fixed significant bug in importing structure of STATA files could
render computer useless (HUGE memory usage).
* Fixed significant bug where deleting a section, with fields/heading
moved out of could also delete the fields/headings.
* Added "space extender". A heading is placed a "page" down on the
designer, to extend the working area for placing fields, sections and
headings.
Analysis:
* Fixed a bug where importing project files .epx/.epz would create a
buggy .chk file on saving data from within Analysis.
====================================
Regards
Torsten Christiansen and Jens Lauritsen
EpiData Association
We can use the following for the conditional value label look-up,
disease
AFTER ENTRY
IF (disease='A') THEN
GOTO subtypeA
EXIT
ENDIF
IF (disease='B') THEN
GOTO subtypeB
ENDIF
END
END
subtypeA
COMMENT LEGAL USE label_subtypea SHOW
TYPE COMMENT
END
subtypeB
COMMENT LEGAL USE label_subtypeb SHOW
TYPE COMMENT
END
Bijay Adhikari
On Fri, Sep 2, 2011 at 11:00 AM, <epidata-list-request(a)lists.umanitoba.ca>wrote:
> Send EpiData-list mailing list submissions to
> epidata-list(a)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(a)lists.umanitoba.ca
>
> You can reach the person managing the list at
> epidata-list-owner(a)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: conditional value label look-up?
> (epidata-list(a)lists.umanitoba.ca)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 1 Sep 2011 20:29:35 -0400
> From: epidata-list(a)lists.umanitoba.ca
> Subject: Re: [EpiData-list] conditional value label look-up?
> To: epidata-list(a)lists.umanitoba.ca
> Message-ID: <BLU0-SMTP55572154E8DD723E0CAE91FD180(a)phx.gbl>
> Content-Type: text/plain; charset="us-ascii"
>
> This is possible in the current version of EpiData. The syntax is shown in
> the help file (.chk commands --> comment legal). It only works for comment
> legal, not for legal. In my tests, it sometimes get confused. You can also
> implement it, if your lists are short (as in your example), using nested if
> ... then blocks. This may be better as the logic should be simple enough and
> it will be bullet-proof. You can also provide error messages using the help
> command.
>
> In the test version, there is not yet an equivalent way to do this, but
> here is what I would do:
>
> create 4 fields:
>
> disease
> sub1
> sub2
> subtype (string only will work)
>
> disease has jumps, to either sub1 or sub2, depending on its value
> sub1 and sub2 have appropriate legal values, ranges or value labels
> sub1 and sub2 have a calculation: subtype=sub1 in sub1 and subtype=sub2 in
> sub2
>
> subtype is NOENTER
>
> sub1 and sub2 have to jump to the field past subtype. I'm not sure whether
> an unconditional jump is implemented yet. This may be problematic.
>
> Jamie
>
> On 2011-08-31, at 4:30 PM, epidata-list(a)lists.umanitoba.ca wrote:
>
> > Is there a way to do a conditional value label look up in either the
> current or in the new test version of EpiData?
> >
> > For instance, if field disease equals A then field subtype has values
> 1,2,3 for selection, if field disease equals B then field subtype has values
> 4,5,6, etc.
> >
> > Thank-you, and well done to the development team for excellent progress.
>
>
>
> ------------------------------
>
> ________________________________________
> EpiData-list(a)lists.umanitoba.ca
> http://lists.umanitoba.ca/mailman/listinfo/epidata-list
>
>
> End of EpiData-list Digest, Vol 95, Issue 2
> *******************************************
>
--
Regards,
ABJ
"It is not the strongest of the species that survives, nor the most
intelligent, but the one most responsive to change." Charles Darwin
Greetings.
Is there a way to do a conditional value label look up in either the current
or in the new test version of EpiData?
For instance, if field disease equals A then field subtype has values 1,2,3
for selection, if field disease equals B then field subtype has values
4,5,6, etc.
Thank-you, and well done to the development team for excellent progress.
_______________________________________
Stephen Drew
Health Data Analyst
Region of Waterloo Public Health
Waterloo, ON
========================================================================
Thanks Stephen,
what about using the expression if:
Example for disease A
disease_A
BEFORE ENTRY
IF disease_A = 1 or "AFP"
THEN Symptom = 1
GOTO admission
ENDIF
END
END
Next thing to be done is the following expression
IF disease_B = 2 or "Yellow_Fever"
THEN Symptom = 3
GOTO admission_tropic (i.e another subtype)
ENDIF
END
END
As you can see this can be very time consuming, however it could best done
at the data management stage where you could create or generate new variable
appropriately before cracking on with the analysis.
However, if you really want to proceed with: "A then field subtype has
values 1,2,3 for selection" then the other thing that you could do would be
to assign a unique code; such as if field subtype has values 1,2,3, then
coded it 1, for value 4-7 coded it 2; this will make it easy.
I am struggling to understand why you need values 1, 2, 3 in the same field
at the same time?
Hope this helps
Best wishes
Tieble
On 1 September 2011 18:00, <epidata-list-request(a)lists.umanitoba.ca> wrote:
> Send EpiData-list mailing list submissions to
> epidata-list(a)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(a)lists.umanitoba.ca
>
> You can reach the person managing the list at
> epidata-list-owner(a)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. conditional value label look-up? (epidata-list(a)lists.umanitoba.ca)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 31 Aug 2011 16:30:53 -0400
> From: epidata-list(a)lists.umanitoba.ca
> Subject: [EpiData-list] conditional value label look-up?
> To: "'epidata-list(a)lists.umanitoba.ca'"
> <epidata-list(a)lists.umanitoba.ca>
> Message-ID:
> <
> 51AB587E44A99647912C34562ECADA570AF45AFBA1(a)MAIL.region.waterloo.on.ca>
>
> Content-Type: text/plain; charset="us-ascii"
>
> Greetings.
>
> Is there a way to do a conditional value label look up in either the
> current or in the new test version of EpiData?
>
> For instance, if field disease equals A then field subtype has values 1,2,3
> for selection, if field disease equals B then field subtype has values
> 4,5,6, etc.
>
> Thank-you, and well done to the development team for excellent progress.
> _______________________________________
> Stephen Drew
> Health Data Analyst
> Region of Waterloo Public Health
> Waterloo, ON
>
>
>
> ------------------------------
>
> ________________________________________
> EpiData-list(a)lists.umanitoba.ca
> http://lists.umanitoba.ca/mailman/listinfo/epidata-list
>
>
> End of EpiData-list Digest, Vol 95, Issue 1
> *******************************************
>
--
<http://www.vet2011.org/calendrier3.php>http://vet2011.org
Vet for health, Vet for food, Vet for the planet !
<http://www.mgavm.ru/>
Greetings.
Is there a way to do a conditional value label look up in either the current or in the new test version of EpiData?
For instance, if field disease equals A then field subtype has values 1,2,3 for selection, if field disease equals B then field subtype has values 4,5,6, etc.
Thank-you, and well done to the development team for excellent progress.
_______________________________________
Stephen Drew
Health Data Analyst
Region of Waterloo Public Health
Waterloo, ON