res analysis