Switching the reference variable in ODDS RATIO for contingency tables

Discuss statistics related things
Post Reply
Ahmad.samir
Posts: 1
Joined: Thu May 23, 2024 4:40 pm

Switching the reference variable in ODDS RATIO for contingency tables

Post by Ahmad.samir »

Hi there,
Iam relatively new to Jamovi (Mac OS version) switching from SPSS and Medcalc (when was MS windows)

My question is
when I do 2x2 contingency tables (like A-B vs X-Y), and I request Odds ratio
by default, Jamovi considers the first enlisted value as the reference (A vs B),
is there a way to change that for B vs A [considering B as the reference value for that variable]

Simply
Iam listing hypertension as 0 and 1 (for no and yes respectively)
upon odds ratio testing, Jamovi gave me the OR for being non hypertensive versus being hypertensive, while I exactly need the opposite...
decaux
Posts: 29
Joined: Wed Feb 19, 2020 1:35 pm

Re: Switching the reference variable in ODDS RATIO for contingency tables

Post by decaux »

Where you label and specify the measure type you just need to swap the no/yes (or 0/1) in the levels box.
Post Reply