## Hypothesis testing: sign test

Hi,

If you wished to perform hypothesis testing on medians two sets of samples of size, say 10-20, testing $H_0: m_1=m_2$ vs $m_1 < m_2$, how would you go about doing this?

Could I set up a table with two columns the values of each sample, then their difference, and use the sign test? This is how you'd do it for testing the value of one median, but I was not sure about comparing two.

thanks