Ethical Dilemmas in Psychological Research: Do the Ends Justify the Means?

Often times in Psychology psychologists are faced with the dilemma of following their code of ethics. While this may seem simple at first it often gets muddied when important research is involved as this specific code can often make it substantially more difficult to obtain valid and reliable results. So the question becomes is it okay to allow for the disregard of their ethical code as psychologists to acquire the best results? In order, to explore this topic in a more grounded manner the infamous Stanford Prison Experiment will be used as an example.