Correlation and matching





## 
##  Pearson's product-moment correlation
## 
## data:  rai$rai_pat and rai$rai_pro
## t = 4.4175, df = 29, p-value = 0.0001275
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  0.3610068 0.8071650
## sample estimates:
##       cor 
## 0.6342182
##  Patient score greater Provider score greater            Same scores 
##                     11                      4                     16




Patient score
< 30 30-36 37+
< 30 19 7 0
30-36 1 1 2
37+ 0 0 1



67.7% (or 21/31) had the same grouping

29.0% (or 9/31) had a higher patient grouping

3.2% (or 1/31) had a higher provider grouping





Individual questions



More subjective questions?



During the last 3 months has it become difficult for you to remember things or organize your thoughts?

Patient score
No Yes
No 21 3
Yes 1 2


Have you lost weight of 10 pounds or more in the past 3 months without trying?

Patient score
No Yes
No 23 3
Yes 2 0



Medical history



Any kidney failure, kidney not working well, or seeing a kidney doctor (nephrologist)?

Patient score
No
No 27
Yes 1



Any history of chronic (long-term) congestive heart failure (CHF)?

Patient score
No Yes
No 25 1
Yes 0 1



In the past five years, have you been diagnosed with or treated for cancer?

Patient score
No Yes
No 25 1
Yes 1 1



ADLs



Toileting ADL

##    
##      1  2
##   1 26  2

1 = Can use toilet without help

2 = Needs help getting to or from toilet



Hygiene ADL

##    
##      1  3  4
##   1 26  1  1
##   X  3  0  0

1 = Can shower of bathe without prompt or help

3 = Needs helps preparing the tub or shower

4 = Needs some help with some elements of washing





Considering time between exams



## 
##  Pearson's product-moment correlation
## 
## data:  rai$rai_difference_abs and rai$clinical_to_pat
## t = 1.2451, df = 29, p-value = 0.2231
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  -0.1402716  0.5367607
## sample estimates:
##      cor 
## 0.225265



Time between exams vs. specific questions



## # A tibble: 3 × 7
##   clinical_to_pat kidney_pat kidney_pro hf_pat hf_pro cancer_pat cancer_pro
##             <dbl>      <dbl>      <dbl>  <dbl>  <dbl>      <dbl>      <dbl>
## 1             261          0          1      1      1          0          0
## 2             118          0          0      1      0          1          0
## 3              76          0          0      0      0          0          1



## # A tibble: 9 × 6
##   id    clinical_to_pat wt_loss_pat wt_loss_pro memory_pat memory_pro
##   <fct>           <dbl>       <dbl>       <dbl>      <dbl>      <dbl>
## 1 46                 29           0           0          1          0
## 2 43                 36           0           0          1          0
## 3 28                 65           1           0          1          1
## 4 26                 76           1           0          0          0
## 5 24                 86           0           0          0          1
## 6 32                106           1           0          0          0
## 7 18                111           0           1          0          0
## 8 11                142           0           1          0          0
## 9 13                142           0           0          1          0





CAN analysis


## 
##  Pearson's product-moment correlation
## 
## data:  rai_can$rai_pat and rai_can$CAN
## t = 2.3945, df = 26, p-value = 0.02414
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  0.06178628 0.68889555
## sample estimates:
##      cor 
## 0.425065
## 
##  Pearson's product-moment correlation
## 
## data:  rai_can$rai_pro and rai_can$CAN
## t = 1.7961, df = 26, p-value = 0.08412
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  -0.04662844  0.62752525
## sample estimates:
##       cor 
## 0.3322279





JEN-FI analysis


## 
##  Pearson's product-moment correlation
## 
## data:  rai_jenfi$rai_pat and rai_jenfi$JENFI
## t = 2.467, df = 28, p-value = 0.02001
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  0.07346502 0.67939424
## sample estimates:
##       cor 
## 0.4225505
## 
##  Pearson's product-moment correlation
## 
## data:  rai_jenfi$rai_pro and rai_jenfi$JENFI
## t = 2.043, df = 28, p-value = 0.05056
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  -0.0001011239  0.6377009586
## sample estimates:
##       cor 
## 0.3601812



CAN vs. JEN-FI


## 
##  Pearson's product-moment correlation
## 
## data:  rai_jenfi_can$CAN and rai_jenfi_can$JENFI
## t = 2.2102, df = 26, p-value = 0.0361
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  0.02891545 0.67119194
## sample estimates:
##       cor 
## 0.3977021








Loss of appetite

Patient score
0 1
0 25 1
1 1 0



Getting around ADL

##    
##      1  2  4
##   1 16  1  0
##   2  1  9  1



Eating ADL

##    
##      1  3
##   1 26  1
##   3  0  1