Smoothness with Respect to Noise Parameters for Parabolic/hyperbolic Anderson Model with Regular or Rough Noise in Space