how stress is affected by perception