In EpiData, the default for tables is to put the higher values first. So if you code yes=1 and no=0 then the top left corner of a 2x2 table will be for yes,yes. If you code yes=1 and no=2, then add /sw to the tables command. This switches the order:
tab case exposure /sw
There is lots of help for the tab (tables) command. Just type tab and then press <F1>
In Epi Info for DOS, you have to recode variables to make the "No" value higher than the "Yes" value. e.g. for yes=1 and no=0 case = 2-case exposure = 2-exposure tables exposure case
For Odds Ratios, there is no need to recode. For Relative Risk, you must have the fields in the right order and have yes, yes in the top left. Notice that EpiData has better syntax in that the outcome field is first, followed by one or more exposures.
I haven't used the windows versions of EpiInfo for years, so I don't know whether there is a way to reorder cells without recoding.
Jamie
On 2010-10-12, at 9:31 PM, epidata-list@lists.umanitoba.ca wrote:
A little while ago when you answered my question about changing the Boolean fields to 0-1, you mentioned there was a way in both EpiData Analysis and EpiInfo to reverse the order that two by two tables were shown, that would help in a situation where 0 was no and yes was 1 (so the 1 or yes answers appeared first in the table). I have looked around Epi Info but couldn't find a setting like this. Could you let me know how to do it? And also how to do it in Epidata analysis? I
Many thanks
Christine