I find that with Photomatix, if I stack JPG files the final stacked image is much noisier than if I stack RAW files.