logTrailsB Regression Final Regression Model 1 (final model is the same with and without depression)
## Loading required package: Matrix
## KernSmooth 2.23 loaded
## Copyright M. P. Wand 1997-2009
##
## Attaching package: 'lmerTest'
##
## The following object is masked from 'package:lme4':
##
## lmer
##
## The following object is masked from 'package:stats':
##
## step
## Warning: number of observations <= rank(Z); variance-covariance matrix
## will be unidentifiable
## Linear mixed model fit by REML ['merModLmerTest']
## Formula: logTrailsB ~ Age + IPVstatus + Sex + PovStat + (Age | HNDid) + (1 | subclass) + Age:PovStat + IPVstatus:Sex
## Data: IPVandCognitionDataSet2
## REML criterion at convergence: 217.9
## Random effects:
## Groups Name Std.Dev. Corr
## HNDid (Intercept) 7.80e-01
## Age 1.75e-02 1.00
## subclass (Intercept) 7.90e-08
## Residual 3.03e-01
## Number of obs: 126, groups: HNDid, 63; subclass, 21
## Fixed Effects:
## (Intercept) Age IPVstatus1
## 4.56255 0.00128 -0.41440
## SexMen PovStatBelow Age:PovStatBelow
## -0.14724 0.55494 0.06195
## IPVstatus1:SexMen
## 1.11841
## Warning: number of observations <= rank(Z); variance-covariance matrix will be unidentifiable
## Warning: number of observations <= rank(Z); variance-covariance matrix will be unidentifiable
## Linear mixed model fit by REML ['merModLmerTest']
## Formula: logTrailsB ~ Age + IPVstatus + Sex + PovStat + (Age | HNDid) + (1 | subclass) + Age:PovStat + IPVstatus:Sex
## Data: IPVandCognitionDataSet2
##
## REML criterion at convergence: 217.9
##
## Random effects:
## Groups Name Variance Std.Dev. Corr
## HNDid (Intercept) 6.08e-01 7.80e-01
## Age 3.07e-04 1.75e-02 1.00
## subclass (Intercept) 6.24e-15 7.90e-08
## Residual 9.21e-02 3.03e-01
## Number of obs: 126, groups: HNDid, 63; subclass, 21
##
## Fixed effects:
## Estimate Std. Error df t value Pr(>|t|)
## (Intercept) 4.56255 0.19748 68.00000 23.10 <2e-16
## Age 0.00128 0.01156 105.70000 0.11 0.9123
## IPVstatus1 -0.41440 0.23273 56.60000 -1.78 0.0804
## SexMen -0.14724 0.21061 59.70000 -0.70 0.4872
## PovStatBelow 0.55494 0.25723 38.60000 2.16 0.0373
## Age:PovStatBelow 0.06195 0.01871 94.70000 3.31 0.0013
## IPVstatus1:SexMen 1.11841 0.36349 58.40000 3.08 0.0032
##
## Correlation of Fixed Effects:
## (Intr) Age IPVst1 SexMen PvSttB Ag:PSB
## Age 0.670
## IPVstatus1 -0.450 -0.077
## SexMen -0.495 -0.053 0.365
## PovStatBelw -0.526 -0.490 0.073 0.038
## Ag:PvSttBlw -0.343 -0.612 -0.001 -0.096 0.709
## IPVstts1:SM 0.334 0.073 -0.651 -0.584 -0.107 0.000
Confidence Intervals
confint(mm1)
## Computing profile confidence intervals ...
## Warning: non-monotonic profile
## Warning: slightly lower deviances (diff=-3.14884118779446e-10) detected
## Warning: Last two rows have identical or NA .zeta values: using minstep
## Warning: slightly lower deviances (diff=-6.83940015733242e-10) detected
## Warning: Last two rows have identical or NA .zeta values: using minstep
## Warning: slightly lower deviances (diff=-9.82879555522231e-10) detected
## Warning: non-monotonic profile
## Warning: diag(.) had 0 or NA entries; non-finite result is doubtful
## Warning: diag(.) had 0 or NA entries; non-finite result is doubtful
## Warning: diag(.) had 0 or NA entries; non-finite result is doubtful
## Warning: diag(.) had 0 or NA entries; non-finite result is doubtful
## Warning: diag(.) had 0 or NA entries; non-finite result is doubtful
## 2.5 % 97.5 %
## .sig01 0.5696636 1.00811
## .sig02 NA NA
## .sig03 0.0006135 0.05102
## .sig04 NA NA
## .sigma 0.2438113 0.36202
## (Intercept) 4.1824237 4.93924
## Age -0.0210177 0.02381
## IPVstatus1 -0.8557697 0.02800
## SexMen -0.5483716 0.25698
## PovStatBelow 0.0590025 1.05794
## Age:PovStatBelow 0.0251462 0.09796
## IPVstatus1:SexMen 0.4141764 1.81896
Effect Size Estimate
IPVxSEX
IPVstatus1:SexMen Est. = 1.11841217 SE = 0.36348898 df = 58.40405000 t = 3.07688 p = 0.0031821
es = tes(t=3.08, n.1=21, n.2=42, level=95, dig=2, id=HNDid, data=IPVandCognitionDataSet2)
summary(es)
## id N.total n.1 n.2 d
## Min. :8.11e+09 Min. :63 Min. :21 Min. :42 Min. :0.82
## 1st Qu.:8.17e+09 1st Qu.:63 1st Qu.:21 1st Qu.:42 1st Qu.:0.82
## Median :8.19e+09 Median :63 Median :21 Median :42 Median :0.82
## Mean :8.19e+09 Mean :63 Mean :21 Mean :42 Mean :0.82
## 3rd Qu.:8.22e+09 3rd Qu.:63 3rd Qu.:21 3rd Qu.:42 3rd Qu.:0.82
## Max. :8.22e+09 Max. :63 Max. :21 Max. :42 Max. :0.82
## var.d l.d u.d U3.d cl.d
## Min. :0.08 Min. :0.27 Min. :1.38 Min. :79.5 Min. :72
## 1st Qu.:0.08 1st Qu.:0.27 1st Qu.:1.38 1st Qu.:79.5 1st Qu.:72
## Median :0.08 Median :0.27 Median :1.38 Median :79.5 Median :72
## Mean :0.08 Mean :0.27 Mean :1.38 Mean :79.5 Mean :72
## 3rd Qu.:0.08 3rd Qu.:0.27 3rd Qu.:1.38 3rd Qu.:79.5 3rd Qu.:72
## Max. :0.08 Max. :0.27 Max. :1.38 Max. :79.5 Max. :72
## cliffs.d pval.d g var.g l.g
## Min. :0.44 Min. :0 Min. :0.81 Min. :0.07 Min. :0.27
## 1st Qu.:0.44 1st Qu.:0 1st Qu.:0.81 1st Qu.:0.07 1st Qu.:0.27
## Median :0.44 Median :0 Median :0.81 Median :0.07 Median :0.27
## Mean :0.44 Mean :0 Mean :0.81 Mean :0.07 Mean :0.27
## 3rd Qu.:0.44 3rd Qu.:0 3rd Qu.:0.81 3rd Qu.:0.07 3rd Qu.:0.27
## Max. :0.44 Max. :0 Max. :0.81 Max. :0.07 Max. :0.27
## u.g U3.g cl.g pval.g r
## Min. :1.36 Min. :79.2 Min. :71.7 Min. :0 Min. :0.37
## 1st Qu.:1.36 1st Qu.:79.2 1st Qu.:71.7 1st Qu.:0 1st Qu.:0.37
## Median :1.36 Median :79.2 Median :71.7 Median :0 Median :0.37
## Mean :1.36 Mean :79.2 Mean :71.7 Mean :0 Mean :0.37
## 3rd Qu.:1.36 3rd Qu.:79.2 3rd Qu.:71.7 3rd Qu.:0 3rd Qu.:0.37
## Max. :1.36 Max. :79.2 Max. :71.7 Max. :0 Max. :0.37
## var.r l.r u.r pval.r fisher.z
## Min. :0.01 Min. :0.13 Min. :0.57 Min. :0 Min. :0.38
## 1st Qu.:0.01 1st Qu.:0.13 1st Qu.:0.57 1st Qu.:0 1st Qu.:0.38
## Median :0.01 Median :0.13 Median :0.57 Median :0 Median :0.38
## Mean :0.01 Mean :0.13 Mean :0.57 Mean :0 Mean :0.38
## 3rd Qu.:0.01 3rd Qu.:0.13 3rd Qu.:0.57 3rd Qu.:0 3rd Qu.:0.38
## Max. :0.01 Max. :0.13 Max. :0.57 Max. :0 Max. :0.38
## var.z l.z u.z OR
## Min. :0.02 Min. :0.13 Min. :0.64 Min. :4.45
## 1st Qu.:0.02 1st Qu.:0.13 1st Qu.:0.64 1st Qu.:4.45
## Median :0.02 Median :0.13 Median :0.64 Median :4.45
## Mean :0.02 Mean :0.13 Mean :0.64 Mean :4.45
## 3rd Qu.:0.02 3rd Qu.:0.13 3rd Qu.:0.64 3rd Qu.:4.45
## Max. :0.02 Max. :0.13 Max. :0.64 Max. :4.45
## l.or u.or pval.or lOR l.lor
## Min. :1.63 Min. :12.2 Min. :0 Min. :1.49 Min. :0.49
## 1st Qu.:1.63 1st Qu.:12.2 1st Qu.:0 1st Qu.:1.49 1st Qu.:0.49
## Median :1.63 Median :12.2 Median :0 Median :1.49 Median :0.49
## Mean :1.63 Mean :12.2 Mean :0 Mean :1.49 Mean :0.49
## 3rd Qu.:1.63 3rd Qu.:12.2 3rd Qu.:0 3rd Qu.:1.49 3rd Qu.:0.49
## Max. :1.63 Max. :12.2 Max. :0 Max. :1.49 Max. :0.49
## u.lor pval.lor NNT
## Min. :2.5 Min. :0 Min. :3.42
## 1st Qu.:2.5 1st Qu.:0 1st Qu.:3.42
## Median :2.5 Median :0 Median :3.42
## Mean :2.5 Mean :0 Mean :3.42
## 3rd Qu.:2.5 3rd Qu.:0 3rd Qu.:3.42
## Max. :2.5 Max. :0 Max. :3.42