A conditioning plot or co-plot or subset plot is a scatter plot of two variables when conditioned on a third variable. The third variable is called the conditioning variable. This variable can have both values either continuous or categorical. In the continuous variable, we created subsets by dividing them into a smaller range of values. In categorical variables, the subsets are created based on different categories.
Let’s take three variables X, Y and Z. Z be the variable which we divided into the k groups. Here, there are many ways in which a group can be formed such as:
- By dividing the data into equal size of k groups.
- By dividing the data into different clusters on the basis of scatter plot.
- By dividing the range of data points into equal values.
- The categorical data have natural grouping on the basis of different categories of the dataframe.
Then, we plot n rows and m columns matrix where n*m >= k. Each set of (row, column) represents an individual scatter plot, in which each scatters plot consists of the following components.
- Vertical Axis: Variable Y
- Horizontal Axis: Variable X
where, points in the group corresponding to row i and column j are used.
The conditioning plot provides the answer to the following questions:
- Is there any relationship between the two variables?
- If there is a relationship then, does the nature of the relationship depend upon the third variable?
- Do different groups in the data behave similarly?
- Are there any outliers in the data?
Attention reader! Don’t stop learning now. Get hold of all the important Machine Learning Concepts with the Machine Learning Foundation Course at a student-friendly price and become industry ready.