Page 1 of 1

Switching the reference variable in ODDS RATIO for contingency tables

Posted: Fri May 24, 2024 6:59 am
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...

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

Posted: Sun Jun 09, 2024 11:53 am
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.