There's actually someone who studies this. They did a story on him on Discoveries this Week on the Discovery Science Channel in the summer of 2003 I think. My general chemistry teacher played it to my class (this is college) and said, "You see, science can be fun." This woman constantly screwed up Lewis dot structures, did not understand significant figures, and had a lot of difficultly calculating moles, so maybe you can understand the level of my teacher.
Anyway, from what I remember he found that an average person farts 11 times a day with what is of course variable composition. I think he said that it's mainly sulfur compounds though. But it of course depends on your diet.