In R
, I have a dataset of many variables and based on correlation matrix I see that some of the variable are correlate with the others. For simplicity, let's assume that there are three variables $X, Y, Z$ that have high pairwise correlation coefficients. But it seems that information about the variable $Y$ is already included in the variable $Z$. How can I check (in R or in Python) if $X$ is dependent on $Y$ given $Z$?
$\begingroup$
$\endgroup$
2
R
that iscoplot
. Example in stats.stackexchange.com/questions/203494/… $\endgroup$