A system for identifying potential portions of a body in which electrical stimulation to treat a condition or disorder affects at least one symptom of the condition or disorder, stimulation effect, or side effect performs the following acts: obtaining, for each of multiple stimulation instances, an estimation of a region of the body stimulated during the stimulation instance and a score for each of at least one symptom, stimulation effect, or stimulation side effect; and determining, for each of multiple portions of the body using the scores and the estimates in a permutation test, a likelihood that stimulation of that portion of the body affects at least one symptom, stimulation effect, or stimulation side effect. In other embodiments, the system sets up a relationship between the outcomes of stimulation and influence of a particular part of the body on the outcome, and derives this influence using a pseudoinverse.