Stress!

I started a new job today. I was really anxious and nervous this morning. But after an hour or so, I relaxed and I really enjoyed my day. I left there feeling confident. I didn't eat all day because of my nerves. So when I came home I had a packet of crisps to tie me over till dinner. I was sat on the sofa, and without any warning I poop'd myself. (Sorry tmi) I don't feel unwell. This has happened once or twice in the past. Could this be a mixture of my nerves and not eating?