Partial correlation in R with one control variable

Описание к видео Partial correlation in R with one control variable

// Partial correlation with one control variable //

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.test()-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 control for the association of motivation with IQ and income.


⏰ Timestamps:
==============
0:00 Introduction
0:13 Prerequisites
0:39 Using pcor.test() for partial correlation
1:33 Comparing bivariate and partial correlation


If you have any questions or suggestions regarding Partial correlation with one control variable in R, please use the comment function. Thumbs up or down to decide if you found the video helpful.

#useR #statorials


Support channel? 🙌🏼
===================
Paypal donation: https://www.paypal.com/paypalme/Bjoer...
Amazon affiliate link: https://amzn.to/49BqP5H

Thank you for your support! ♥

Комментарии

Информация по комментариям в разработке