Deterministic analysis of extrinsic and intrinsic noise in an epidemiological model