Contextual Analysis: Concepts and Statistical Techniques