The interstellar medium is crucial to understanding the physics of active galaxies and the coevolution between supermassive black holes and their host galaxies. However, direct gas measurements are limited by sensitivity and other uncertainties. Dust provides an efficient indirect probe of the total gas. We apply this technique to a large sample of quasars, whose total gas content would be prohibitively expensive to measure. We present a comprehensive study of the full (1 to 500{mu}m) infrared spectral energy distributions of 87 redshift <0.5 quasars selected from the Palomar-Green sample, using photometric measurements from 2MASS, WISE, and Herschel, combined with Spitzer mid-infrared (5-40{mu}m) spectra. With a newly developed Bayesian Markov Chain Monte Carlo fitting method, we decompose various overlapping contributions to the integrated spectral energy distribution, including starlight, warm dust from the torus, and cooler dust on galaxy scales. This procedure yields a robust dust mass, which we use to infer the gas mass, using a gas-to-dust ratio constrained by the host galaxy stellar mass. Most (90%) quasar hosts have gas fractions similar to those of massive, star-forming galaxies, although a minority (10%) seem genuinely gas-deficient, resembling present-day massive early-type galaxies. This result indicates that "quasar mode" feedback does not occur or is ineffective in the host galaxies of low-redshift quasars. We also find that quasars can boost the interstellar radiation field and heat dust on galactic scales. This cautions against the common practice of using the far-infrared luminosity to estimate the host galaxy star formation rate.
The existence of submillimeter-selected galaxies (SMGs) at redshifts z>4 has recently been confirmed. Simultaneously using all the available data from UV to radio, we have modeled the spectral energy distributions of the six known spectroscopically confirmed SMGs at z>4. We find that their star formation rates (average ~2500M_{sun}_/yr), stellar (~3.6x10^11^M_{sun}_) and dust (~6.7x10^8^M_{sun}_) masses, extinction (A_V_~2.2mag), and gas-to-dust ratios (~60) are within the ranges for 1.7<z<3.6 SMGs. Our analysis suggests that infrared-to-radio luminosity ratios of SMGs do not change up to redshift ~5 and are lower by a factor of ~2.1 than the value corresponding to the local IR-radio correlation. However, we also find dissimilarities between z>4 and lower-redshift SMGs. Those at z>4 tend to be among the most star-forming, least massive, and hottest (~60K) SMGs and exhibit the highest fraction of stellar mass formed in the ongoing starburst (~45%).