I want to know what test to use to compare 2 percentages from the same sample.
My study is as follows: I conducted a survey on 50 people regarding consent for 2 tests (X and Y). 48 people consented to test X, 40 people consented to test Y. So the consent rate for test X would be 48/50 (96%) and the consent rate for test Y would be 40/50 (80%).
How to compare these two percentages? Can I say the consent rate for test X is better than the consent rate for test Y? How to know if this is statistically significant? I tried Fisher's exact test and I tried to generate a contingency table, but I don’t know whether I can apply Fisher's exact test for non mutually exclusive data.