1
$\begingroup$

if we have $p$ variables, the number of scatter plots we have is :

$p(p-1)/2$.

Why is this so? Is there any one who can explain this formula?

$\endgroup$
1

2 Answers 2

0
$\begingroup$

When you have p variables and would like to have scatter plots for 2 variables each then number of combinations come upto p combination 2(Pc2 # P subscript C subscript 2) by expanding the formula you get p(p-1)/2

sorry i don't know to add subscripts here so i wrote subscript

$\endgroup$
4
$\begingroup$

When you represent all the scatter plots, you only want to plot the pairs of different variables. And:

$$\binom{p}{2}=\frac{p(p-1)}2$$

As @NickCox stressed, the plot of $y$ versus $x$ contains the same points as that of $x$ versus $y$ (up to exchange of axes).

$\endgroup$
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.