sequential_regression
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
sequential_regression [2019/10/18 07:24] – [r] hkimscil | sequential_regression [2019/10/18 07:33] – [r] hkimscil | ||
---|---|---|---|
Line 197: | Line 197: | ||
$method | $method | ||
[1] " | [1] " | ||
+ | |||
+ | ## zero-order correlation | ||
+ | > cor(datavar) | ||
+ | bankaccount | ||
+ | bankaccount | ||
+ | income | ||
+ | famnum | ||
+ | > | ||
</ | </ | ||
Line 214: | Line 222: | ||
+ | | | bankaccount | ||
+ | | bankaccount | ||
+ | | income | ||
+ | | famnum | ||
+ | |||
+ | < | ||
+ | pcor.test(datavar$bankaccount, | ||
+ | pcor.test(datavar$bankaccount, | ||
+ | |||
+ | spcor.test(datavar$bankaccount, | ||
+ | spcor.test(datavar$bankaccount, | ||
+ | </ | ||
+ | . . . | ||
+ | < | ||
+ | > pcor.test(datavar$bankaccount, | ||
+ | | ||
+ | 1 0.7825112 0.01267595 | ||
+ | > pcor.test(datavar$bankaccount, | ||
+ | | ||
+ | 1 -0.672856 0.04702022 -2.406425 10 1 pearson | ||
+ | > | ||
+ | > spcor.test(datavar$bankaccount, | ||
+ | | ||
+ | 1 0.5646726 0.113182 | ||
+ | > spcor.test(datavar$bankaccount, | ||
+ | estimate | ||
+ | 1 -0.4086619 0.2748117 -1.184655 10 1 pearson | ||
+ | > | ||
+ | > | ||
+ | |||
+ | </ |
sequential_regression.txt · Last modified: 2022/05/22 21:50 by hkimscil