Stimulus response theory