A stochastic excitation and corresponding dictionary matching scheme is presented for quantifying metabolite concentrations, longitudinal relaxation times and transmit inhomogeneity in single voxel proton magnetic resonance spectroscopy in the human brain.