filmov
tv
Partial correlation with multiple control variables

Показать описание
// Partial correlation with multiple control variables //
This video shows how to conduct a partial correlation given a third variable in R.
Remember, that partial correlation measures the degree of association between two variables, controlling for other associated variables, in this case only one additional variable.
I'll show conducting a partial correlation with the convenient ppcor-package and its pcor()-function. It is necessary aforehand to remove cases with missing values, which I will also show.
Finally, you can compare the bivariate correlation with the partial correlation and see if the correlation increased, decreased or remained the same, when controlling for a third variable.
Example
=======
In my example I want to correlation IQ and income and want to control for the association of each with age and motivation.
⏰ Timestamps:
==============
0:00 Introduction
0:05 Prerequisites
0:37 Using pcor() for partial correlation
1:02 Interpreting partial correlation results
If you have any questions or suggestions regarding Partial correlation with multiple control variables, please use the comment function. Thumbs up or down to decide if you found the video helpful.
#useR #statorials
Support channel? 🙌🏼
===================
Thank you for your support! ♥
This video shows how to conduct a partial correlation given a third variable in R.
Remember, that partial correlation measures the degree of association between two variables, controlling for other associated variables, in this case only one additional variable.
I'll show conducting a partial correlation with the convenient ppcor-package and its pcor()-function. It is necessary aforehand to remove cases with missing values, which I will also show.
Finally, you can compare the bivariate correlation with the partial correlation and see if the correlation increased, decreased or remained the same, when controlling for a third variable.
Example
=======
In my example I want to correlation IQ and income and want to control for the association of each with age and motivation.
⏰ Timestamps:
==============
0:00 Introduction
0:05 Prerequisites
0:37 Using pcor() for partial correlation
1:02 Interpreting partial correlation results
If you have any questions or suggestions regarding Partial correlation with multiple control variables, please use the comment function. Thumbs up or down to decide if you found the video helpful.
#useR #statorials
Support channel? 🙌🏼
===================
Thank you for your support! ♥
Комментарии