Let's say I conduct a survey of randomly selected 100 people, asking each of them two questions:
- "Do you like NY?"
- "Do you like LA?".
All 100 people responded. Among them, 60 answered "yes" about NY, and 65 answered "yes" about LA.
My null hypothesis is that that the fraction of US population who like New York is the same as the fraction who like Los Angeles. How can I test it?
I was hoping to use two-sample t-test, but I guess it's not right since my two samples are not independent: the same 100 people are answering both questions.