Personally I usually get more work done at home (especially since there is no commute time) but I also usually work more hours because I get constantly interrupted at home and context switching is hard (at least for me) (wife and kids = interruptions). Even though I love being able to see my family more, saving money on gas, etc I still prefer to work the majority of my time at an office mostly because it's far easier for me to avoid context switches at an office than at home (switching too much is exhausting).