Dear all,
I have a continuous variable X that i categorized into 4 quartiles (1,2,3 and 4). i also have a binary variable Y (1=obese, 0=normal-weight). i can see from the tab command that obesity prevalence is lower in quartile 4 as compared to quartile 1 (table below). How do i go to test the prevalence of obesity between the quartiles or at least between Q1 and Q4.

Thanks in advance

Stat 15.1 Mac