Perceived Neighborhood Disorder and Cognitive Function (with mean neighborhood scores)

Trail Making Test Part A (Model 1)

#load data file
load(file="/Users/meganwilliams/Desktop/Neighborhood and Cognitive Function/Data/TrailsA.Rda")

#run simple model
TMTA = lmer(TrailsAtestSec~age + PhysDisorder + CollectEfficacy + PovStat + Sex + Race + (1|HNDid) + age*PhysDisorder + age*CollectEfficacy, data=TrailsA)

#summary of results
summary(TMTA)
## Linear mixed model fit by REML t-tests use Satterthwaite approximations
##   to degrees of freedom [lmerMod]
## Formula: 
## TrailsAtestSec ~ age + PhysDisorder + CollectEfficacy + PovStat +  
##     Sex + Race + (1 | HNDid) + age * PhysDisorder + age * CollectEfficacy
##    Data: TrailsA
## 
## REML criterion at convergence: 37696.7
## 
## Scaled residuals: 
##        Min         1Q     Median         3Q        Max 
## -2.3483481 -0.2298424 -0.1036433  0.0399552 10.9708224 
## 
## Random effects:
##  Groups   Name        Variance  Std.Dev.
##  HNDid    (Intercept)  447.6392 21.15749
##  Residual             1938.4845 44.02822
## Number of obs: 3557, groups:  HNDid, 2243
## 
## Fixed effects:
##                          Estimate    Std. Error            df  t value
## (Intercept)           30.32948204    6.22503272 3278.66300000  4.87218
## age                    0.78195857    0.64066739 3416.30000000  1.22054
## PhysDisorder          -0.82962691    0.94073660 3310.99200000 -0.88189
## CollectEfficacy        0.23267934    1.22228217 3337.97600000  0.19036
## PovStatBelow           5.66640342    1.84257872 1406.74700000  3.07526
## SexMen                 6.42634037    1.77013566 1343.80000000  3.63042
## RaceAfrAm              8.95653861    1.80484989 1322.15300000  4.96248
## age:PhysDisorder      -0.15850957    0.10117793 3386.02400000 -1.56664
## age:CollectEfficacy    0.05119441    0.12979779 3387.17500000  0.39442
##                       Pr(>|t|)
## (Intercept)         1.1561e-06
## age                 0.22234542
## PhysDisorder        0.37789991
## CollectEfficacy     0.84903496
## PovStatBelow        0.00214373
## SexMen              0.00029359
## RaceAfrAm           7.8656e-07
## age:PhysDisorder    0.11729188
## age:CollectEfficacy 0.69329828
## 
## Correlation of Fixed Effects:
##             (Intr) age    PhysDs CllctE PvSttB SexMen RcAfrA ag:PhD
## age          0.028                                                 
## PhysDisordr -0.788 -0.025                                          
## CllctEffccy -0.899 -0.017  0.555                                   
## PovStatBelw -0.088 -0.025 -0.102  0.056                            
## SexMen      -0.105 -0.043 -0.025 -0.012  0.056                     
## RaceAfrAm   -0.201  0.016  0.099  0.012 -0.162 -0.013              
## ag:PhysDsrd -0.034 -0.815  0.052  0.018  0.031  0.027 -0.007       
## ag:CllctEff -0.021 -0.923  0.012  0.006  0.028  0.047 -0.013  0.566

Trail Making Test Part A (Model 2)

#load data file
load(file="/Users/meganwilliams/Desktop/Neighborhood and Cognitive Function/Data/TrailsA.Rda")

TMTA = lmer(TrailsAtestSec~(age + PhysDisorder + CollectEfficacy)^3 + PovStat + Sex + Race + (1|HNDid), data=TrailsA)

#summary of results
summary(TMTA)
## Linear mixed model fit by REML t-tests use Satterthwaite approximations
##   to degrees of freedom [lmerMod]
## Formula: 
## TrailsAtestSec ~ (age + PhysDisorder + CollectEfficacy)^3 + PovStat +  
##     Sex + Race + (1 | HNDid)
##    Data: TrailsA
## 
## REML criterion at convergence: 37690.6
## 
## Scaled residuals: 
##        Min         1Q     Median         3Q        Max 
## -2.4498401 -0.2272082 -0.1021342  0.0397379 10.9765755 
## 
## Random effects:
##  Groups   Name        Variance  Std.Dev.
##  HNDid    (Intercept)  462.5301 21.50651
##  Residual             1922.3026 43.84407
## Number of obs: 3557, groups:  HNDid, 2243
## 
## Fixed effects:
##                                      Estimate   Std. Error           df
## (Intercept)                        10.9298093   11.7103577 3505.6790000
## age                                -1.0722984    1.1963679 3544.1490000
## PhysDisorder                        5.4189473    3.2510370 3535.4600000
## CollectEfficacy                     5.6505151    3.0354997 3520.7110000
## PovStatBelow                        5.7737866    1.8461086 1408.8160000
## SexMen                              6.4045297    1.7736139 1345.7050000
## RaceAfrAm                           9.0786472    1.8097527 1328.5680000
## age:PhysDisorder                    0.4628421    0.3448546 3539.2800000
## age:CollectEfficacy                 0.5757856    0.3156785 3544.1560000
## PhysDisorder:CollectEfficacy       -1.8434467    0.9232910 3536.5390000
## age:PhysDisorder:CollectEfficacy   -0.1854274    0.0990001 3540.8440000
##                                   t value   Pr(>|t|)
## (Intercept)                       0.93335 0.35070590
## age                              -0.89629 0.37015619
## PhysDisorder                      1.66684 0.09563548
## CollectEfficacy                   1.86148 0.06276002
## PovStatBelow                      3.12754 0.00179882
## SexMen                            3.61101 0.00031622
## RaceAfrAm                         5.01651 5.9739e-07
## age:PhysDisorder                  1.34214 0.17963761
## age:CollectEfficacy               1.82396 0.06824199
## PhysDisorder:CollectEfficacy     -1.99660 0.04594473
## age:PhysDisorder:CollectEfficacy -1.87300 0.06115044
## 
## Correlation of Fixed Effects:
##             (Intr) age    PhysDs CllctE PvSttB SexMen RcAfrA ag:PhD ag:ClE
## age          0.000                                                        
## PhysDisordr -0.932 -0.019                                                 
## CllctEffccy -0.968  0.007  0.940                                          
## PovStatBelw -0.071 -0.012 -0.002  0.048                                   
## SexMen      -0.069 -0.004  0.006  0.009  0.057                            
## RaceAfrAm   -0.145  0.020  0.071  0.046 -0.161 -0.012                     
## ag:PhysDsrd -0.018 -0.935  0.045  0.013  0.008 -0.013 -0.013              
## ag:CllctEff  0.009 -0.973  0.011 -0.016  0.010 -0.001 -0.018  0.939       
## PhysDsrd:CE  0.847  0.011 -0.957 -0.915 -0.028 -0.015 -0.044 -0.037 -0.005
## ag:PhysD:CE  0.007  0.845 -0.036 -0.005  0.001  0.022  0.012 -0.956 -0.911
##             PhD:CE
## age               
## PhysDisordr       
## CllctEffccy       
## PovStatBelw       
## SexMen            
## RaceAfrAm         
## ag:PhysDsrd       
## ag:CllctEff       
## PhysDsrd:CE       
## ag:PhysD:CE  0.031

Trail Making Test Part B (Model 1)

#load data file
load(file="/Users/meganwilliams/Desktop/Neighborhood and Cognitive Function/Data/TrailsB.Rda")

#Run regression model 
TMTB = lmer(TrailsBtestSec~age + PhysDisorder + CollectEfficacy + PovStat + Sex + Race + (1|HNDid) + age*PhysDisorder + age*CollectEfficacy,data=TrailsB)

#Summary of results 
summary(TMTB)
## Linear mixed model fit by REML t-tests use Satterthwaite approximations
##   to degrees of freedom [lmerMod]
## Formula: 
## TrailsBtestSec ~ age + PhysDisorder + CollectEfficacy + PovStat +  
##     Sex + Race + (1 | HNDid) + age * PhysDisorder + age * CollectEfficacy
##    Data: TrailsB
## 
## REML criterion at convergence: 45358.3
## 
## Scaled residuals: 
##        Min         1Q     Median         3Q        Max 
## -2.4706674 -0.3104809 -0.1486820  0.0540691  3.3807007 
## 
## Random effects:
##  Groups   Name        Variance  Std.Dev. 
##  HNDid    (Intercept) 15064.572 122.73782
##  Residual              9748.175  98.73285
## Number of obs: 3550, groups:  HNDid, 2239
## 
## Fixed effects:
##                         Estimate   Std. Error           df  t value
## (Intercept)          111.2120731   18.4963225 3358.5330000  6.01266
## age                    6.0881107    1.8655536 3128.5310000  3.26343
## PhysDisorder           1.4823319    2.7804418 3274.9870000  0.53313
## CollectEfficacy       -4.9094830    3.5909629 3200.1130000 -1.36718
## PovStatBelow          39.5871887    6.5388523 2147.4290000  6.05415
## SexMen                 9.4208183    6.3220227 2092.2370000  1.49016
## RaceAfrAm             66.6160828    6.4537507 2083.4030000 10.32207
## age:PhysDisorder      -0.2456355    0.2962873 3194.4130000 -0.82905
## age:CollectEfficacy   -0.6639113    0.3784106 3121.4660000 -1.75447
##                       Pr(>|t|)
## (Intercept)         2.0208e-09
## age                  0.0011125
## PhysDisorder         0.5939810
## CollectEfficacy      0.1716658
## PovStatBelow        1.6615e-09
## SexMen               0.1363332
## RaceAfrAm           < 2.22e-16
## age:PhysDisorder     0.4071408
## age:CollectEfficacy  0.0794475
## 
## Correlation of Fixed Effects:
##             (Intr) age    PhysDs CllctE PvSttB SexMen RcAfrA ag:PhD
## age          0.027                                                 
## PhysDisordr -0.761 -0.021                                          
## CllctEffccy -0.878 -0.019  0.524                                   
## PovStatBelw -0.114 -0.019 -0.083  0.055                            
## SexMen      -0.129 -0.036 -0.025 -0.016  0.053                     
## RaceAfrAm   -0.226  0.015  0.081  0.010 -0.158 -0.009              
## ag:PhysDsrd -0.040 -0.803  0.061  0.021  0.025  0.021 -0.004       
## ag:CllctEff -0.020 -0.915  0.004  0.011  0.024  0.040 -0.013  0.544

Trail Making Test Part B (Model 2)

#load data file
load(file="/Users/meganwilliams/Desktop/Neighborhood and Cognitive Function/Data/TrailsB.Rda")

#Run regression model 
TMTB = lmer(TrailsBtestSec~(age + PhysDisorder + CollectEfficacy)^3 + PovStat + Sex + Race + (1|HNDid),data=TrailsB)

#Summary of results 
summary(TMTB)
## Linear mixed model fit by REML t-tests use Satterthwaite approximations
##   to degrees of freedom [lmerMod]
## Formula: 
## TrailsBtestSec ~ (age + PhysDisorder + CollectEfficacy)^3 + PovStat +  
##     Sex + Race + (1 | HNDid)
##    Data: TrailsB
## 
## REML criterion at convergence: 45353.5
## 
## Scaled residuals: 
##        Min         1Q     Median         3Q        Max 
## -2.4758703 -0.3113893 -0.1486802  0.0506533  3.3750834 
## 
## Random effects:
##  Groups   Name        Variance  Std.Dev. 
##  HNDid    (Intercept) 15035.072 122.61758
##  Residual              9764.524  98.81561
## Number of obs: 3550, groups:  HNDid, 2239
## 
## Fixed effects:
##                                       Estimate    Std. Error            df
## (Intercept)                       147.72400645   33.75860858 3029.68720000
## age                                 6.51739607    3.39709536 2855.47450000
## PhysDisorder                      -10.01422602    9.28765757 2912.25980000
## CollectEfficacy                   -15.16861575    8.70600559 2951.12950000
## PovStatBelow                       39.39327188    6.53784231 2146.97380000
## SexMen                              9.33979834    6.32083627 2091.89940000
## RaceAfrAm                          66.35841197    6.45475548 2085.62820000
## age:PhysDisorder                   -0.42090580    0.96956872 2745.64550000
## age:CollectEfficacy                -0.78210624    0.89638313 2856.00780000
## PhysDisorder:CollectEfficacy        3.42109981    2.63633926 2911.49110000
## age:PhysDisorder:CollectEfficacy    0.05142318    0.27871760 2765.99090000
##                                   t value   Pr(>|t|)
## (Intercept)                       4.37589 1.2502e-05
## age                               1.91852   0.055145
## PhysDisorder                     -1.07823   0.281021
## CollectEfficacy                  -1.74232   0.081557
## PovStatBelow                      6.02542 1.9795e-09
## SexMen                            1.47762   0.139660
## RaceAfrAm                        10.28055 < 2.22e-16
## age:PhysDisorder                 -0.43412   0.664238
## age:CollectEfficacy              -0.87251   0.383002
## PhysDisorder:CollectEfficacy      1.29767   0.194503
## age:PhysDisorder:CollectEfficacy  0.18450   0.853635
## 
## Correlation of Fixed Effects:
##             (Intr) age    PhysDs CllctE PvSttB SexMen RcAfrA ag:PhD ag:ClE
## age          0.005                                                        
## PhysDisordr -0.923 -0.027                                                 
## CllctEffccy -0.960  0.000  0.933                                          
## PovStatBelw -0.082 -0.007 -0.003  0.043                                   
## SexMen      -0.081 -0.004  0.004  0.004  0.054                            
## RaceAfrAm   -0.151  0.018  0.055  0.034 -0.157 -0.009                     
## ag:PhysDsrd -0.027 -0.930  0.059  0.024  0.004 -0.011 -0.012              
## ag:CllctEff  0.002 -0.970  0.022 -0.006  0.006  0.000 -0.016  0.933       
## PhysDsrd:CE  0.836  0.021 -0.954 -0.911 -0.023 -0.012 -0.032 -0.052 -0.019
## ag:PhysD:CE  0.018  0.835 -0.053 -0.019  0.003  0.018  0.011 -0.952 -0.906
##             PhD:CE
## age               
## PhysDisordr       
## CllctEffccy       
## PovStatBelw       
## SexMen            
## RaceAfrAm         
## ag:PhysDsrd       
## ag:CllctEff       
## PhysDsrd:CE       
## ag:PhysD:CE  0.051

Attention (Model 1)

#load data file
load(file="/Users/meganwilliams/Desktop/Neighborhood and Cognitive Function/Data/Attention.Rda")

#Run regression model
Attn = lmer(Attention~age + PhysDisorder + CollectEfficacy + PovStat +  Sex + Race + (1|HNDid)  + age*PhysDisorder + age*CollectEfficacy, data=Attention)

#Summary of results
summary(Attn)
## Linear mixed model fit by REML t-tests use Satterthwaite approximations
##   to degrees of freedom [lmerMod]
## Formula: Attention ~ age + PhysDisorder + CollectEfficacy + PovStat +  
##     Sex + Race + (1 | HNDid) + age * PhysDisorder + age * CollectEfficacy
##    Data: Attention
## 
## REML criterion at convergence: 13038.4
## 
## Scaled residuals: 
##         Min          1Q      Median          3Q         Max 
## -2.87493845 -0.51134425  0.01905171  0.57310211  2.44802414 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  HNDid    (Intercept) 2.302311 1.517337
##  Residual             1.996125 1.412843
## Number of obs: 3107, groups:  HNDid, 2071
## 
## Fixed effects:
##                          Estimate    Std. Error            df  t value
## (Intercept)          7.012360e+00  2.698676e-01  3.046961e+03 25.98444
## age                 -1.365008e-01  2.728806e-02  2.930758e+03 -5.00222
## PhysDisorder        -4.763339e-02  4.052521e-02  3.016573e+03 -1.17540
## CollectEfficacy      1.338624e-01  5.252260e-02  2.989740e+03  2.54866
## PovStatBelow        -4.752795e-01  8.916132e-02  2.058831e+03 -5.33056
## SexMen              -2.990183e-01  8.635085e-02  2.020134e+03 -3.46283
## RaceAfrAm           -7.893053e-01  8.768656e-02  2.005724e+03 -9.00144
## age:PhysDisorder     1.406121e-02  4.284938e-03  2.953760e+03  3.28154
## age:CollectEfficacy  2.047754e-02  5.545731e-03  2.942040e+03  3.69249
##                       Pr(>|t|)
## (Intercept)         < 2.22e-16
## age                 6.0017e-07
## PhysDisorder        0.23992689
## CollectEfficacy     0.01086323
## PovStatBelow        1.0863e-07
## SexMen              0.00054566
## RaceAfrAm           < 2.22e-16
## age:PhysDisorder    0.00104441
## age:CollectEfficacy 0.00022611
## 
## Correlation of Fixed Effects:
##             (Intr) age    PhysDs CllctE PvSttB SexMen RcAfrA ag:PhD
## age          0.024                                                 
## PhysDisordr -0.771 -0.021                                          
## CllctEffccy -0.888 -0.016  0.540                                   
## PovStatBelw -0.115 -0.015 -0.085  0.062                            
## SexMen      -0.122 -0.041 -0.021 -0.013  0.059                     
## RaceAfrAm   -0.211  0.011  0.077  0.011 -0.151 -0.012              
## ag:PhysDsrd -0.034 -0.806  0.050  0.022  0.019  0.022 -0.003       
## ag:CllctEff -0.020 -0.919  0.011  0.007  0.024  0.045 -0.008  0.550

Attention (Model 2)

#load data file
load(file="/Users/meganwilliams/Desktop/Neighborhood and Cognitive Function/Data/Attention.Rda")

#Run regression model
Attn = lmer(Attention~(age + PhysDisorder + CollectEfficacy)^3 + PovStat +  Sex + Race + (1|HNDid), data=Attention)

#Summary of results
summary(Attn)
## Linear mixed model fit by REML t-tests use Satterthwaite approximations
##   to degrees of freedom [lmerMod]
## Formula: Attention ~ (age + PhysDisorder + CollectEfficacy)^3 + PovStat +  
##     Sex + Race + (1 | HNDid)
##    Data: Attention
## 
## REML criterion at convergence: 13049.1
## 
## Scaled residuals: 
##         Min          1Q      Median          3Q         Max 
## -2.86425661 -0.51306811  0.01912432  0.56554570  2.46722086 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  HNDid    (Intercept) 2.301822 1.517176
##  Residual             1.995241 1.412530
## Number of obs: 3107, groups:  HNDid, 2071
## 
## Fixed effects:
##                                       Estimate    Std. Error            df
## (Intercept)                       6.337887e+00  4.885703e-01  2.827371e+03
## age                              -1.595451e-01  4.931798e-02  2.689672e+03
## PhysDisorder                      1.676263e-01  1.349359e-01  2.771848e+03
## CollectEfficacy                   3.237552e-01  1.262031e-01  2.785921e+03
## PovStatBelow                     -4.718557e-01  8.917145e-02  2.059093e+03
## SexMen                           -2.992592e-01  8.636445e-02  2.020436e+03
## RaceAfrAm                        -7.852442e-01  8.772678e-02  2.008662e+03
## age:PhysDisorder                  2.221067e-02  1.416386e-02  2.624488e+03
## age:CollectEfficacy               2.697043e-02  1.301311e-02  2.694737e+03
## PhysDisorder:CollectEfficacy     -6.419232e-02  3.843719e-02  2.788247e+03
## age:PhysDisorder:CollectEfficacy -2.432650e-03  4.083647e-03  2.655290e+03
##                                   t value   Pr(>|t|)
## (Intercept)                      12.97231 < 2.22e-16
## age                              -3.23503 0.00123104
## PhysDisorder                      1.24227 0.21424332
## CollectEfficacy                   2.56535 0.01035905
## PovStatBelow                     -5.29156 1.3417e-07
## SexMen                           -3.46507 0.00054115
## RaceAfrAm                        -8.95102 < 2.22e-16
## age:PhysDisorder                  1.56812 0.11697306
## age:CollectEfficacy               2.07256 0.03830827
## PhysDisorder:CollectEfficacy     -1.67006 0.09502021
## age:PhysDisorder:CollectEfficacy -0.59571 0.55142286
## 
## Correlation of Fixed Effects:
##             (Intr) age    PhysDs CllctE PvSttB SexMen RcAfrA ag:PhD ag:ClE
## age         -0.001                                                        
## PhysDisordr -0.923 -0.018                                                 
## CllctEffccy -0.962  0.007  0.934                                          
## PovStatBelw -0.083 -0.009 -0.004  0.047                                   
## SexMen      -0.073 -0.003  0.000  0.001  0.059                            
## RaceAfrAm   -0.143  0.017  0.054  0.034 -0.150 -0.011                     
## ag:PhysDsrd -0.017 -0.929  0.044  0.013  0.007 -0.016 -0.013              
## ag:CllctEff  0.008 -0.970  0.012 -0.015  0.011 -0.002 -0.015  0.933       
## PhysDsrd:CE  0.833  0.011 -0.954 -0.909 -0.023 -0.006 -0.032 -0.038 -0.007
## ag:PhysD:CE  0.008  0.833 -0.037 -0.007 -0.001  0.024  0.012 -0.953 -0.904
##             PhD:CE
## age               
## PhysDisordr       
## CllctEffccy       
## PovStatBelw       
## SexMen            
## RaceAfrAm         
## ag:PhysDsrd       
## ag:CllctEff       
## PhysDsrd:CE       
## ag:PhysD:CE  0.035

Benton Visual Retention Test (Model 1)

#Load data file
load(file="/Users/meganwilliams/Desktop/Neighborhood and Cognitive Function/Data/BVRtot.Rda")

#Run regression model
BVR = lmer(BVRtot~age + PhysDisorder + CollectEfficacy + PovStat + Race + Sex + (1|HNDid) + age*PhysDisorder + age*CollectEfficacy, data=BVRtot)

#Summary of results
summary(BVR)
## Linear mixed model fit by REML t-tests use Satterthwaite approximations
##   to degrees of freedom [lmerMod]
## Formula: BVRtot ~ age + PhysDisorder + CollectEfficacy + PovStat + Race +  
##     Sex + (1 | HNDid) + age * PhysDisorder + age * CollectEfficacy
##    Data: BVRtot
## 
## REML criterion at convergence: 21348.4
## 
## Scaled residuals: 
##        Min         1Q     Median         3Q        Max 
## -3.1933312 -0.4821842 -0.0460755  0.4599724  3.6181497 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  HNDid    (Intercept) 12.45028 3.528495
##  Residual             11.81508 3.437308
## Number of obs: 3605, groups:  HNDid, 2280
## 
## Fixed effects:
##                          Estimate    Std. Error            df  t value
## (Intercept)          7.369587e+00  5.942619e-01  3.547966e+03 12.40124
## age                  2.599594e-01  6.043130e-02  3.411011e+03  4.30174
## PhysDisorder        -1.143609e-01  8.944570e-02  3.517325e+03 -1.27855
## CollectEfficacy     -1.924187e-01  1.161730e-01  3.467115e+03 -1.65631
## PovStatBelow         1.069279e+00  1.990372e-01  2.142459e+03  5.37225
## RaceAfrAm            1.070283e+00  1.962616e-01  2.067823e+03  5.45335
## SexMen              -8.037918e-01  1.921887e-01  2.083088e+03 -4.18231
## age:PhysDisorder    -1.261245e-02  9.551637e-03  3.465163e+03 -1.32045
## age:CollectEfficacy -1.462112e-02  1.229245e-02  3.397614e+03 -1.18944
##                       Pr(>|t|)
## (Intercept)         < 2.22e-16
## age                 1.7422e-05
## PhysDisorder          0.201139
## CollectEfficacy       0.097749
## PovStatBelow        8.6189e-08
## RaceAfrAm           5.5340e-08
## SexMen              3.0053e-05
## age:PhysDisorder      0.186772
## age:CollectEfficacy   0.234350
## 
## Correlation of Fixed Effects:
##             (Intr) age    PhysDs CllctE PvSttB RcAfrA SexMen ag:PhD
## age          0.026                                                 
## PhysDisordr -0.767 -0.017                                          
## CllctEffccy -0.885 -0.017  0.531                                   
## PovStatBelw -0.111 -0.025 -0.086  0.060                            
## RaceAfrAm   -0.217  0.015  0.087  0.008 -0.158                     
## SexMen      -0.117 -0.038 -0.034 -0.018  0.055 -0.009              
## ag:PhysDsrd -0.034 -0.806  0.053  0.016  0.032 -0.006  0.022       
## ag:CllctEff -0.019 -0.918  0.002  0.009  0.027 -0.012  0.041  0.549

Benton Visual Retention Test (Model 2)

#Load data file
load(file="/Users/meganwilliams/Desktop/Neighborhood and Cognitive Function/Data/BVRtot.Rda")

#Run regression model
BVR = lmer(BVRtot~(age + PhysDisorder + CollectEfficacy)^3 + PovStat + Race + Sex + (1|HNDid), data=BVRtot)

#Summary of results
summary(BVR)
## Linear mixed model fit by REML t-tests use Satterthwaite approximations
##   to degrees of freedom [lmerMod]
## Formula: BVRtot ~ (age + PhysDisorder + CollectEfficacy)^3 + PovStat +  
##     Race + Sex + (1 | HNDid)
##    Data: BVRtot
## 
## REML criterion at convergence: 21358.3
## 
## Scaled residuals: 
##        Min         1Q     Median         3Q        Max 
## -3.1844741 -0.4853293 -0.0496038  0.4603096  3.5936348 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  HNDid    (Intercept) 12.43001 3.525621
##  Residual             11.83350 3.439985
## Number of obs: 3605, groups:  HNDid, 2280
## 
## Fixed effects:
##                                       Estimate    Std. Error            df
## (Intercept)                       7.964673e+00  1.091560e+00  3.308289e+03
## age                               3.174379e-01  1.111306e-01  3.163099e+03
## PhysDisorder                     -3.066337e-01  3.012728e-01  3.217651e+03
## CollectEfficacy                  -3.595346e-01  2.824695e-01  3.250423e+03
## PovStatBelow                      1.065712e+00  1.990562e-01  2.142788e+03
## RaceAfrAm                         1.067437e+00  1.963323e-01  2.070444e+03
## SexMen                           -8.026420e-01  1.921887e-01  2.083190e+03
## age:PhysDisorder                 -3.187184e-02  3.183179e-02  3.074906e+03
## age:CollectEfficacy              -3.098916e-02  2.934360e-02  3.147128e+03
## PhysDisorder:CollectEfficacy      5.702048e-02  8.562132e-02  3.216638e+03
## age:PhysDisorder:CollectEfficacy  5.774747e-03  9.144952e-03  3.073645e+03
##                                   t value   Pr(>|t|)
## (Intercept)                       7.29659 3.6771e-13
## age                               2.85644  0.0043121
## PhysDisorder                     -1.01779  0.3088524
## CollectEfficacy                  -1.27283  0.2031707
## PovStatBelow                      5.35382 9.5321e-08
## RaceAfrAm                         5.43689 6.0615e-08
## SexMen                           -4.17632 3.0847e-05
## age:PhysDisorder                 -1.00126  0.3167808
## age:CollectEfficacy              -1.05608  0.2910131
## PhysDisorder:CollectEfficacy      0.66596  0.5054837
## age:PhysDisorder:CollectEfficacy  0.63147  0.5277814
## 
## Correlation of Fixed Effects:
##             (Intr) age    PhysDs CllctE PvSttB RcAfrA SexMen ag:PhD ag:ClE
## age          0.001                                                        
## PhysDisordr -0.925 -0.019                                                 
## CllctEffccy -0.963  0.005  0.935                                          
## PovStatBelw -0.081 -0.016 -0.003  0.046                                   
## RaceAfrAm   -0.145  0.017  0.056  0.033 -0.157                            
## SexMen      -0.071 -0.005 -0.002  0.000  0.056 -0.008                     
## ag:PhysDsrd -0.020 -0.932  0.048  0.016  0.013 -0.011 -0.011              
## ag:CllctEff  0.005 -0.971  0.015 -0.010  0.014 -0.014  0.000  0.935       
## PhysDsrd:CE  0.838  0.014 -0.955 -0.911 -0.024 -0.032 -0.008 -0.041 -0.012
## ag:PhysD:CE  0.012  0.839 -0.042 -0.011 -0.003  0.009  0.018 -0.954 -0.908
##             PhD:CE
## age               
## PhysDisordr       
## CllctEffccy       
## PovStatBelw       
## RaceAfrAm         
## SexMen            
## ag:PhysDsrd       
## ag:CllctEff       
## PhysDsrd:CE       
## ag:PhysD:CE  0.040

Digit Span Foward (Model 1)

#Load data file
load(file="/Users/meganwilliams/Desktop/Neighborhood and Cognitive Function/Data/DigitSpanFwd.Rda")

#Run regression model
DSF = lmer(DigitSpanFwd~age + PhysDisorder + CollectEfficacy + PovStat + Race + Sex + (1|HNDid) + age*PhysDisorder + age*CollectEfficacy, data=DigitSpanFwd)

#Summary of results 
summary(DSF)
## Linear mixed model fit by REML t-tests use Satterthwaite approximations
##   to degrees of freedom [lmerMod]
## Formula: DigitSpanFwd ~ age + PhysDisorder + CollectEfficacy + PovStat +  
##     Race + Sex + (1 | HNDid) + age * PhysDisorder + age * CollectEfficacy
##    Data: DigitSpanFwd
## 
## REML criterion at convergence: 15800.5
## 
## Scaled residuals: 
##        Min         1Q     Median         3Q        Max 
## -4.3035852 -0.4000146 -0.0446650  0.4327982  3.8570766 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  HNDid    (Intercept) 3.392652 1.841915
##  Residual             2.580149 1.606284
## Number of obs: 3513, groups:  HNDid, 2265
## 
## Fixed effects:
##                          Estimate    Std. Error            df  t value
## (Intercept)          7.151473e+00  2.937580e-01  3.413792e+03 24.34478
## age                 -5.620819e-02  2.958056e-02  3.255579e+03 -1.90017
## PhysDisorder        -3.463826e-02  4.404867e-02  3.376430e+03 -0.78636
## CollectEfficacy      1.224757e-01  5.726110e-02  3.299491e+03  2.13890
## PovStatBelow        -4.167073e-01  1.005478e-01  2.226703e+03 -4.14437
## RaceAfrAm           -6.148316e-01  9.930173e-02  2.162768e+03 -6.19155
## SexMen               1.453396e-01  9.714002e-02  2.177711e+03  1.49619
## age:PhysDisorder     8.195484e-03  4.671210e-03  3.314337e+03  1.75447
## age:CollectEfficacy  5.792893e-03  6.024554e-03  3.225449e+03  0.96155
##                       Pr(>|t|)
## (Intercept)         < 2.22e-16
## age                   0.057499
## PhysDisorder          0.431710
## CollectEfficacy       0.032517
## PovStatBelow        3.5349e-05
## RaceAfrAm           7.1082e-10
## SexMen                0.134750
## age:PhysDisorder      0.079443
## age:CollectEfficacy   0.336349
## 
## Correlation of Fixed Effects:
##             (Intr) age    PhysDs CllctE PvSttB RcAfrA SexMen ag:PhD
## age          0.027                                                 
## PhysDisordr -0.764 -0.018                                          
## CllctEffccy -0.883 -0.019  0.529                                   
## PovStatBelw -0.113 -0.023 -0.085  0.059                            
## RaceAfrAm   -0.224  0.016  0.086  0.012 -0.158                     
## SexMen      -0.121 -0.038 -0.030 -0.018  0.055 -0.011              
## ag:PhysDsrd -0.034 -0.804  0.055  0.015  0.030 -0.009  0.024       
## ag:CllctEff -0.022 -0.917  0.001  0.014  0.027 -0.012  0.040  0.548

Digit Span Foward (Model 2)

#Load data file
load(file="/Users/meganwilliams/Desktop/Neighborhood and Cognitive Function/Data/DigitSpanFwd.Rda")

#Run regression model
DSF = lmer(DigitSpanFwd~(age + PhysDisorder + CollectEfficacy)^3 + PovStat + Race + Sex + (1|HNDid), data=DigitSpanFwd)


#Summary of results 
summary(DSF)
## Linear mixed model fit by REML t-tests use Satterthwaite approximations
##   to degrees of freedom [lmerMod]
## Formula: 
## DigitSpanFwd ~ (age + PhysDisorder + CollectEfficacy)^3 + PovStat +  
##     Race + Sex + (1 | HNDid)
##    Data: DigitSpanFwd
## 
## REML criterion at convergence: 15809.8
## 
## Scaled residuals: 
##        Min         1Q     Median         3Q        Max 
## -4.3046575 -0.4028980 -0.0439146  0.4413005  3.8572150 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  HNDid    (Intercept) 3.384227 1.839627
##  Residual             2.582059 1.606879
## Number of obs: 3513, groups:  HNDid, 2265
## 
## Fixed effects:
##                                       Estimate    Std. Error            df
## (Intercept)                       6.237200e+00  5.384805e-01  3.147320e+03
## age                              -6.809835e-02  5.437839e-02  3.034685e+03
## PhysDisorder                      2.529341e-01  1.481747e-01  3.048113e+03
## CollectEfficacy                   3.791217e-01  1.390199e-01  3.075256e+03
## PovStatBelow                     -4.121885e-01  1.005042e-01  2.227231e+03
## RaceAfrAm                        -6.089381e-01  9.928653e-02  2.165439e+03
## SexMen                            1.461537e-01  9.709579e-02  2.178627e+03
## age:PhysDisorder                  1.279064e-02  1.555026e-02  2.932035e+03
## age:CollectEfficacy               9.119512e-03  1.434731e-02  3.002343e+03
## PhysDisorder:CollectEfficacy     -8.535371e-02  4.200512e-02  3.035006e+03
## age:PhysDisorder:CollectEfficacy -1.364151e-03  4.460400e-03  2.905483e+03
##                                   t value   Pr(>|t|)
## (Intercept)                      11.58296 < 2.22e-16
## age                              -1.25231  0.2105551
## PhysDisorder                      1.70700  0.0879241
## CollectEfficacy                   2.72710  0.0064256
## PovStatBelow                     -4.10120 4.2576e-05
## RaceAfrAm                        -6.13314 1.0213e-09
## SexMen                            1.50525  0.1324041
## age:PhysDisorder                  0.82254  0.4108391
## age:CollectEfficacy               0.63563  0.5250692
## PhysDisorder:CollectEfficacy     -2.03198  0.0422423
## age:PhysDisorder:CollectEfficacy -0.30584  0.7597515
## 
## Correlation of Fixed Effects:
##             (Intr) age    PhysDs CllctE PvSttB RcAfrA SexMen ag:PhD ag:ClE
## age          0.007                                                        
## PhysDisordr -0.924 -0.025                                                 
## CllctEffccy -0.962 -0.003  0.934                                          
## PovStatBelw -0.081 -0.012 -0.004  0.045                                   
## RaceAfrAm   -0.148  0.019  0.055  0.033 -0.157                            
## SexMen      -0.071 -0.003 -0.003 -0.001  0.055 -0.011                     
## ag:PhysDsrd -0.024 -0.932  0.052  0.022  0.008 -0.013 -0.013              
## ag:CllctEff -0.002 -0.971  0.022 -0.001  0.010 -0.016 -0.002  0.934       
## PhysDsrd:CE  0.838  0.021 -0.955 -0.911 -0.022 -0.031 -0.006 -0.047 -0.020
## ag:PhysD:CE  0.018  0.839 -0.048 -0.019  0.001  0.011  0.021 -0.954 -0.907
##             PhD:CE
## age               
## PhysDisordr       
## CllctEffccy       
## PovStatBelw       
## RaceAfrAm         
## SexMen            
## ag:PhysDsrd       
## ag:CllctEff       
## PhysDsrd:CE       
## ag:PhysD:CE  0.047

Digit Span Backward (Model 1)

#Load data file
load(file="/Users/meganwilliams/Desktop/Neighborhood and Cognitive Function/Data/DigitSpanBck.Rda")

#Run regression model
DSB = lmer(DigitSpanBck~age + PhysDisorder + CollectEfficacy + PovStat + Race + Sex + (1|HNDid) + age*PhysDisorder + age*CollectEfficacy, data=DigitSpanBck)

#Summary of results 
summary(DSB)
## Linear mixed model fit by REML t-tests use Satterthwaite approximations
##   to degrees of freedom [lmerMod]
## Formula: DigitSpanBck ~ age + PhysDisorder + CollectEfficacy + PovStat +  
##     Race + Sex + (1 | HNDid) + age * PhysDisorder + age * CollectEfficacy
##    Data: DigitSpanBck
## 
## REML criterion at convergence: 15220.3
## 
## Scaled residuals: 
##        Min         1Q     Median         3Q        Max 
## -3.4376965 -0.4404457 -0.0143350  0.4259506  3.4703583 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  HNDid    (Intercept) 3.104983 1.762096
##  Residual             2.084400 1.443745
## Number of obs: 3508, groups:  HNDid, 2264
## 
## Fixed effects:
##                          Estimate    Std. Error            df   t value
## (Intercept)          6.444930e+00  2.704064e-01  3.361550e+03  23.83424
## age                 -2.278300e-02  2.715425e-02  3.162545e+03  -0.83902
## PhysDisorder        -1.085646e-01  4.056705e-02  3.309133e+03  -2.67618
## CollectEfficacy      1.082279e-03  5.260343e-02  3.211454e+03   0.02057
## PovStatBelow        -5.041478e-01  9.425590e-02  2.206176e+03  -5.34871
## RaceAfrAm           -1.006456e+00  9.312912e-02  2.142647e+03 -10.80710
## SexMen              -4.231740e-02  9.109701e-02  2.156833e+03  -0.46453
## age:PhysDisorder     2.645042e-03  4.293687e-03  3.231900e+03   0.61603
## age:CollectEfficacy -5.861949e-04  5.528412e-03  3.123745e+03  -0.10603
##                       Pr(>|t|)
## (Intercept)         < 2.22e-16
## age                  0.4015206
## PhysDisorder         0.0074834
## CollectEfficacy      0.9835865
## PovStatBelow        9.7732e-08
## RaceAfrAm           < 2.22e-16
## SexMen               0.6423141
## age:PhysDisorder     0.5379178
## age:CollectEfficacy  0.9155629
## 
## Correlation of Fixed Effects:
##             (Intr) age    PhysDs CllctE PvSttB RcAfrA SexMen ag:PhD
## age          0.027                                                 
## PhysDisordr -0.761 -0.018                                          
## CllctEffccy -0.880 -0.020  0.526                                   
## PovStatBelw -0.115 -0.022 -0.084  0.058                            
## RaceAfrAm   -0.226  0.016  0.083  0.012 -0.157                     
## SexMen      -0.123 -0.037 -0.030 -0.018  0.055 -0.012              
## ag:PhysDsrd -0.034 -0.803  0.056  0.014  0.029 -0.009  0.024       
## ag:CllctEff -0.022 -0.916  0.000  0.015  0.026 -0.012  0.039  0.546

Digit Span Backward (Model 2)

#Load data file
load(file="/Users/meganwilliams/Desktop/Neighborhood and Cognitive Function/Data/DigitSpanBck.Rda")

#Run regression model
DSB = lmer(DigitSpanBck~(age + PhysDisorder + CollectEfficacy)^3 + PovStat + Race + Sex + (1|HNDid), data=DigitSpanBck)

#Summary of results 
summary(DSB)
## Linear mixed model fit by REML t-tests use Satterthwaite approximations
##   to degrees of freedom [lmerMod]
## Formula: 
## DigitSpanBck ~ (age + PhysDisorder + CollectEfficacy)^3 + PovStat +  
##     Race + Sex + (1 | HNDid)
##    Data: DigitSpanBck
## 
## REML criterion at convergence: 15231.9
## 
## Scaled residuals: 
##        Min         1Q     Median         3Q        Max 
## -3.4438960 -0.4381022 -0.0205422  0.4250659  3.4649752 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  HNDid    (Intercept) 3.103043 1.761546
##  Residual             2.085149 1.444005
## Number of obs: 3508, groups:  HNDid, 2264
## 
## Fixed effects:
##                                       Estimate    Std. Error            df
## (Intercept)                       5.872164e+00  4.942257e-01  3.043197e+03
## age                               1.505578e-03  4.984956e-02  2.915317e+03
## PhysDisorder                      6.874651e-02  1.359515e-01  2.929173e+03
## CollectEfficacy                   1.618518e-01  1.274761e-01  2.958596e+03
## PovStatBelow                     -5.012652e-01  9.426279e-02  2.204991e+03
## RaceAfrAm                        -1.001959e+00  9.316235e-02  2.143563e+03
## SexMen                           -4.032083e-02  9.110272e-02  2.156010e+03
## age:PhysDisorder                 -4.780994e-03  1.425045e-02  2.804406e+03
## age:CollectEfficacy              -7.555354e-03  1.314807e-02  2.880618e+03
## PhysDisorder:CollectEfficacy     -5.271244e-02  3.851620e-02  2.914970e+03
## age:PhysDisorder:CollectEfficacy  2.243713e-03  4.085578e-03  2.778108e+03
##                                    t value   Pr(>|t|)
## (Intercept)                       11.88154 < 2.22e-16
## age                                0.03020    0.97591
## PhysDisorder                       0.50567    0.61313
## CollectEfficacy                    1.26966    0.20430
## PovStatBelow                      -5.31774 1.1567e-07
## RaceAfrAm                        -10.75498 < 2.22e-16
## SexMen                            -0.44259    0.65811
## age:PhysDisorder                  -0.33550    0.73727
## age:CollectEfficacy               -0.57464    0.56558
## PhysDisorder:CollectEfficacy      -1.36858    0.17124
## age:PhysDisorder:CollectEfficacy   0.54918    0.58293
## 
## Correlation of Fixed Effects:
##             (Intr) age    PhysDs CllctE PvSttB RcAfrA SexMen ag:PhD ag:ClE
## age          0.008                                                        
## PhysDisordr -0.923 -0.027                                                 
## CllctEffccy -0.961 -0.005  0.934                                          
## PovStatBelw -0.081 -0.010 -0.005  0.043                                   
## RaceAfrAm   -0.148  0.020  0.053  0.032 -0.156                            
## SexMen      -0.074 -0.004 -0.002  0.000  0.055 -0.012                     
## ag:PhysDsrd -0.026 -0.931  0.055  0.024  0.007 -0.014 -0.011              
## ag:CllctEff -0.004 -0.971  0.024  0.001  0.009 -0.017 -0.001  0.934       
## PhysDsrd:CE  0.837  0.023 -0.954 -0.911 -0.021 -0.029 -0.007 -0.050 -0.023
## ag:PhysD:CE  0.020  0.838 -0.051 -0.022  0.001  0.012  0.019 -0.954 -0.907
##             PhD:CE
## age               
## PhysDisordr       
## CllctEffccy       
## PovStatBelw       
## RaceAfrAm         
## SexMen            
## ag:PhysDsrd       
## ag:CllctEff       
## PhysDsrd:CE       
## ag:PhysD:CE  0.050

California Verbal Learning Test: Total Correct for Trial A (Model 1)

#Load data file
load(file="/Users/meganwilliams/Desktop/Neighborhood and Cognitive Function/Data/CVLtca.Rda")

#Run regression model
CVLA = lmer(CVLtca~age + PhysDisorder + CollectEfficacy + PovStat + Race + Sex + (1|HNDid) + age*PhysDisorder + age*CollectEfficacy, data=CVLtca)

#Summary of results 
summary(CVLA)
## Linear mixed model fit by REML t-tests use Satterthwaite approximations
##   to degrees of freedom [lmerMod]
## Formula: CVLtca ~ age + PhysDisorder + CollectEfficacy + PovStat + Race +  
##     Sex + (1 | HNDid) + age * PhysDisorder + age * CollectEfficacy
##    Data: CVLtca
## 
## REML criterion at convergence: 22503.1
## 
## Scaled residuals: 
##        Min         1Q     Median         3Q        Max 
## -1.8977423 -0.7569730 -0.3770253  0.7475641  3.0139815 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  HNDid    (Intercept)  0.00000 0.000000
##  Residual             67.12981 8.193278
## Number of obs: 3192, groups:  HNDid, 2103
## 
## Fixed effects:
##                          Estimate    Std. Error            df  t value
## (Intercept)           15.29791158    1.07174835 3183.00000000 14.27379
## age                   -0.06643064    0.11069661 3183.00000000 -0.60011
## PhysDisorder          -0.40258636    0.16420263 3183.00000000 -2.45177
## CollectEfficacy        0.12966523    0.21076008 3183.00000000  0.61523
## PovStatBelow          -1.22173540    0.30607647 3183.00000000 -3.99160
## RaceAfrAm             -2.20613810    0.30100038 3183.00000000 -7.32935
## SexMen                -1.88006595    0.29490272 3183.00000000 -6.37521
## age:PhysDisorder       0.02195715    0.01759910 3183.00000000  1.24763
## age:CollectEfficacy    0.01279895    0.02245293 3183.00000000  0.57003
##                       Pr(>|t|)
## (Intercept)         < 2.22e-16
## age                   0.548473
## PhysDisorder          0.014269
## CollectEfficacy       0.538449
## PovStatBelow        6.7110e-05
## RaceAfrAm           2.9177e-13
## SexMen              2.0911e-10
## age:PhysDisorder      0.212259
## age:CollectEfficacy   0.568694
## 
## Correlation of Fixed Effects:
##             (Intr) age    PhysDs CllctE PvSttB RcAfrA SexMen ag:PhD
## age          0.019                                                 
## PhysDisordr -0.795 -0.017                                          
## CllctEffccy -0.896 -0.005  0.553                                   
## PovStatBelw -0.077 -0.042 -0.116  0.049                            
## RaceAfrAm   -0.191  0.017  0.108 -0.004 -0.159                     
## SexMen      -0.102 -0.056 -0.027 -0.014  0.069 -0.013              
## ag:PhysDsrd -0.027 -0.817  0.038  0.017  0.041 -0.014  0.030       
## ag:CllctEff -0.014 -0.918  0.011 -0.011  0.047 -0.006  0.063  0.555

California Verbal Learning Test: Total Correct for Trial A (Model 2)

#Load data file
load(file="/Users/meganwilliams/Desktop/Neighborhood and Cognitive Function/Data/CVLtca.Rda")

#Run regression model
CVLA = lmer(CVLtca~(age + PhysDisorder + CollectEfficacy)^3 + PovStat + Race + Sex + (1|HNDid), data=CVLtca)

#Summary of results 
summary(CVLA)
## Linear mixed model fit by REML t-tests use Satterthwaite approximations
##   to degrees of freedom [lmerMod]
## Formula: CVLtca ~ (age + PhysDisorder + CollectEfficacy)^3 + PovStat +  
##     Race + Sex + (1 | HNDid)
##    Data: CVLtca
## 
## REML criterion at convergence: 22509.7
## 
## Scaled residuals: 
##        Min         1Q     Median         3Q        Max 
## -1.9289344 -0.7588611 -0.3769123  0.7518767  3.0264095 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  HNDid    (Intercept)  0.00000 0.000000
##  Residual             67.14097 8.193959
## Number of obs: 3192, groups:  HNDid, 2103
## 
## Fixed effects:
##                                       Estimate    Std. Error            df
## (Intercept)                       1.320516e+01  2.034050e+00  3.181007e+03
## age                              -4.127558e-02  2.106418e-01  3.181007e+03
## PhysDisorder                      2.501853e-01  5.648480e-01  3.181007e+03
## CollectEfficacy                   7.237391e-01  5.339766e-01  3.181007e+03
## PovStatBelow                     -1.213010e+00  3.062260e-01  3.181007e+03
## RaceAfrAm                        -2.197370e+00  3.011126e-01  3.181007e+03
## SexMen                           -1.878603e+00  2.949932e-01  3.181007e+03
## age:PhysDisorder                  1.592659e-02  6.054880e-02  3.181007e+03
## age:CollectEfficacy               5.189773e-03  5.616732e-02  3.181007e+03
## PhysDisorder:CollectEfficacy     -1.953771e-01  1.617108e-01  3.181007e+03
## age:PhysDisorder:CollectEfficacy  1.925761e-03  1.751092e-02  3.181007e+03
##                                   t value   Pr(>|t|)
## (Intercept)                       6.49205 9.7877e-11
## age                              -0.19595    0.84466
## PhysDisorder                      0.44293    0.65785
## CollectEfficacy                   1.35538    0.17539
## PovStatBelow                     -3.96116 7.6223e-05
## RaceAfrAm                        -7.29750 3.6859e-13
## SexMen                           -6.36829 2.1865e-10
## age:PhysDisorder                  0.26304    0.79254
## age:CollectEfficacy               0.09240    0.92639
## PhysDisorder:CollectEfficacy     -1.20819    0.22706
## age:PhysDisorder:CollectEfficacy  0.10997    0.91244
## 
## Correlation of Fixed Effects:
##             (Intr) age    PhysDs CllctE PvSttB RcAfrA SexMen ag:PhD ag:ClE
## age         -0.035                                                        
## PhysDisordr -0.935  0.018                                                 
## CllctEffccy -0.967  0.046  0.942                                          
## PovStatBelw -0.061 -0.034 -0.010  0.042                                   
## RaceAfrAm   -0.121  0.010  0.054  0.021 -0.159                            
## SexMen      -0.056 -0.011 -0.006 -0.003  0.069 -0.012                     
## ag:PhysDsrd  0.017 -0.938  0.007 -0.025  0.025 -0.004 -0.011              
## ag:CllctEff  0.045 -0.973 -0.027 -0.058  0.031 -0.004  0.006  0.941       
## PhysDsrd:CE  0.850 -0.025 -0.957 -0.918 -0.025 -0.024 -0.002 -0.001  0.032
## ag:PhysD:CE -0.026  0.850  0.001  0.032 -0.014  0.001  0.021 -0.957 -0.916
##             PhD:CE
## age               
## PhysDisordr       
## CllctEffccy       
## PovStatBelw       
## RaceAfrAm         
## SexMen            
## ag:PhysDsrd       
## ag:CllctEff       
## PhysDsrd:CE       
## ag:PhysD:CE -0.004

California Verbal Learning Test: Total Correct for Trial B (Model 1)

#Load data file
load(file="/Users/meganwilliams/Desktop/Neighborhood and Cognitive Function/Data/CVLtcb.Rda")

#Run regression model
CVLB = lmer(CVLtcb~age + PhysDisorder + CollectEfficacy + PovStat + Race + Sex + (1|HNDid) + age*PhysDisorder + age*CollectEfficacy, data=CVLtcb)

#Summary of results 
summary(CVLB)
## Linear mixed model fit by REML t-tests use Satterthwaite approximations
##   to degrees of freedom [lmerMod]
## Formula: CVLtcb ~ age + PhysDisorder + CollectEfficacy + PovStat + Race +  
##     Sex + (1 | HNDid) + age * PhysDisorder + age * CollectEfficacy
##    Data: CVLtcb
## 
## REML criterion at convergence: 13530.1
## 
## Scaled residuals: 
##        Min         1Q     Median         3Q        Max 
## -2.5122945 -0.6493940 -0.0273608  0.5826572  3.3470359 
## 
## Random effects:
##  Groups   Name        Variance  Std.Dev. 
##  HNDid    (Intercept) 0.9895577 0.9947652
##  Residual             3.2333167 1.7981426
## Number of obs: 3167, groups:  HNDid, 2092
## 
## Fixed effects:
##                          Estimate    Std. Error            df  t value
## (Intercept)          4.485923e+00  2.742429e-01  3.070461e+03 16.35748
## age                 -9.162606e-02  2.806258e-02  3.141349e+03 -3.26506
## PhysDisorder         8.552906e-02  4.187802e-02  3.109878e+03  2.04234
## CollectEfficacy      1.811008e-01  5.372827e-02  3.100904e+03  3.37068
## PovStatBelow        -3.994014e-01  8.240153e-02  1.953804e+03 -4.84701
## RaceAfrAm           -5.388698e-01  8.126411e-02  1.905797e+03 -6.63109
## SexMen              -6.501127e-01  7.955497e-02  1.923546e+03 -8.17187
## age:PhysDisorder     6.673290e-03  4.459926e-03  3.137477e+03  1.49628
## age:CollectEfficacy  7.873296e-03  5.697008e-03  3.135011e+03  1.38201
##                       Pr(>|t|)
## (Intercept)         < 2.22e-16
## age                 0.00110615
## PhysDisorder        0.04120221
## CollectEfficacy     0.00075901
## PovStatBelow        1.3522e-06
## RaceAfrAm           4.3262e-11
## SexMen              4.4409e-16
## age:PhysDisorder    0.13468180
## age:CollectEfficacy 0.16706846
## 
## Correlation of Fixed Effects:
##             (Intr) age    PhysDs CllctE PvSttB RcAfrA SexMen ag:PhD
## age          0.023                                                 
## PhysDisordr -0.790 -0.018                                          
## CllctEffccy -0.891 -0.010  0.548                                   
## PovStatBelw -0.087 -0.040 -0.105  0.051                            
## RaceAfrAm   -0.200  0.017  0.103 -0.001 -0.160                     
## SexMen      -0.106 -0.053 -0.027 -0.017  0.067 -0.010              
## ag:PhysDsrd -0.030 -0.813  0.042  0.020  0.037 -0.011  0.027       
## ag:CllctEff -0.019 -0.916  0.011 -0.004  0.047 -0.008  0.060  0.549

California Verbal Learning Test: Total Correct for Trial B (Model 2)

#Load data file
load(file="/Users/meganwilliams/Desktop/Neighborhood and Cognitive Function/Data/CVLtcb.Rda")

#Run regression model
CVLB = lmer(CVLtcb~(age + PhysDisorder + CollectEfficacy)^3 + PovStat + Race + Sex + (1|HNDid), data=CVLtcb)

#Summary of results 
summary(CVLB)
## Linear mixed model fit by REML t-tests use Satterthwaite approximations
##   to degrees of freedom [lmerMod]
## Formula: CVLtcb ~ (age + PhysDisorder + CollectEfficacy)^3 + PovStat +  
##     Race + Sex + (1 | HNDid)
##    Data: CVLtcb
## 
## REML criterion at convergence: 13538.9
## 
## Scaled residuals: 
##        Min         1Q     Median         3Q        Max 
## -2.5243774 -0.6498871 -0.0291869  0.5795829  3.3518453 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  HNDid    (Intercept) 1.001167 1.000583
##  Residual             3.220120 1.794469
## Number of obs: 3167, groups:  HNDid, 2092
## 
## Fixed effects:
##                                       Estimate    Std. Error            df
## (Intercept)                       3.638830e+00  5.115270e-01  3.155983e+03
## age                              -4.528700e-02  5.262684e-02  3.146111e+03
## PhysDisorder                      3.464300e-01  1.415011e-01  3.153004e+03
## CollectEfficacy                   4.218542e-01  1.338469e-01  3.153464e+03
## PovStatBelow                     -3.968680e-01  8.247171e-02  1.951861e+03
## RaceAfrAm                        -5.345919e-01  8.133459e-02  1.902433e+03
## SexMen                           -6.481359e-01  7.961267e-02  1.920911e+03
## age:PhysDisorder                 -7.478530e-03  1.509289e-02  3.140333e+03
## age:CollectEfficacy              -5.607946e-03  1.402191e-02  3.144809e+03
## PhysDisorder:CollectEfficacy     -7.823107e-02  4.050720e-02  3.153971e+03
## age:PhysDisorder:CollectEfficacy  4.313947e-03  4.367317e-03  3.143035e+03
##                                   t value   Pr(>|t|)
## (Intercept)                       7.11366 1.3922e-12
## age                              -0.86053  0.3895623
## PhysDisorder                      2.44825  0.0144093
## CollectEfficacy                   3.15177  0.0016381
## PovStatBelow                     -4.81217 1.6076e-06
## RaceAfrAm                        -6.57275 6.3597e-11
## SexMen                           -8.14111 6.6613e-16
## age:PhysDisorder                 -0.49550  0.6202817
## age:CollectEfficacy              -0.39994  0.6892266
## PhysDisorder:CollectEfficacy     -1.93129  0.0535369
## age:PhysDisorder:CollectEfficacy  0.98778  0.3233367
## 
## Correlation of Fixed Effects:
##             (Intr) age    PhysDs CllctE PvSttB RcAfrA SexMen ag:PhD ag:ClE
## age         -0.031                                                        
## PhysDisordr -0.931  0.013                                                 
## CllctEffccy -0.965  0.041  0.939                                          
## PovStatBelw -0.066 -0.032 -0.009  0.041                                   
## RaceAfrAm   -0.129  0.012  0.055  0.023 -0.159                            
## SexMen      -0.060 -0.012 -0.005 -0.003  0.067 -0.010                     
## ag:PhysDsrd  0.011 -0.936  0.015 -0.018  0.023 -0.007 -0.011              
## ag:CllctEff  0.040 -0.972 -0.021 -0.052  0.030 -0.007  0.006  0.938       
## PhysDsrd:CE  0.844 -0.019 -0.955 -0.915 -0.023 -0.025 -0.003 -0.009  0.026
## ag:PhysD:CE -0.020  0.846 -0.008  0.025 -0.013  0.003  0.020 -0.955 -0.913
##             PhD:CE
## age               
## PhysDisordr       
## CllctEffccy       
## PovStatBelw       
## RaceAfrAm         
## SexMen            
## ag:PhysDsrd       
## ag:CllctEff       
## PhysDsrd:CE       
## ag:PhysD:CE  0.006

California Verbal Learning Test: Learning Slope (Model 1)

#Load data file
load(file="/Users/meganwilliams/Desktop/Neighborhood and Cognitive Function/Data/CVLbet.Rda")

#Run regression model
CVLslope = lmer(CVLbet~age + PhysDisorder + CollectEfficacy + PovStat + Race + Sex + (1|HNDid) + age*PhysDisorder + age*CollectEfficacy, data=CVLbet)

#Summary of results 
summary(CVLslope)
## Linear mixed model fit by REML t-tests use Satterthwaite approximations
##   to degrees of freedom [lmerMod]
## Formula: CVLbet ~ age + PhysDisorder + CollectEfficacy + PovStat + Race +  
##     Sex + (1 | HNDid) + age * PhysDisorder + age * CollectEfficacy
##    Data: CVLbet
## 
## REML criterion at convergence: 9878.3
## 
## Scaled residuals: 
##        Min         1Q     Median         3Q        Max 
## -6.7333607 -0.6179058  0.0201083  0.5985272  3.3395345 
## 
## Random effects:
##  Groups   Name        Variance  Std.Dev. 
##  HNDid    (Intercept) 0.1628864 0.4035918
##  Residual             1.1222133 1.0593457
## Number of obs: 3187, groups:  HNDid, 2101
## 
## Fixed effects:
##                          Estimate    Std. Error            df  t value
## (Intercept)          1.746861e+00  1.503112e-01  2.993528e+03 11.62163
## age                 -3.155162e-02  1.545943e-02  3.088050e+03 -2.04093
## PhysDisorder         2.839662e-03  2.298766e-02  3.048851e+03  0.12353
## CollectEfficacy      5.564862e-02  2.951801e-02  3.030899e+03  1.88524
## PovStatBelow        -6.824387e-02  4.404302e-02  1.989874e+03 -1.54948
## RaceAfrAm           -1.341702e-01  4.338700e-02  1.939903e+03 -3.09241
## SexMen              -2.643944e-01  4.249294e-02  1.956212e+03 -6.22208
## age:PhysDisorder     4.133092e-03  2.459246e-03  3.088228e+03  1.68063
## age:CollectEfficacy  1.958304e-03  3.138831e-03  3.074234e+03  0.62390
##                       Pr(>|t|)
## (Intercept)         < 2.22e-16
## age                  0.0413426
## PhysDisorder         0.9016957
## CollectEfficacy      0.0594926
## PovStatBelow         0.1214250
## RaceAfrAm            0.0020137
## SexMen              5.9848e-10
## age:PhysDisorder     0.0929352
## age:CollectEfficacy  0.5327421
## 
## Correlation of Fixed Effects:
##             (Intr) age    PhysDs CllctE PvSttB RcAfrA SexMen ag:PhD
## age          0.021                                                 
## PhysDisordr -0.793 -0.018                                          
## CllctEffccy -0.893 -0.008  0.550                                   
## PovStatBelw -0.083 -0.040 -0.109  0.050                            
## RaceAfrAm   -0.195  0.015  0.104 -0.003 -0.159                     
## SexMen      -0.104 -0.055 -0.027 -0.016  0.068 -0.011              
## ag:PhysDsrd -0.028 -0.814  0.039  0.019  0.038 -0.012  0.028       
## ag:CllctEff -0.017 -0.917  0.012 -0.008  0.046 -0.006  0.062  0.550

California Verbal Learning Test: Learning Slope (Model 2)

#Load data file
load(file="/Users/meganwilliams/Desktop/Neighborhood and Cognitive Function/Data/CVLbet.Rda")

#Run regression model
CVLslope = lmer(CVLbet~(age + PhysDisorder + CollectEfficacy)^3 + PovStat + Race + Sex + (1|HNDid), data=CVLbet)

#Summary of results 
summary(CVLslope)
## Linear mixed model fit by REML t-tests use Satterthwaite approximations
##   to degrees of freedom [lmerMod]
## Formula: CVLbet ~ (age + PhysDisorder + CollectEfficacy)^3 + PovStat +  
##     Race + Sex + (1 | HNDid)
##    Data: CVLbet
## 
## REML criterion at convergence: 9894
## 
## Scaled residuals: 
##        Min         1Q     Median         3Q        Max 
## -6.7298889 -0.6155521  0.0201596  0.5999130  3.3409866 
## 
## Random effects:
##  Groups   Name        Variance  Std.Dev. 
##  HNDid    (Intercept) 0.1626552 0.4033053
##  Residual             1.1231421 1.0597840
## Number of obs: 3187, groups:  HNDid, 2101
## 
## Fixed effects:
##                                       Estimate    Std. Error            df
## (Intercept)                       1.798059e+00  2.830205e-01  3.150114e+03
## age                              -2.192524e-02  2.927543e-02  3.171657e+03
## PhysDisorder                     -1.409021e-02  7.847323e-02  3.165278e+03
## CollectEfficacy                   4.121682e-02  7.419327e-02  3.162341e+03
## PovStatBelow                     -6.869417e-02  4.406848e-02  1.986617e+03
## RaceAfrAm                        -1.343562e-01  4.340942e-02  1.935262e+03
## SexMen                           -2.640373e-01  4.251264e-02  1.952564e+03
## age:PhysDisorder                  9.570681e-04  8.421677e-03  3.174961e+03
## age:CollectEfficacy              -7.990687e-04  7.802853e-03  3.172647e+03
## PhysDisorder:CollectEfficacy      5.043416e-03  2.247082e-02  3.164105e+03
## age:PhysDisorder:CollectEfficacy  9.581221e-04  2.434990e-03  3.174117e+03
##                                   t value   Pr(>|t|)
## (Intercept)                       6.35311 2.4139e-10
## age                              -0.74893  0.4539551
## PhysDisorder                     -0.17955  0.8575140
## CollectEfficacy                   0.55553  0.5785693
## PovStatBelow                     -1.55881  0.1192018
## RaceAfrAm                        -3.09509  0.0019957
## SexMen                           -6.21079 6.4243e-10
## age:PhysDisorder                  0.11364  0.9095277
## age:CollectEfficacy              -0.10241  0.9184399
## PhysDisorder:CollectEfficacy      0.22444  0.8224272
## age:PhysDisorder:CollectEfficacy  0.39348  0.6939907
## 
## Correlation of Fixed Effects:
##             (Intr) age    PhysDs CllctE PvSttB RcAfrA SexMen ag:PhD ag:ClE
## age         -0.035                                                        
## PhysDisordr -0.933  0.018                                                 
## CllctEffccy -0.966  0.045  0.941                                          
## PovStatBelw -0.065 -0.031 -0.008  0.042                                   
## RaceAfrAm   -0.125  0.011  0.054  0.022 -0.158                            
## SexMen      -0.058 -0.010 -0.005 -0.003  0.067 -0.010                     
## ag:PhysDsrd  0.017 -0.937  0.007 -0.024  0.023 -0.006 -0.014              
## ag:CllctEff  0.045 -0.972 -0.026 -0.057  0.029 -0.006  0.004  0.940       
## PhysDsrd:CE  0.847 -0.024 -0.956 -0.917 -0.025 -0.025 -0.003 -0.002  0.031
## ag:PhysD:CE -0.026  0.849  0.000  0.031 -0.012  0.003  0.023 -0.956 -0.915
##             PhD:CE
## age               
## PhysDisordr       
## CllctEffccy       
## PovStatBelw       
## RaceAfrAm         
## SexMen            
## ag:PhysDsrd       
## ag:CllctEff       
## PhysDsrd:CE       
## ag:PhysD:CE -0.002

Mini Mental Satus Exam (Model 1)

#Load data file
load(file="/Users/meganwilliams/Desktop/Neighborhood and Cognitive Function/Data/MMStot.Rda")

#Run regression model
MMSE = lmer(MMStot~age + PhysDisorder + CollectEfficacy + PovStat + Race + Sex + (1|HNDid) + age*PhysDisorder + age*CollectEfficacy, data=MMStot)

#Summary of results
summary(MMSE)
## Linear mixed model fit by REML t-tests use Satterthwaite approximations
##   to degrees of freedom [lmerMod]
## Formula: MMStot ~ age + PhysDisorder + CollectEfficacy + PovStat + Race +  
##     Sex + (1 | HNDid) + age * PhysDisorder + age * CollectEfficacy
##    Data: MMStot
## 
## REML criterion at convergence: 14362.4
## 
## Scaled residuals: 
##        Min         1Q     Median         3Q        Max 
## -4.4332632 -0.3346682  0.1086971  0.4721232  2.9486890 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  HNDid    (Intercept) 2.642309 1.625518
##  Residual             1.676024 1.294613
## Number of obs: 3464, groups:  HNDid, 2234
## 
## Fixed effects:
##                          Estimate    Std. Error            df   t value
## (Intercept)          2.830189e+01  2.467918e-01  3.238555e+03 114.67923
## age                 -8.994648e-02  2.487409e-02  2.932752e+03  -3.61607
## PhysDisorder        -3.890356e-03  3.709394e-02  3.161895e+03  -0.10488
## CollectEfficacy      5.311172e-02  4.812903e-02  3.029712e+03   1.10353
## PovStatBelow        -6.179343e-01  8.678428e-02  1.945306e+03  -7.12035
## RaceAfrAm           -6.704721e-01  8.552148e-02  1.881288e+03  -7.83981
## SexMen              -4.112917e-01  8.392667e-02  1.894760e+03  -4.90061
## age:PhysDisorder     8.012697e-03  3.951821e-03  3.063446e+03   2.02760
## age:CollectEfficacy  1.204494e-02  5.047368e-03  2.882607e+03   2.38638
##                       Pr(>|t|)
## (Intercept)         < 2.22e-16
## age                 0.00030415
## PhysDisorder        0.91647890
## CollectEfficacy     0.26988574
## PovStatBelow        1.5086e-12
## RaceAfrAm           7.5495e-15
## SexMen              1.0367e-06
## age:PhysDisorder    0.04268791
## age:CollectEfficacy 0.01707932
## 
## Correlation of Fixed Effects:
##             (Intr) age    PhysDs CllctE PvSttB RcAfrA SexMen ag:PhD
## age          0.033                                                 
## PhysDisordr -0.763 -0.023                                          
## CllctEffccy -0.879 -0.026  0.527                                   
## PovStatBelw -0.120 -0.017 -0.078  0.058                            
## RaceAfrAm   -0.219  0.014  0.079  0.003 -0.153                     
## SexMen      -0.121 -0.035 -0.034 -0.022  0.061 -0.009              
## ag:PhysDsrd -0.041 -0.805  0.063  0.021  0.024 -0.006  0.020       
## ag:CllctEff -0.027 -0.915  0.004  0.020  0.023 -0.009  0.039  0.544

Mini Mental Satus Exam (Model 2)

#Load data file
load(file="/Users/meganwilliams/Desktop/Neighborhood and Cognitive Function/Data/MMStot.Rda")

#Run regression model
MMSE = lmer(MMStot~(age + PhysDisorder + CollectEfficacy)^3 + PovStat + Race + Sex + (1|HNDid), data=MMStot)

#Summary of results
summary(MMSE)
## Linear mixed model fit by REML t-tests use Satterthwaite approximations
##   to degrees of freedom [lmerMod]
## Formula: MMStot ~ (age + PhysDisorder + CollectEfficacy)^3 + PovStat +  
##     Race + Sex + (1 | HNDid)
##    Data: MMStot
## 
## REML criterion at convergence: 14373.8
## 
## Scaled residuals: 
##        Min         1Q     Median         3Q        Max 
## -4.4251141 -0.3360574  0.1089946  0.4713174  2.9438124 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  HNDid    (Intercept) 2.647036 1.626971
##  Residual             1.672856 1.293389
## Number of obs: 3464, groups:  HNDid, 2234
## 
## Fixed effects:
##                                       Estimate    Std. Error            df
## (Intercept)                       2.794952e+01  4.471404e-01  2.822128e+03
## age                              -3.622302e-02  4.544287e-02  2.637296e+03
## PhysDisorder                      1.022493e-01  1.230391e-01  2.683341e+03
## CollectEfficacy                   1.525096e-01  1.156072e-01  2.718908e+03
## PovStatBelow                     -6.160591e-01  8.683731e-02  1.947345e+03
## RaceAfrAm                        -6.672734e-01  8.559052e-02  1.885091e+03
## SexMen                           -4.080855e-01  8.397823e-02  1.896635e+03
## age:PhysDisorder                 -9.124161e-03  1.297720e-02  2.551351e+03
## age:CollectEfficacy              -3.347617e-03  1.200614e-02  2.618812e+03
## PhysDisorder:CollectEfficacy     -3.182073e-02  3.502318e-02  2.673367e+03
## age:PhysDisorder:CollectEfficacy  5.174535e-03  3.732493e-03  2.550796e+03
##                                   t value   Pr(>|t|)
## (Intercept)                      62.50727 < 2.22e-16
## age                              -0.79711    0.42546
## PhysDisorder                      0.83103    0.40603
## CollectEfficacy                   1.31920    0.18721
## PovStatBelow                     -7.09441 1.8112e-12
## RaceAfrAm                        -7.79611 1.0436e-14
## SexMen                           -4.85942 1.2741e-06
## age:PhysDisorder                 -0.70309    0.48206
## age:CollectEfficacy              -0.27883    0.78040
## PhysDisorder:CollectEfficacy     -0.90856    0.36366
## age:PhysDisorder:CollectEfficacy  1.38635    0.16576
## 
## Correlation of Fixed Effects:
##             (Intr) age    PhysDs CllctE PvSttB RcAfrA SexMen ag:PhD ag:ClE
## age          0.003                                                        
## PhysDisordr -0.922 -0.019                                                 
## CllctEffccy -0.960  0.003  0.933                                          
## PovStatBelw -0.086 -0.009 -0.001  0.046                                   
## RaceAfrAm   -0.146  0.013  0.052  0.028 -0.152                            
## SexMen      -0.076 -0.002  0.000  0.001  0.061 -0.008                     
## ag:PhysDsrd -0.020 -0.931  0.047  0.016  0.007 -0.007 -0.013              
## ag:CllctEff  0.003 -0.970  0.015 -0.007  0.009 -0.010 -0.002  0.934       
## PhysDsrd:CE  0.834  0.013 -0.953 -0.909 -0.024 -0.030 -0.011 -0.041 -0.013
## ag:PhysD:CE  0.013  0.837 -0.043 -0.013  0.000  0.006  0.020 -0.953 -0.907
##             PhD:CE
## age               
## PhysDisordr       
## CllctEffccy       
## PovStatBelw       
## RaceAfrAm         
## SexMen            
## ag:PhysDsrd       
## ag:CllctEff       
## PhysDsrd:CE       
## ag:PhysD:CE  0.042

Verbal Fluency (Model 1)

#Load data file
load(file="/Users/meganwilliams/Desktop/Neighborhood and Cognitive Function/Data/FluencyWord.Rda")

#Run regression model
Fluency = lmer(FluencyWord~age + PhysDisorder + CollectEfficacy + PovStat + Race + Sex + (1|HNDid) + age*PhysDisorder + age*CollectEfficacy, data=FluencyWord) 

#Test for multicolinearity 
vif.lme(Fluency)
## Error in vif.lme(Fluency): could not find function "vif.lme"
#Summary of results
summary(Fluency)
## Linear mixed model fit by REML t-tests use Satterthwaite approximations
##   to degrees of freedom [lmerMod]
## Formula: FluencyWord ~ age + PhysDisorder + CollectEfficacy + PovStat +  
##     Race + Sex + (1 | HNDid) + age * PhysDisorder + age * CollectEfficacy
##    Data: FluencyWord
## 
## REML criterion at convergence: 21213
## 
## Scaled residuals: 
##        Min         1Q     Median         3Q        Max 
## -3.3847753 -0.5029703 -0.0123577  0.4401155  2.7576278 
## 
## Random effects:
##  Groups   Name        Variance  Std.Dev.
##  HNDid    (Intercept) 18.165479 4.262098
##  Residual              9.152161 3.025254
## Number of obs: 3573, groups:  HNDid, 2254
## 
## Fixed effects:
##                          Estimate    Std. Error            df  t value
## (Intercept)          2.051589e+01  5.913665e-01  3.303112e+03 34.69235
## age                  1.934112e-02  5.915080e-02  3.004256e+03  0.32698
## PhysDisorder        -5.291982e-02  8.839591e-02  3.166304e+03 -0.59867
## CollectEfficacy     -7.813240e-02  1.144505e-01  3.093216e+03 -0.68267
## PovStatBelow        -1.196302e+00  2.184978e-01  2.276549e+03 -5.47512
## RaceAfrAm           -1.820099e+00  2.157939e-01  2.223533e+03 -8.43443
## SexMen               8.347576e-01  2.113265e-01  2.225691e+03  3.95008
## age:PhysDisorder    -8.602688e-03  9.353676e-03  3.046295e+03 -0.91971
## age:CollectEfficacy -1.738963e-02  1.202180e-02  2.993617e+03 -1.44651
##                       Pr(>|t|)
## (Intercept)         < 2.22e-16
## age                    0.74371
## PhysDisorder           0.54944
## CollectEfficacy        0.49486
## PovStatBelow        4.8527e-08
## RaceAfrAm           < 2.22e-16
## SexMen              8.0554e-05
## age:PhysDisorder       0.35780
## age:CollectEfficacy    0.14814
## 
## Correlation of Fixed Effects:
##             (Intr) age    PhysDs CllctE PvSttB RcAfrA SexMen ag:PhD
## age          0.021                                                 
## PhysDisordr -0.754 -0.010                                          
## CllctEffccy -0.873 -0.016  0.519                                   
## PovStatBelw -0.124 -0.019 -0.075  0.055                            
## RaceAfrAm   -0.232  0.016  0.079  0.008 -0.158                     
## SexMen      -0.136 -0.035 -0.026 -0.016  0.057 -0.011              
## ag:PhysDsrd -0.033 -0.800  0.052  0.015  0.025 -0.005  0.022       
## ag:CllctEff -0.016 -0.914 -0.005  0.010  0.024 -0.013  0.038  0.541

Verbal Fluency (Model 2)

#Load data file
load(file="/Users/meganwilliams/Desktop/Neighborhood and Cognitive Function/Data/FluencyWord.Rda")

#Run regression model
Fluency = lmer(FluencyWord~(age + PhysDisorder + CollectEfficacy)^3 + PovStat + Race + Sex + (1|HNDid), data=FluencyWord) 

#Test for multicolinearity 
vif.lme(Fluency)
## Error in vif.lme(Fluency): could not find function "vif.lme"
#Summary of results
summary(Fluency)
## Linear mixed model fit by REML t-tests use Satterthwaite approximations
##   to degrees of freedom [lmerMod]
## Formula: 
## FluencyWord ~ (age + PhysDisorder + CollectEfficacy)^3 + PovStat +  
##     Race + Sex + (1 | HNDid)
##    Data: FluencyWord
## 
## REML criterion at convergence: 21215.6
## 
## Scaled residuals: 
##        Min         1Q     Median         3Q        Max 
## -3.3520562 -0.4986891 -0.0112980  0.4473831  2.7622804 
## 
## Random effects:
##  Groups   Name        Variance  Std.Dev.
##  HNDid    (Intercept) 18.075322 4.251508
##  Residual              9.162354 3.026938
## Number of obs: 3573, groups:  HNDid, 2254
## 
## Fixed effects:
##                                       Estimate    Std. Error            df
## (Intercept)                       1.846611e+01  1.061040e+00  2.922422e+03
## age                               1.705262e-01  1.072673e-01  2.750276e+03
## PhysDisorder                      5.749819e-01  2.916917e-01  2.800613e+03
## CollectEfficacy                   4.991431e-01  2.732336e-01  2.825457e+03
## PovStatBelow                     -1.182541e+00  2.181891e-01  2.274282e+03
## RaceAfrAm                        -1.802163e+00  2.155195e-01  2.223052e+03
## SexMen                            8.467268e-01  2.110155e-01  2.223479e+03
## age:PhysDisorder                 -5.568475e-02  3.063098e-02  2.670832e+03
## age:CollectEfficacy              -6.086159e-02  2.830576e-02  2.745258e+03
## PhysDisorder:CollectEfficacy     -1.878865e-01  8.295258e-02  2.802079e+03
## age:PhysDisorder:CollectEfficacy  1.427917e-02  8.813322e-03  2.686193e+03
##                                   t value   Pr(>|t|)
## (Intercept)                      17.40378 < 2.22e-16
## age                               1.58973   0.112010
## PhysDisorder                      1.97120   0.048800
## CollectEfficacy                   1.82680   0.067835
## PovStatBelow                     -5.41980 6.5966e-08
## RaceAfrAm                        -8.36195 < 2.22e-16
## SexMen                            4.01263 6.2033e-05
## age:PhysDisorder                 -1.81792   0.069188
## age:CollectEfficacy              -2.15015   0.031631
## PhysDisorder:CollectEfficacy     -2.26499   0.023590
## age:PhysDisorder:CollectEfficacy  1.62018   0.105311
## 
## Correlation of Fixed Effects:
##             (Intr) age    PhysDs CllctE PvSttB RcAfrA SexMen ag:PhD ag:ClE
## age          0.001                                                        
## PhysDisordr -0.918 -0.026                                                 
## CllctEffccy -0.958  0.001  0.931                                          
## PovStatBelw -0.088 -0.006 -0.001  0.044                                   
## RaceAfrAm   -0.151  0.020  0.049  0.028 -0.158                            
## SexMen      -0.084 -0.003  0.001  0.002  0.058 -0.011                     
## ag:PhysDsrd -0.025 -0.929  0.062  0.024  0.003 -0.013 -0.012              
## ag:CllctEff  0.003 -0.969  0.024 -0.005  0.005 -0.017 -0.002  0.932       
## PhysDsrd:CE  0.830  0.023 -0.953 -0.908 -0.023 -0.027 -0.009 -0.057 -0.023
## ag:PhysD:CE  0.019  0.834 -0.058 -0.022  0.005  0.012  0.020 -0.952 -0.905
##             PhD:CE
## age               
## PhysDisordr       
## CllctEffccy       
## PovStatBelw       
## RaceAfrAm         
## SexMen            
## ag:PhysDsrd       
## ag:CllctEff       
## PhysDsrd:CE       
## ag:PhysD:CE  0.058