Descriptive Statistics

##               vars   n         mean          sd       median      trimmed
## HNDid            1 665 8.168838e+09 35840566.31 8171936701.0 8.170525e+09
## Race*            2 665 1.500000e+00        0.50          2.0 1.500000e+00
## Sex*             3 665 1.480000e+00        0.50          1.0 1.470000e+00
## PovStat*         4 665 1.310000e+00        0.46          1.0 1.270000e+00
## Age              5 665 4.658000e+01        9.19         46.5 4.646000e+01
## Education*       6 641 1.302000e+01        3.27         12.0 1.288000e+01
## Educnum          7 641 1.266000e+01        2.72         12.0 1.265000e+01
## PovStat.1*       8 665 1.310000e+00        0.46          1.0 1.270000e+00
## WRATtotal        9 665 4.371000e+01        7.60         45.0 4.441000e+01
## PsychAggress*   10 665 1.860000e+00        0.34          2.0 1.950000e+00
## PhysAssault*    11 665 1.120000e+00        0.33          1.0 1.030000e+00
## ACEtotal        12 531 4.530000e+00        2.04          4.0 4.380000e+00
## HeadInjury*     13 665 1.120000e+00        0.33          1.0 1.030000e+00
## Alcohol*        14 573 1.950000e+00        0.22          2.0 2.000000e+00
## Cocaine*        15 534 1.310000e+00        0.46          1.0 1.270000e+00
## Cannabis*       16 557 1.660000e+00        0.47          2.0 1.700000e+00
## Opiate*         17 534 1.160000e+00        0.37          1.0 1.080000e+00
## PTSDtotal       18 665 2.595000e+01       11.50         22.0 2.349000e+01
##                       mad          min          max       range  skew kurtosis
## HNDid         30517543.36 8031117902.0 8224304901.0 193186999.0 -0.83     1.89
## Race*                0.00          1.0          2.0         1.0 -0.01    -2.00
## Sex*                 0.00          1.0          2.0         1.0  0.09    -2.00
## PovStat*             0.00          1.0          2.0         1.0  0.81    -1.35
## Age                 10.97         30.1         65.9        35.8  0.07    -1.00
## Education*           1.48          1.0         21.0        20.0  0.40     0.56
## Educnum              1.48          1.0         20.0        19.0 -0.05     1.37
## PovStat.1*           0.00          1.0          2.0         1.0  0.81    -1.35
## WRATtotal            7.41         10.0         57.0        47.0 -0.91     0.85
## PsychAggress*        0.00          1.0          2.0         1.0 -2.13     2.53
## PhysAssault*         0.00          1.0          2.0         1.0  2.31     3.33
## ACEtotal             1.48          0.0         10.0        10.0  0.52    -0.55
## HeadInjury*          0.00          1.0          2.0         1.0  2.31     3.33
## Alcohol*             0.00          1.0          2.0         1.0 -4.01    14.10
## Cocaine*             0.00          1.0          2.0         1.0  0.80    -1.37
## Cannabis*            0.00          1.0          2.0         1.0 -0.69    -1.52
## Opiate*              0.00          1.0          2.0         1.0  1.84     1.38
## PTSDtotal            5.93         17.0         83.0        66.0  2.02     4.06
##                       se
## HNDid         1389837.55
## Race*               0.02
## Sex*                0.02
## PovStat*            0.02
## Age                 0.36
## Education*          0.13
## Educnum             0.11
## PovStat.1*          0.02
## WRATtotal           0.29
## PsychAggress*       0.01
## PhysAssault*        0.01
## ACEtotal            0.09
## HeadInjury*         0.01
## Alcohol*            0.01
## Cocaine*            0.02
## Cannabis*           0.02
## Opiate*             0.02
## PTSDtotal           0.45
##      HNDid              Race        Sex       PovStat         Age       
##  Min.   :8.031e+09   White:331   Women:347   Above:457   Min.   :30.10  
##  1st Qu.:8.152e+09   AfrAm:334   Men  :318   Below:208   1st Qu.:39.00  
##  Median :8.172e+09                                       Median :46.50  
##  Mean   :8.169e+09                                       Mean   :46.58  
##  3rd Qu.:8.193e+09                                       3rd Qu.:53.80  
##  Max.   :8.224e+09                                       Max.   :65.90  
##                                                                         
##                       Education      Educnum      PovStat.1     WRATtotal    
##  HS graduate/GED           :213   Min.   : 1.00   Above:457   Min.   :10.00  
##  11th grade                : 70   1st Qu.:11.00   Below:208   1st Qu.:39.00  
##  2 years college, no degree: 61   Median :12.00               Median :45.00  
##  1 year college            : 52   Mean   :12.66               Mean   :43.71  
##  Bachelor's degree         : 52   3rd Qu.:14.00               3rd Qu.:49.00  
##  (Other)                   :193   Max.   :20.00               Max.   :57.00  
##  NA's                      : 24   NA's   :24                                 
##  PsychAggress PhysAssault    ACEtotal      HeadInjury Alcohol    Cocaine   
##  No : 90      No :584     Min.   : 0.000   No :584    No  : 30   No  :366  
##  Yes:575      Yes: 81     1st Qu.: 3.000   Yes: 81    Yes :543   Yes :168  
##                           Median : 4.000              NA's: 92   NA's:131  
##                           Mean   : 4.529                                   
##                           3rd Qu.: 6.000                                   
##                           Max.   :10.000                                   
##                           NA's   :134                                      
##  Cannabis    Opiate      PTSDtotal    
##  No  :187   No  :448   Min.   :17.00  
##  Yes :370   Yes : 86   1st Qu.:18.00  
##  NA's:108   NA's:131   Median :22.00  
##                        Mean   :25.95  
##                        3rd Qu.:29.00  
##                        Max.   :83.00  
## 

t.test for PTSDtotal

#Psychological Aggression
t.test(PTSDtotal~PsychAggress,data=newdata)
## 
##  Welch Two Sample t-test
## 
## data:  PTSDtotal by PsychAggress
## t = -5.6605, df = 195.8, p-value = 5.31e-08
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -6.536960 -3.158885
## sample estimates:
##  mean in group No mean in group Yes 
##          21.75556          26.60348
#Physical Assault
t.test(PTSDtotal~PhysAssault,data=newdata)
## 
##  Welch Two Sample t-test
## 
## data:  PTSDtotal by PhysAssault
## t = -3.6509, df = 91.799, p-value = 0.0004342
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -9.686525 -2.860617
## sample estimates:
##  mean in group No mean in group Yes 
##          25.18322          31.45679

t.test for Age

#Psychological Aggression
t.test(Age~PsychAggress,data=newdata)
## 
##  Welch Two Sample t-test
## 
## data:  Age by PsychAggress
## t = 2.2126, df = 113.32, p-value = 0.02893
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  0.2572669 4.6604143
## sample estimates:
##  mean in group No mean in group Yes 
##          48.70667          46.24783
#Physical Assault
t.test(Age~PhysAssault,data=newdata)
## 
##  Welch Two Sample t-test
## 
## data:  Age by PhysAssault
## t = 3.2316, df = 110.08, p-value = 0.001624
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  1.238724 5.166912
## sample estimates:
##  mean in group No mean in group Yes 
##          46.97072          43.76790

t.test for Years of Education

#Psychological Aggression
t.test(Educnum~PsychAggress,data=newdata)
## 
##  Welch Two Sample t-test
## 
## data:  Educnum by PsychAggress
## t = -0.98991, df = 110.33, p-value = 0.3244
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -0.9683675  0.3231967
## sample estimates:
##  mean in group No mean in group Yes 
##          12.38372          12.70631
#Physical Assault
t.test(Educnum~PhysAssault,data=newdata)
## 
##  Welch Two Sample t-test
## 
## data:  Educnum by PhysAssault
## t = -0.67531, df = 97.074, p-value = 0.5011
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -0.9540171  0.4696143
## sample estimates:
##  mean in group No mean in group Yes 
##           12.6328           12.8750

t.test for Total Number of Adverse Childhood Experiences (ACES)

#Psychological Aggression
t.test(ACEtotal~PsychAggress,data=newdata)
## 
##  Welch Two Sample t-test
## 
## data:  ACEtotal by PsychAggress
## t = -2.0151, df = 86.125, p-value = 0.04701
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -0.978091844 -0.006645641
## sample estimates:
##  mean in group No mean in group Yes 
##          4.095238          4.587607
#Physical Assault
t.test(ACEtotal~PhysAssault,data=newdata)
## 
##  Welch Two Sample t-test
## 
## data:  ACEtotal by PhysAssault
## t = -2.8446, df = 85.889, p-value = 0.005557
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -1.3184345 -0.2337189
## sample estimates:
##  mean in group No mean in group Yes 
##          4.429806          5.205882

t.test for Total Score on WRAT

#Psychological Aggression
t.test(WRATtotal~PsychAggress,data=newdata)
## 
##  Welch Two Sample t-test
## 
## data:  WRATtotal by PsychAggress
## t = -1.5385, df = 113.45, p-value = 0.1267
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -3.2341501  0.4067105
## sample estimates:
##  mean in group No mean in group Yes 
##          42.48889          43.90261
#Physical Assault
t.test(WRATtotal~PhysAssault,data=newdata)
## 
##  Welch Two Sample t-test
## 
## data:  WRATtotal by PhysAssault
## t = -0.67911, df = 100.89, p-value = 0.4986
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -2.501830  1.225744
## sample estimates:
##  mean in group No mean in group Yes 
##          43.63356          44.27160

Chi-Square Test of Independence for Sex

#Psychological Aggression
tbl = table(newdata$PsychAggress, newdata$Sex)
print(tbl)
##      
##       Women Men
##   No     38  52
##   Yes   309 266
chisq.test(tbl)
## 
##  Pearson's Chi-squared test with Yates' continuity correction
## 
## data:  tbl
## X-squared = 3.688, df = 1, p-value = 0.05481
#Physical Assault
tbl = table(newdata$PhysAssault, newdata$Sex)
print(tbl)
##      
##       Women Men
##   No    301 283
##   Yes    46  35
chisq.test(tbl)
## 
##  Pearson's Chi-squared test with Yates' continuity correction
## 
## data:  tbl
## X-squared = 0.58918, df = 1, p-value = 0.4427

Chi-Square Test of Independence for Race

#Psychological Aggression
tbl = table(newdata$PsychAggress, newdata$Race)
print(tbl)
##      
##       White AfrAm
##   No     39    51
##   Yes   292   283
chisq.test(tbl)
## 
##  Pearson's Chi-squared test with Yates' continuity correction
## 
## data:  tbl
## X-squared = 1.4422, df = 1, p-value = 0.2298
#Physical Assault
tbl = table(newdata$PhysAssault, newdata$Race)
print(tbl)
##      
##       White AfrAm
##   No    290   294
##   Yes    41    40
chisq.test(tbl)
## 
##  Pearson's Chi-squared test with Yates' continuity correction
## 
## data:  tbl
## X-squared = 0.0018772, df = 1, p-value = 0.9654

Chi-Square Test of Independence for Head Injury

#Psychological Aggression
tbl = table(newdata$PsychAggress, newdata$HeadInjury)
print(tbl)
##      
##        No Yes
##   No   81   9
##   Yes 503  72
chisq.test(tbl)
## 
##  Pearson's Chi-squared test with Yates' continuity correction
## 
## data:  tbl
## X-squared = 0.25692, df = 1, p-value = 0.6122
#Physical Assault
tbl = table(newdata$PhysAssault, newdata$HeadInjury)
print(tbl)
##      
##        No Yes
##   No  512  72
##   Yes  72   9
chisq.test(tbl)
## 
##  Pearson's Chi-squared test with Yates' continuity correction
## 
## data:  tbl
## X-squared = 0.017621, df = 1, p-value = 0.8944

Chi-Square Test of Independence for Poverty Status

#Psychological Aggression
tbl = table(newdata$PsychAggress, newdata$PovStat)
print(tbl)
##      
##       Above Below
##   No     65    25
##   Yes   392   183
chisq.test(tbl)
## 
##  Pearson's Chi-squared test with Yates' continuity correction
## 
## data:  tbl
## X-squared = 0.41994, df = 1, p-value = 0.517
#Physical Assault
tbl = table(newdata$PhysAssault, newdata$PovStat)
print(tbl)
##      
##       Above Below
##   No    410   174
##   Yes    47    34
chisq.test(tbl)
## 
##  Pearson's Chi-squared test with Yates' continuity correction
## 
## data:  tbl
## X-squared = 4.3598, df = 1, p-value = 0.0368

Chi-Square Test of Independence for Cocaine Use

#Psychological Aggression
tbl = table(newdata$PsychAggress, newdata$Cocaine)
print(tbl)
##      
##        No Yes
##   No   55  21
##   Yes 311 147
chisq.test(tbl)
## 
##  Pearson's Chi-squared test with Yates' continuity correction
## 
## data:  tbl
## X-squared = 0.41327, df = 1, p-value = 0.5203
#Physical Assault
tbl = table(newdata$PhysAssault, newdata$Cocaine)
print(tbl)
##      
##        No Yes
##   No  332 141
##   Yes  34  27
chisq.test(tbl)
## 
##  Pearson's Chi-squared test with Yates' continuity correction
## 
## data:  tbl
## X-squared = 4.5852, df = 1, p-value = 0.03225

Chi-Square Test of Independence for Cannabis Use

#Psychological Aggression
tbl = table(newdata$PsychAggress, newdata$Cannabis)
print(tbl)
##      
##        No Yes
##   No   34  46
##   Yes 153 324
chisq.test(tbl)
## 
##  Pearson's Chi-squared test with Yates' continuity correction
## 
## data:  tbl
## X-squared = 2.8873, df = 1, p-value = 0.08928
#Physical Assault
tbl = table(newdata$PhysAssault, newdata$Cannabis)
print(tbl)
##      
##        No Yes
##   No  178 312
##   Yes   9  58
chisq.test(tbl)
## 
##  Pearson's Chi-squared test with Yates' continuity correction
## 
## data:  tbl
## X-squared = 12.845, df = 1, p-value = 0.0003385

Chi-Square Test of Independence for Alcohol Use

#Psychological Aggression
tbl = table(newdata$PsychAggress, newdata$Alcohol)
print(tbl)
##      
##        No Yes
##   No    6  74
##   Yes  24 469
chisq.test(tbl)
## Warning in chisq.test(tbl): Chi-squared approximation may be incorrect
## 
##  Pearson's Chi-squared test with Yates' continuity correction
## 
## data:  tbl
## X-squared = 0.50368, df = 1, p-value = 0.4779
#Physical Assault
tbl = table(newdata$PhysAssault, newdata$Alcohol)
print(tbl)
##      
##        No Yes
##   No   30 477
##   Yes   0  66
chisq.test(tbl)
## Warning in chisq.test(tbl): Chi-squared approximation may be incorrect
## 
##  Pearson's Chi-squared test with Yates' continuity correction
## 
## data:  tbl
## X-squared = 3.0148, df = 1, p-value = 0.08251

Chi-Square Test of Independence for Opiate Use

#Psychological Aggression
tbl = table(newdata$PsychAggress, newdata$Opiate)
print(tbl)
##      
##        No Yes
##   No   67  10
##   Yes 381  76
chisq.test(tbl)
## 
##  Pearson's Chi-squared test with Yates' continuity correction
## 
## data:  tbl
## X-squared = 0.40578, df = 1, p-value = 0.5241
#Physical Assault
tbl = table(newdata$PhysAssault, newdata$Opiate)
print(tbl)
##      
##        No Yes
##   No  397  77
##   Yes  51   9
chisq.test(tbl)
## 
##  Pearson's Chi-squared test with Yates' continuity correction
## 
## data:  tbl
## X-squared = 0.0036887, df = 1, p-value = 0.9516

t.tests for Cognitive Tests

t.test for Trail Making Test Part A

#Psychological Aggression
t.test(TrailsA~PsychAggress,data=Alldat)
## 
##  Welch Two Sample t-test
## 
## data:  TrailsA by PsychAggress
## t = 1.7409, df = 92.151, p-value = 0.08504
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -1.37693 20.93046
## sample estimates:
##  mean in group No mean in group Yes 
##          43.84884          34.07207
#Physical Assault
t.test(TrailsA~PhysAssault,data=Alldat)
## 
##  Welch Two Sample t-test
## 
## data:  TrailsA by PhysAssault
## t = 2.5396, df = 294.99, p-value = 0.01161
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  1.095089 8.637086
## sample estimates:
##  mean in group No mean in group Yes 
##          35.99109          31.12500

t.test for TrailsB

#Psychological Aggression
t.test(TrailsB~PsychAggress,data=Alldat)
## 
##  Welch Two Sample t-test
## 
## data:  TrailsB by PsychAggress
## t = 1.4122, df = 112.82, p-value = 0.1606
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -4.856978 28.967475
## sample estimates:
##  mean in group No mean in group Yes 
##          118.7093          106.6541
#Physical Assault
t.test(TrailsB~PhysAssault,data=Alldat)
## 
##  Welch Two Sample t-test
## 
## data:  TrailsB by PhysAssault
## t = 0.79939, df = 102.26, p-value = 0.4259
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -10.50810  24.69682
## sample estimates:
##  mean in group No mean in group Yes 
##          109.1569          102.0625

t.test for DigitSpanFwd

#Psychological Aggression
t.test(DigitSpanFwd~PsychAggress,data=Alldat)
## 
##  Welch Two Sample t-test
## 
## data:  DigitSpanFwd by PsychAggress
## t = -2.1319, df = 128.31, p-value = 0.03492
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -0.94087170 -0.03507635
## sample estimates:
##  mean in group No mean in group Yes 
##          7.081395          7.569369
#Physical Assault
t.test(DigitSpanFwd~PhysAssault,data=Alldat)
## 
##  Welch Two Sample t-test
## 
## data:  DigitSpanFwd by PhysAssault
## t = -0.41729, df = 105.94, p-value = 0.6773
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -0.6314972  0.4118894
## sample estimates:
##  mean in group No mean in group Yes 
##          7.490196          7.600000

t.test for DigitSpanBck

#Psychological Aggression
t.test(DigitSpanBck~PsychAggress,data=Alldat)
## 
##  Welch Two Sample t-test
## 
## data:  DigitSpanBck by PsychAggress
## t = -1.4028, df = 126.05, p-value = 0.1631
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -0.7706488  0.1313025
## sample estimates:
##  mean in group No mean in group Yes 
##          5.604651          5.924324
#Physical Assault
t.test(DigitSpanBck~PhysAssault,data=Alldat)
## 
##  Welch Two Sample t-test
## 
## data:  DigitSpanBck by PhysAssault
## t = -1.2479, df = 97.823, p-value = 0.2151
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -0.9428624  0.2148766
## sample estimates:
##  mean in group No mean in group Yes 
##          5.836007          6.200000

t.test for FluencyWord

#Psychological Aggression
t.test(FluencyWord~PsychAggress,data=Alldat)
## 
##  Welch Two Sample t-test
## 
## data:  FluencyWord by PsychAggress
## t = -1.3503, df = 125.12, p-value = 0.1794
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -1.8764173  0.3543976
## sample estimates:
##  mean in group No mean in group Yes 
##          18.96512          19.72613
#Physical Assault
t.test(FluencyWord~PhysAssault,data=Alldat)
## 
##  Welch Two Sample t-test
## 
## data:  FluencyWord by PhysAssault
## t = 0.55143, df = 104.21, p-value = 0.5825
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -0.924072  1.635970
## sample estimates:
##  mean in group No mean in group Yes 
##          19.66845          19.31250

t.test for CVLbet

#Psychological Aggression
t.test(CVLbet~PsychAggress,data=Alldat)
## 
##  Welch Two Sample t-test
## 
## data:  CVLbet by PsychAggress
## t = -0.1526, df = 113.88, p-value = 0.879
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -0.2948373  0.2526625
## sample estimates:
##  mean in group No mean in group Yes 
##          1.738372          1.759459
#Physical Assault
t.test(CVLbet~PhysAssault,data=Alldat)
## 
##  Welch Two Sample t-test
## 
## data:  CVLbet by PhysAssault
## t = -2.7841, df = 100.48, p-value = 0.006414
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -0.7085866 -0.1189313
## sample estimates:
##  mean in group No mean in group Yes 
##          1.704991          2.118750

t.test for CVLtca

#Psychological Aggression
t.test(CVLtca~PsychAggress,data=Alldat)
## 
##  Welch Two Sample t-test
## 
## data:  CVLtca by PsychAggress
## t = -2.2222, df = 114.75, p-value = 0.02823
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -3.8199178 -0.2193866
## sample estimates:
##  mean in group No mean in group Yes 
##          17.97674          19.99640
#Physical Assault
t.test(CVLtca~PhysAssault,data=Alldat)
## 
##  Welch Two Sample t-test
## 
## data:  CVLtca by PhysAssault
## t = -0.99926, df = 102.09, p-value = 0.32
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -2.8975452  0.9561014
## sample estimates:
##  mean in group No mean in group Yes 
##          19.60428          20.57500

t.test for CVLtcb

#Psychological Aggression
t.test(CVLtcb~PsychAggress,data=Alldat)
## 
##  Welch Two Sample t-test
## 
## data:  CVLtcb by PsychAggress
## t = -0.93449, df = 122.28, p-value = 0.3519
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -0.6415006  0.2300613
## sample estimates:
##  mean in group No mean in group Yes 
##          3.918605          4.124324
#Physical Assault
t.test(CVLtcb~PhysAssault,data=Alldat)
## 
##  Welch Two Sample t-test
## 
## data:  CVLtcb by PhysAssault
## t = 0.042525, df = 103.65, p-value = 0.9662
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -0.4809474  0.5020259
## sample estimates:
##  mean in group No mean in group Yes 
##          4.098039          4.087500

t.test for CVLfrl

#Psychological Aggression
t.test(CVLfrl~PsychAggress,data=Alldat)
## 
##  Welch Two Sample t-test
## 
## data:  CVLfrl by PsychAggress
## t = -3.4887, df = 116.6, p-value = 0.0006857
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -2.0457266 -0.5641204
## sample estimates:
##  mean in group No mean in group Yes 
##          4.558140          5.863063
#Physical Assault
t.test(CVLfrl~PhysAssault,data=Alldat)
## 
##  Welch Two Sample t-test
## 
## data:  CVLfrl by PhysAssault
## t = -1.004, df = 99.751, p-value = 0.3178
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -1.2735820  0.4177442
## sample estimates:
##  mean in group No mean in group Yes 
##          5.634581          6.062500

t.test for CVLfrs

#Psychological Aggression
t.test(CVLfrs~PsychAggress,data=Alldat)
## 
##  Welch Two Sample t-test
## 
## data:  CVLfrs by PsychAggress
## t = -2.6013, df = 114.45, p-value = 0.01051
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -1.7349347 -0.2348956
## sample estimates:
##  mean in group No mean in group Yes 
##          4.906977          5.891892
#Physical Assault
t.test(CVLfrs~PhysAssault,data=Alldat)
## 
##  Welch Two Sample t-test
## 
## data:  CVLfrs by PhysAssault
## t = -0.57733, df = 98.92, p-value = 0.565
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -1.0912422  0.5993528
## sample estimates:
##  mean in group No mean in group Yes 
##          5.729055          5.975000

t.test for StroopMixed

#Psychological Aggression
t.test(StroopMixed~PsychAggress,data=Alldat)
## 
##  Welch Two Sample t-test
## 
## data:  StroopMixed by PsychAggress
## t = -3.3141, df = 107.1, p-value = 0.001255
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -6.512999 -1.637659
## sample estimates:
##  mean in group No mean in group Yes 
##          29.26582          33.34115
#Physical Assault
t.test(StroopMixed~PhysAssault,data=Alldat)
## 
##  Welch Two Sample t-test
## 
## data:  StroopMixed by PhysAssault
## t = -0.78011, df = 76.695, p-value = 0.4377
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -4.047331  1.768883
## sample estimates:
##  mean in group No mean in group Yes 
##          32.62268          33.76190