Do you ride mountain or road? And what are your inseam measurements?

I am 5'5" and have an inseam of 30. According to my calculations that means I would ride a 15.5" frame for a mountain bike. Can you go bigger or smaller? Would it be too hard for me to ride say a 17" frame?