library(tidyverse)
## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
## ✔ dplyr     1.1.2     ✔ readr     2.1.4
## ✔ forcats   1.0.0     ✔ stringr   1.5.0
## ✔ ggplot2   3.4.2     ✔ tibble    3.2.1
## ✔ lubridate 1.9.2     ✔ tidyr     1.3.0
## ✔ purrr     1.0.1     
## ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
## ✖ dplyr::filter() masks stats::filter()
## ✖ dplyr::lag()    masks stats::lag()
## ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
library(dplyr)
library(infer)
library(EnvStats)
## 
## Attaching package: 'EnvStats'
## 
## The following objects are masked from 'package:stats':
## 
##     predict, predict.lm
## 
## The following object is masked from 'package:base':
## 
##     print.default
msdlabs <- read.csv ("msdlabs.csv")
### Select African Americans

filter (msdlabs, AFAM %in% c(1))
##     IDCODE AGE FEMALE AFAM AINA API WHITE OTHRACE HISP  IQ HOUSEHOLD SCHLBELONG
## 1     1003  14      0    1    0   0     0       0    0  79        25       3.25
## 2     1004  14      0    1    0   0     0       0    0  91         5       3.00
## 3     1005  14      0    1    0   0     0       0    0 102         8       3.50
## 4     1007  14      1    1    0   0     0       0    0 100        14       2.25
## 5     1009  14      0    1    0   0     0       0    0  88        24       3.00
## 6     1018  14      0    1    0   0     0       0    0  68        28       1.75
## 7     1019  14      0    1    0   0     0       0    0  93        27       1.75
## 8     1037  14      1    1    0   0     0       0    0  91        50       3.75
## 9     1041  14      1    1    0   0     0       0    0 100        30       2.00
## 10    1052  14      1    1    0   0     0       0    0 102        38       2.50
## 11    1053  14      1    1    0   0     0       0    0  91       150       2.75
## 12    1055  14      1    1    0   0     0       0    0  92        13       3.25
## 13    1058  14      0    1    0   0     0       0    0 116         8       3.75
## 14    1059  14      1    1    0   0     0       0    0 108        76       1.75
## 15    1067  14      1    1    0   0     0       0    0  96        21       1.50
## 16    1069  14      1    1    0   0     0       0    0  73        18       1.25
## 17    1071  14      1    1    0   0     0       0    0  90         5       1.50
## 18    1076  14      1    1    0   0     0       0    0  80        30       2.75
## 19    1082  14      1    1    0   0     0       0    0  91        13       3.00
## 20    1086  14      0    1    0   0     0       0    0  92        15       3.50
## 21    1090  14      1    1    0   0     0       0    0  89        48       2.75
## 22    1092  14      1    1    0   0     0       0    0  62        12       3.50
## 23    1095  14      1    1    0   0     0       0    0  80        50       2.00
## 24    1096  14      0    1    0   0     0       0    0  94         4       3.25
## 25    1099  14      0    1    0   0     0       0    0 104        39       3.00
## 26    1101  14      0    1    0   0     0       0    0  97        28       2.50
## 27    1102  14      1    1    0   0     0       0    0  92        15       3.00
## 28    1104  14      1    1    0   0     0       0    0  95        26       3.00
## 29    1115  14      0    1    0   0     0       0    0  97        37       3.00
## 30    1120  14      0    1    0   0     0       0    0  79        62       3.00
## 31    1129  14      0    1    0   0     0       0    0 111        55       1.25
## 32    1134  14      1    1    0   0     0       0    0  78         7       1.25
## 33    1136  14      1    1    0   0     0       0    0 104       100       3.00
## 34    1139  14      0    1    0   0     0       0    0  86       100       2.75
## 35    1142  14      1    1    0   0     0       0    0  87       280       2.50
## 36    1144  14      0    1    0   0     0       0    0  80        32       3.25
## 37    1148  14      1    1    0   0     0       0    0  94        65       3.25
## 38    1171  14      1    1    0   0     0       0    0  99        25       3.00
## 39    1175  14      1    1    0   0     0       0    0 130        74       3.00
## 40    1176  14      1    1    0   0     0       0    0  94        15       3.00
## 41    1177  14      0    1    0   0     0       0    0  80        92       2.25
## 42    1183  14      0    1    0   0     0       0    0  94         7       2.50
## 43    1184  14      1    1    0   0     0       0    0  96        14       4.00
## 44    1188  14      1    1    0   0     0       0    0  82         4       2.25
## 45    1189  14      0    1    0   0     0       0    0  98        30       2.25
## 46    1191  14      1    1    0   0     0       0    0  87        35       2.25
## 47    1200  14      0    1    0   0     0       0    1  67        27       4.00
## 48    1213  14      0    1    0   0     0       0    0  92        21       3.25
## 49    1221  14      1    1    0   0     0       0    0  83        35       2.75
## 50    1224  14      0    1    0   0     0       0    0  90         6       2.50
## 51    1226  14      1    1    0   0     0       0    0  87        28       2.50
## 52    1227  14      1    1    0   0     0       0    0  79         9       2.50
## 53    1228  14      0    1    0   0     0       0    0  73        22       2.25
## 54    1229  14      0    1    0   0     0       0    0  87        25       3.00
## 55    1230  14      1    1    0   0     0       0    0  80         5       2.50
## 56    1231  14      0    1    0   0     0       0    1 129       177       1.50
## 57    1233  14      0    1    0   0     0       0    0 119        48       3.00
## 58    1234  14      1    1    0   0     0       0    0  92        15       2.25
## 59    1243  14      0    1    0   0     0       0    0  90       251       3.50
## 60    1245  14      1    1    0   0     0       0    0  88        60       2.50
## 61    1246  14      0    1    0   0     0       0    0  92        60       3.00
## 62    1248  14      1    1    0   0     0       0    0 103        37       1.50
## 63    1252  14      1    1    0   0     0       0    0  96        15       1.25
## 64    1253  14      0    1    0   0     0       0    0 115        15       1.25
## 65    1254  14      0    1    0   0     0       0    0  92         0       1.50
## 66    1256  14      0    1    0   0     0       0    0  89        35       2.50
## 67    1257  14      1    1    0   0     0       0    0  80        12       2.75
## 68    1258  14      1    1    0   0     0       0    0  94        31       3.25
## 69    1259  14      0    1    0   0     0       0    0  91        12       3.00
## 70    1260  14      1    1    0   0     0       0    0  87         9       2.00
## 71    1262  14      0    1    0   0     0       0    0  87        15       2.75
## 72    1263  14      1    1    0   0     0       0    0  67        16       1.50
## 73    1265  14      1    1    0   0     0       0    0 100        42       2.75
## 74    1266  14      1    1    0   0     0       0    0  94         7       3.00
## 75    1272  14      0    1    0   0     0       0    0  92        25       3.25
## 76    1273  14      1    1    0   0     0       0    0  88        55       2.00
## 77    1274  14      0    1    0   0     0       0    0 125        85       3.25
## 78    1280  14      0    1    0   0     0       0    0 121        75       2.75
## 79    1283  14      1    1    0   0     0       0    0 115        45       3.50
## 80    1311  14      0    1    0   0     0       0    0  93        10       3.00
## 81    1314  14      0    1    0   0     0       0    0  83        15       3.00
## 82    1316  14      1    1    0   0     0       0    0  92        36       2.50
## 83    1318  14      1    1    0   0     0       0    0  85         6       2.00
## 84    1320  14      0    1    0   0     0       0    0  95        22       3.00
## 85    1323  14      1    1    0   0     0       0    0  80        10       1.00
## 86    1326  14      1    1    0   0     0       0    0  86         9       3.75
## 87    1335  14      0    1    0   0     0       0    0  88        70       4.00
## 88    1337  14      0    1    0   0     0       0    0  74        50       2.50
## 89    1341  14      0    1    0   0     0       0    0  91         9       1.50
## 90    1342  14      0    1    0   0     0       0    0  95         9       3.50
## 91    1353  14      0    1    0   0     0       0    0 119        40       2.75
## 92    1357  14      1    1    0   0     0       0    0  85        42       1.75
## 93    1358  14      1    1    0   0     0       0    0 110        25       2.75
## 94    1359  14      1    1    0   0     0       0    0  60        50       1.00
## 95    1360  14      1    1    0   0     0       0    0 102        15       3.25
## 96    1361  14      0    1    0   0     0       0    0  76        12       3.00
## 97    1367  14      0    1    0   0     0       0    0 115        22       2.75
## 98    1368  14      1    1    0   0     0       0    0  96        18       3.50
## 99    1392  14      1    1    0   0     0       0    0 127        15       3.50
## 100   1393  14      0    1    0   0     0       0    0 123         6       1.25
## 101   1394  14      1    1    0   0     0       0    0  99        24       2.75
## 102   1395  14      1    1    0   0     0       0    0  97        60       4.00
## 103   1397  14      0    1    0   0     0       0    0 111        60       3.25
## 104   1410  14      0    1    0   0     0       0    0 109        35       3.00
## 105   1413  14      1    1    0   0     0       0    0  80         8       3.75
## 106   1423  14      1    1    0   0     0       0    1 123        50       3.75
## 107   1429  14      0    1    0   0     0       0    0 122        50       2.00
## 108   1436  14      1    1    0   0     0       0    0  65        12       2.50
## 109   1437  14      1    1    0   0     0       0    0  94        60       2.75
## 110   1446  14      1    1    0   0     0       0    0  90        16       2.50
## 111   1449  14      0    1    0   0     0       0    0 127        80       1.75
## 112   1455  14      1    1    0   0     0       0    0  88        30       2.00
## 113   1461  14      0    1    0   0     0       0    0  79        50       3.00
## 114   1469  14      1    1    0   0     0       0    0 118        53       2.50
## 115   1477  14      0    1    0   0     0       0    0 127        20       2.75
## 116   1479  14      0    1    0   0     0       0    0  73        58       2.50
## 117   1484  14      1    1    0   0     0       0    0  79        32       2.75
## 118   1485  14      1    1    0   0     0       0    0  91        14       3.00
## 119   1486  14      1    1    0   0     0       0    0 106        10       2.75
## 120   1493  14      0    1    0   0     0       0    0  80         5       3.75
## 121   1495  14      1    1    0   0     0       0    0 108        28       3.00
## 122   1497  14      1    1    0   0     0       0    0  86        40       3.25
## 123   1498  14      1    1    0   0     0       0    0 100        22       3.00
## 124   1501  14      0    1    0   0     0       0    0 106        35       2.75
## 125   1504  14      1    1    0   0     0       0    0  93         7       2.50
## 126   1505  14      1    1    0   0     0       0    0 108       130       4.00
## 127   1507  14      0    1    0   0     0       0    0  86         5       3.25
## 128   1512  14      0    1    0   0     0       0    0  91        43       2.50
## 129   1513  14      1    1    0   0     0       0    0  76        15       3.50
## 130   1515  14      0    1    0   0     0       0    0  86        34       3.50
## 131   1516  14      1    1    0   0     0       0    0  94        26       2.75
## 132   1518  14      0    1    0   0     0       0    0  80        48       3.00
## 133   1519  14      1    1    0   0     0       0    0  90        28       3.00
## 134   1522  14      1    1    0   0     0       0    0  79         4       3.75
## 135   1523  14      1    1    0   0     0       0    0  96        75       1.75
## 136   1524  14      0    1    0   0     0       0    0  95        20       2.25
## 137   1527  14      0    1    0   0     0       0    0 119        32       1.00
## 138   1542  14      1    1    0   0     0       0    0 116        24       2.00
## 139   1543  14      0    1    0   0     0       0    0 118        45       2.75
## 140   1546  14      1    1    0   0     0       0    0  91         6       3.00
## 141   1551  14      1    1    0   0     0       0    0  79        23       0.50
## 142   1552  14      0    1    0   0     0       0    0  93        30       2.50
## 143   1553  14      0    1    0   0     0       0    0  80         3       2.75
## 144   1554  14      1    1    0   0     0       0    1  89        30       3.00
## 145   1555  14      0    1    0   0     0       0    1 102        16       3.00
## 146   1556  14      1    1    0   0     0       0    0  93        22       3.00
## 147   1558  14      0    1    0   0     0       0    0  76        79       2.00
## 148   1559  14      0    1    0   0     0       0    0  95        40       1.50
## 149   1560  14      0    1    0   0     0       0    0  91         8       3.00
## 150   1561  14      1    1    0   0     0       0    0  77         8       3.25
## 151   1567  14      1    1    0   0     0       0    0  93        43       2.00
## 152   1570  14      1    1    0   0     0       0    0  98        67       3.50
## 153   1573  14      0    1    0   0     0       0    0  86        28       3.75
## 154   1574  14      1    1    0   0     0       0    0  93        28       3.25
## 155   1575  14      1    1    0   0     0       0    0  90         9       2.25
## 156   1576  14      0    1    0   0     0       0    0  83        20       3.75
## 157   1577  14      1    1    0   0     0       0    0  91        84       2.75
## 158   1578  14      1    1    0   0     0       0    0  73        27       3.25
## 159   1580  14      0    1    0   0     0       0    0 113        17       3.50
## 160   1581  14      0    1    0   0     0       0    0  88        20       2.25
## 161   1582  14      1    1    0   0     0       0    0 102        20       3.00
## 162   1586  14      1    1    0   0     0       0    1  93        35       3.00
## 163   1589  14      0    1    0   0     0       0    0  88        30       3.00
## 164   1590  14      0    1    0   0     0       0    0 106        53       3.25
## 165   1592  14      1    1    0   0     0       0    0 108         6       2.75
## 166   1604  14      0    1    0   0     0       0    0 106        60       3.50
## 167   1606  14      0    1    0   0     0       0    0 104        44       3.50
## 168   1607  14      0    1    0   0     0       0    0 109        44       3.50
## 169   1608  14      0    1    0   0     0       0    1  91        14       3.75
## 170   1613  14      1    1    0   0     0       0    0  91        80       1.25
## 171   1632  14      1    1    0   0     0       0    0  84        10       2.50
## 172   1637  14      1    1    0   0     0       0    0  89        12       3.75
## 173   1638  14      1    1    0   0     0       0    0  92        42       3.00
## 174   1639  14      0    1    0   0     0       0    0  97        20       4.00
## 175   1640  14      0    1    0   0     0       0    0  67        20       3.00
## 176   1641  14      1    1    0   0     0       0    0  79        20       2.50
## 177   1643  14      0    1    0   0     0       0    0  69        22       3.25
## 178   1645  14      1    1    0   0     0       0    0  73         9       2.00
## 179   1651  14      1    1    0   0     0       0    0  79        15       2.25
## 180   1652  14      1    1    0   0     0       0    0  80         8       3.75
## 181   1658  14      1    1    0   0     0       0    0  99         3       3.00
## 182   1659  14      0    1    0   0     0       0    0  94        33       2.50
## 183   1665  14      0    1    0   0     0       0    0  91        25       3.25
## 184   1668  14      0    1    0   0     0       0    0  84        80       3.00
## 185   1680  14      0    1    0   0     0       0    0  97        32       2.00
## 186   1681  14      1    1    0   0     0       0    0  88        10       2.75
## 187   1683  14      1    1    0   0     0       0    0  79         8       3.00
## 188   1684  14      0    1    0   0     0       0    0  65        10       3.00
## 189   1692  14      1    1    0   0     0       0    0  94         0       2.75
## 190   1696  14      0    1    0   0     0       0    0  98        15       3.00
## 191   1698  14      1    1    0   0     0       0    0  89        26       2.25
## 192   1699  14      0    1    0   0     0       0    0  90        13       2.75
## 193   1700  14      0    1    0   0     0       0    0  81        27       1.25
## 194   1706  14      1    1    0   0     0       0    0  83         7       1.00
## 195   1707  14      0    1    0   0     0       0    0 101        90       2.75
## 196   1708  14      1    1    0   0     0       0    0 104        45       2.75
## 197   1717  14      1    1    0   0     0       0    1 103        26       0.50
## 198   1720  14      0    1    0   0     0       0    0  79        23       2.75
## 199   1722  14      0    1    0   0     0       0    0  94        89       3.75
## 200   1723  14      0    1    0   0     0       0    0  96        89       3.75
## 201   1724  14      0    1    0   0     0       0    0  92        25       2.50
## 202   1725  14      0    1    0   0     0       0    0  81        14       3.50
## 203   1726  14      1    1    0   0     0       0    0  99         5       3.50
## 204   1727  14      0    1    0   0     0       0    0  67        17       2.50
## 205   1728  14      1    1    0   0     0       0    0  87         2       3.75
## 206   1729  14      1    1    0   0     0       0    0  95        50       2.50
## 207   1732  14      1    1    0   0     0       0    0  98        87       1.75
## 208   1744  14      1    1    0   0     0       0    0  94        48       2.75
## 209   1745  14      1    1    0   0     0       0    0 121        42       1.00
## 210   1746  14      1    1    0   0     0       0    0  95        30       1.75
## 211   1751  14      0    1    0   0     0       0    0 100        32       2.75
## 212   1752  14      1    1    0   0     0       0    0  88        74       1.25
## 213   1753  14      1    1    0   0     0       0    0 102        25       3.00
## 214   1754  14      1    1    0   0     0       0    0  82        52       3.00
## 215   1755  14      1    1    0   0     0       0    0  79         7       1.00
## 216   1756  14      1    1    0   0     0       0    0  83        30       3.25
## 217   1758  14      1    1    0   0     0       0    0 119        38       2.50
## 218   1761  14      1    1    0   0     0       0    0  96        90       2.75
## 219   1764  14      1    1    0   0     0       0    0 122        85       3.00
## 220   1781  14      1    1    0   0     0       0    0 135        13       3.25
## 221   1789  14      1    1    0   0     0       0    1  83        12       2.75
## 222   1796  14      1    1    0   0     0       0    0  96        12       3.50
## 223   1806  14      0    1    0   0     0       0    0  82        36       3.50
## 224   1807  14      0    1    0   0     0       0    0  89        36       4.00
## 225   1810  14      1    1    0   0     0       0    0  99        98       1.50
## 226   1813  14      0    1    0   0     0       0    0  96        75       2.75
## 227   1814  14      0    1    0   0     0       0    0  97        75       3.00
## 228   1817  14      0    1    0   0     0       0    0  92        78       3.75
## 229   1830  14      1    1    0   0     0       0    0  92         7       2.50
## 230   1835  14      0    1    0   0     0       0    0  92        18       2.25
## 231   1836  14      1    1    0   0     0       0    0  99        18       2.75
## 232   1843  14      1    1    0   0     0       0    0  83        12       2.75
## 233   1848  14      0    1    0   0     0       0    0  97        10       2.50
## 234   1853  14      1    1    0   0     0       0    0 105        32       3.25
## 235   1854  14      1    1    0   0     0       0    0 117       100       3.50
## 236   1857  14      0    1    0   0     0       0    0 100        30       2.75
## 237   1860  14      0    1    0   0     0       0    0  75        12       4.00
## 238   1867  14      0    1    0   0     0       0    0 111       115       3.50
## 239   1868  14      1    1    0   0     0       0    0  94        80       2.50
## 240   1875  14      0    1    0   0     0       0    0  91         6       3.25
## 241   1885  14      0    1    0   0     0       0    0  80        15       2.00
## 242   1886  14      1    1    0   0     0       0    0  95        61       3.25
## 243   1887  14      1    1    0   0     0       0    0  69        22       3.00
## 244   1888  14      0    1    0   0     0       0    0  81         3       1.75
## 245   1891  14      0    1    0   0     0       0    0  99        50       2.50
## 246   1894  14      1    1    0   0     0       0    0  80        25       3.25
## 247   1898  14      1    1    0   0     0       0    0  83        15       3.00
## 248   1899  14      0    1    0   0     0       0    0  80        40       1.50
## 249   1900  14      1    1    0   0     0       0    0  91        50       3.25
## 250   1905  14      1    1    0   0     0       0    0  94        45       3.50
## 251   1906  14      1    1    0   0     0       0    0  69        23       3.75
## 252   1907  14      1    1    0   0     0       0    0  93        28       3.25
## 253   1908  14      0    1    0   0     0       0    0  78        40       3.25
## 254   1909  14      1    1    0   0     0       0    0 103        12       3.25
## 255   1910  14      0    1    0   0     0       0    0  92        12       2.50
## 256   1911  14      1    1    0   0     0       0    0  94        45       3.50
## 257   1912  14      0    1    0   0     0       0    0 103        38       1.75
## 258   1913  14      1    1    0   0     0       0    0  87         6       3.00
## 259   1914  14      0    1    0   0     0       0    0 107        75       1.75
## 260   1916  14      1    1    0   0     0       0    0 102        17       2.50
## 261   1917  14      0    1    0   0     0       0    0 114        50       3.00
## 262   1918  13      1    1    0   0     0       0    0  79         8       1.75
## 263   1922  13      0    1    0   0     0       0    0  85        42       4.00
## 264   1923  13      0    1    0   0     0       0    0 103        38       3.25
## 265   1924  13      1    1    0   0     0       0    0  76        15       3.75
## 266   1927  13      0    1    0   0     0       0    0  78        18       3.25
## 267   1929  13      1    1    0   0     0       0    0 104        14       2.50
## 268   1930  13      1    1    0   0     0       0    1 109       426       3.25
## 269   1932  13      1    1    0   0     0       0    0  89        40       3.50
## 270   1938  13      1    1    0   0     0       0    0  88        20       0.75
## 271   1939  13      1    1    0   0     0       0    0 121        22       2.25
## 272   1940  13      1    1    0   0     0       0    0 104        38       2.50
## 273   1941  13      0    1    0   0     0       0    0  91        50       2.75
## 274   1942  13      0    1    0   0     0       0    0  83        15       3.50
## 275   1945  13      0    1    0   0     0       0    0  98        45       2.50
## 276   1946  13      0    1    0   0     0       0    0  91        32       2.75
## 277   1950  13      1    1    0   0     0       0    0 101        32       2.75
## 278   1951  13      1    1    0   0     0       0    0  86        33       3.00
## 279   1953  13      1    1    0   0     0       0    0 109       112       2.75
## 280   1963  13      0    1    0   0     0       0    0  99        12       2.00
## 281   1969  13      1    1    0   0     0       0    0 108       100       1.50
## 282   1973  13      0    1    0   0     0       0    0  83        15       2.75
## 283   1975  13      0    1    0   0     0       0    0  85        26       1.50
## 284   1978  13      1    1    0   0     0       0    0 107        15       2.00
## 285   1985  13      1    1    0   0     0       0    0 101        86       2.50
## 286   1986  13      1    1    0   0     0       0    0  90        22       2.75
## 287   1987  13      0    1    0   0     0       0    0 108        60       3.25
## 288   1991  13      1    1    0   0     0       0    0 102        10       2.00
## 289   1992  13      0    1    0   0     0       0    0  87        14       2.50
## 290   1993  13      0    1    0   0     0       0    0 107        17       2.50
## 291   2008  13      0    1    0   0     0       0    0 126        16       1.50
## 292   2010  13      0    1    0   0     0       0    0  97        20       3.00
## 293   2012  13      1    1    0   0     0       0    0 118       150       3.25
## 294   2013  13      0    1    0   0     0       0    0  85        10       3.75
## 295   2015  13      0    1    0   0     0       0    0  83        25       3.50
## 296   2037  13      0    1    0   0     0       0    0 115        60       1.75
## 297   2046  13      0    1    0   0     0       0    0  82        50       2.50
## 298   2050  13      0    1    0   0     0       0    0 111        35       4.00
## 299   2051  13      1    1    0   0     0       0    0  97        35       1.75
## 300   2052  13      1    1    0   0     0       0    0 104        35       0.75
## 301   2062  13      0    1    0   0     0       0    0 123        12       3.00
## 302   2067  13      1    1    0   0     0       0    0  81        20       2.75
## 303   2068  13      0    1    0   0     0       0    0  90        20       3.75
## 304   2069  13      1    1    0   0     0       0    0  84        66       3.75
## 305   2071  13      1    1    0   0     0       0    0  84        11       3.25
## 306   2072  13      0    1    0   0     0       0    0  97        22       2.75
## 307   2073  13      1    1    0   0     0       0    0 107        30       2.75
## 308   2077  13      1    1    0   0     0       0    0 103        50       3.75
## 309   2078  13      0    1    0   0     0       0    0  77        25       2.25
## 310   2079  13      1    1    0   0     0       0    0  82        20       3.75
## 311   2080  13      0    1    0   0     0       0    0  79        20       2.75
## 312   2081  13      1    1    0   0     0       0    0 106         6       3.75
## 313   2082  13      0    1    0   0     0       0    0 117        25       3.50
## 314   2083  13      0    1    0   0     0       0    0  67        20       3.75
## 315   2084  13      1    1    0   0     0       0    0  94        55       3.50
## 316   2085  13      0    1    0   0     0       0    0  88        30       3.50
## 317   2086  13      1    1    0   0     0       0    0  96        40       3.50
## 318   2087  13      1    1    0   0     0       0    0  85         5       3.50
## 319   2089  13      1    1    0   0     0       0    0 105         6       2.00
## 320   2091  13      1    1    0   0     0       0    0  97        40       2.75
## 321   2093  13      0    1    0   0     0       0    1  97        40       2.75
## 322   2119  13      1    1    0   0     0       0    0 104         0       4.00
## 323   2120  13      0    1    0   0     0       0    0 108        85       2.75
## 324   2129  13      1    1    0   0     0       0    0  88        10       2.75
## 325   2131  13      1    1    0   0     0       0    0  89        78       1.75
## 326   2133  13      1    1    0   0     0       0    0 111        50       3.75
## 327   2134  13      0    1    0   0     0       0    0 116        65       3.00
## 328   2140  13      0    1    0   0     0       0    0  92        23       2.00
## 329   2151  13      0    1    0   0     0       0    0 105        57       3.00
## 330   2154  13      0    1    0   0     0       0    0  85        50       3.00
## 331   2155  13      0    1    0   0     0       0    0  97        19       3.50
## 332   2168  13      0    1    0   0     0       0    0 114        32       3.75
## 333   2171  13      1    1    0   0     0       0    0 116        80       2.50
## 334   2179  13      1    1    0   0     0       0    0 101        34       3.00
## 335   2197  13      1    1    0   0     0       0    1  94        95       3.75
## 336   2207  13      0    1    0   0     0       0    0  90        25       3.00
## 337   2211  13      1    1    0   0     0       0    0  90        40       2.75
## 338   2214  13      0    1    0   0     0       0    0  84        21       2.25
## 339   2215  13      1    1    0   0     0       0    0  97        20       4.00
## 340   2217  13      1    1    0   0     0       0    0  98        40       2.50
## 341   2220  13      0    1    0   0     0       0    0  67        67       3.25
## 342   2230  13      1    1    0   0     0       0    0 101        17       2.50
## 343   2233  13      1    1    0   0     0       0    0  84        22       0.25
## 344   2247  13      0    1    0   0     0       0    0  94         6       3.00
## 345   2257  13      1    1    0   0     0       0    0 116        45       2.25
## 346   2260  13      1    1    0   0     0       0    0 116        89       1.50
## 347   2261  13      0    1    0   0     0       0    0 123        64       3.25
## 348   2262  13      0    1    0   0     0       0    0 101        41       3.25
## 349   2263  13      0    1    0   0     0       0    0 110        28       2.75
## 350   2264  13      1    1    0   0     0       0    0  84        15       2.50
## 351   2265  13      0    1    0   0     0       0    0  99        12       2.00
## 352   2267  13      0    1    0   0     0       0    0  77        35       3.00
## 353   2269  13      0    1    0   0     0       0    0  85        11       1.75
## 354   2271  13      0    1    0   0     0       0    0  96        26       2.75
## 355   2274  13      0    1    0   0     0       0    0 112        30       2.50
## 356   2275  13      1    1    0   0     0       0    0  89        52       3.50
## 357   2281  13      0    1    0   0     0       0    0 111         5       3.00
## 358   2282  13      0    1    0   0     0       0    0  93        15       4.00
## 359   2284  13      1    1    0   0     0       0    0  91        35       1.75
## 360   2286  13      1    1    0   0     0       0    0  96        60       3.50
## 361   2287  13      1    1    0   0     0       0    1  82        22       3.75
## 362   2291  13      0    1    0   0     0       0    0  96         7       3.50
## 363   2298  13      1    1    0   0     0       0    0  96        22       1.75
## 364   2302  13      1    1    0   0     0       0    0 135        13       4.00
## 365   2303  13      0    1    0   0     0       0    0 101        45       2.75
## 366   2304  13      0    1    0   0     0       0    0  90         8       3.75
## 367   2306  13      0    1    0   0     0       0    0 112        45       3.25
## 368   2308  13      0    1    0   0     0       0    0  60         9       3.00
## 369   2316  13      1    1    0   0     0       0    0 100        45       2.50
## 370   2320  13      1    1    0   0     0       0    0  90        23       2.75
## 371   2321  13      1    1    0   0     0       0    0  95        23       2.00
## 372   2322  13      1    1    0   0     0       0    0  90        50       1.50
## 373   2323  13      0    1    0   0     0       0    0  93        30       3.00
## 374   2325  13      1    1    0   0     0       0    0  94        55       3.50
## 375   2326  13      1    1    0   0     0       0    0  94        25       1.75
## 376   2329  13      1    1    0   0     0       0    0 127        70       3.75
## 377   2331  13      1    1    0   0     0       0    0 105        50       2.50
## 378   2333  13      1    1    0   0     0       0    0  83        35       3.00
## 379   2337  13      1    1    0   0     0       0    0  62        36       3.00
## 380   2362  13      0    1    0   0     0       0    0 113        90       3.25
## 381   2365  13      1    1    0   0     0       0    0  85         4       3.25
## 382   2369  13      1    1    0   0     0       0    0  96        32       1.50
## 383   2375  13      0    1    0   0     0       0    0  87        32       3.75
## 384   2376  13      1    1    0   0     0       0    0  97         6       3.75
## 385   2378  13      1    1    0   0     0       0    0  94        80       2.50
## 386   2380  13      0    1    0   0     0       0    0  96        30       4.00
## 387   2392  13      1    1    0   0     0       0    0  65       117       2.50
## 388   2393  13      1    1    0   0     0       0    0  65        26       1.75
## 389   2395  13      1    1    0   0     0       0    0  75        24       4.00
## 390   2397  13      1    1    0   0     0       0    0  98        65       1.50
## 391   2399  13      0    1    0   0     0       0    0  88        24       3.00
## 392   2400  13      0    1    0   0     0       0    0 110        60       2.25
## 393   2401  13      1    1    0   0     0       0    0  83         1       2.50
## 394   2408  13      0    1    0   0     0       0    0  83        51       3.00
## 395   2409  13      1    1    0   0     0       0    0  87         7       3.25
## 396   2411  13      1    1    0   0     0       0    0  90        30       2.25
## 397   2414  13      0    1    0   0     0       0    0  88        63       4.00
## 398   2422  13      0    1    0   0     0       0    0 104       103       3.00
## 399   2425  13      1    1    0   0     0       0    0  91        20       2.50
## 400   2430  13      1    1    0   0     0       0    0 111        18       3.75
## 401   2436  13      1    1    0   0     0       0    0  93        15       2.00
## 402   2437  13      0    1    0   0     0       0    0 103        30       0.50
## 403   2444  13      1    1    0   0     0       0    0  98        50       3.25
## 404   2446  13      0    1    0   0     0       0    0 130        48       3.25
## 405   2451  13      1    1    0   0     0       0    0  85        40       2.75
## 406   2452  13      0    1    0   0     0       0    0 103        12       2.75
## 407   2454  13      0    1    0   0     0       0    0  94        48       3.00
## 408   2463  13      1    1    0   0     0       0    0  97        60       2.75
## 409   2483  13      0    1    0   0     0       0    0 130        47       3.50
## 410   2484  13      1    1    0   0     0       0    0  96        18       2.75
## 411   2486  13      1    1    0   0     0       0    0 117        35       3.75
## 412   2487  13      1    1    0   0     0       0    0  93        35       3.00
## 413   2492  13      0    1    0   0     0       0    0  89        25       2.25
## 414   2494  13      1    1    0   0     0       0    0  96        21       3.00
## 415   2495  13      0    1    0   0     0       0    0 105        20       3.00
## 416   2499  13      1    1    0   0     0       0    0 116        43       4.00
## 417   2507  13      1    1    0   0     0       0    0  93        55       2.75
## 418   2508  13      1    1    0   0     0       0    0 137        60       3.00
## 419   2516  13      1    1    0   0     0       0    0  89        16       2.50
## 420   2521  13      0    1    0   0     0       0    0 101        52       2.50
## 421   2522  13      1    1    0   0     0       0    0 104        25       2.75
## 422   2523  13      1    1    0   0     0       0    0  93        18       3.00
## 423   2524  13      1    1    0   0     0       0    0 115        25       2.50
## 424   2525  13      0    1    0   0     0       0    0 106        13       3.00
## 425   2526  13      1    1    0   0     0       0    0  94        21       2.75
## 426   2527  13      1    1    0   0     0       0    0  93        25       3.25
## 427   2528  12      1    1    0   0     0       0    0 146        20       3.00
## 428   2530  12      1    1    0   0     0       0    0  69        25       2.50
## 429   2532  12      0    1    0   0     0       0    0  93        50       1.50
## 430   2533  12      0    1    0   0     0       0    0  88         8       2.25
## 431   2537  12      0    1    0   0     0       0    0  84         6       3.00
## 432   2543  12      0    1    0   0     0       0    1 108        28       2.50
## 433   2544  12      0    1    0   0     0       0    0 115        33       3.50
## 434   2545  12      1    1    0   0     0       0    0  88         8       2.50
## 435   2546  12      1    1    0   0     0       0    0  82        20       0.00
## 436   2547  12      0    1    0   0     0       0    0 138        50       3.25
## 437   2552  12      1    1    0   0     0       0    0  93        45       0.00
##     SELFCONCEPT FAMCONNECT DEPRESS FIGHTING COMPHS ARRESTEDB18 ARRESTEDA18
## 1          2.86       3.60    0.50     0.33      1           2           1
## 2          4.00       3.40    1.00     0.00      1           0           0
## 3          4.00       3.60    0.60     2.33      1           0           0
## 4          4.00       2.83    0.90     0.00      1           0           0
## 5          3.00       3.20    0.50     0.33      0           0           0
## 6          3.29       3.60    0.55     0.00      1           1           0
## 7          2.86       4.00    0.85     1.33      1           0           0
## 8          3.57       3.83    0.85     0.00      1           0           0
## 9          3.71       3.60    1.45     0.67      1           0           0
## 10         4.00       3.60    0.95     1.00      1           0           1
## 11         3.57       3.83    1.10     0.00      1           0           0
## 12         3.29       3.20    1.15     0.00      1           0           0
## 13         3.86       3.40    0.70     1.00      1           0           0
## 14         2.14       2.17    1.10     0.00      1           0           0
## 15         3.86       3.67    0.85     0.00      1           0           0
## 16         3.00       4.00    1.15     1.33      0           0           0
## 17         2.71       3.40    0.55     0.33      1           0           0
## 18         3.57       3.50    1.05     0.00      1           0           0
## 19         3.71       3.60    0.60     0.00      1           0           0
## 20         3.29       4.00    0.85     2.00      1           0           0
## 21         3.86       3.83    0.20     0.00      1           0           0
## 22         3.71       4.00    0.95     2.00      0           0           0
## 23         2.29       2.40    0.80     1.67      1           0           0
## 24         4.00       3.80    0.75     0.33      1           0           0
## 25         3.86       3.83    0.65     0.33      1           0           0
## 26         4.00       3.60    0.80     1.67      1           0           0
## 27         3.43       4.00    0.45     0.67      1           0           0
## 28         3.57       4.00    0.95     0.00      1           0           0
## 29         3.00       3.40    0.80     0.00      1           0           1
## 30         3.86       3.50    0.95     0.33      0           0           0
## 31         3.29       1.83    0.75     0.33      1           0           0
## 32         3.71       3.00    0.40     0.00      1           0           0
## 33         4.00       4.00    0.60     0.00      1           0           0
## 34         3.57       3.17    0.85     0.00      1           0           0
## 35         2.29       2.60    1.30     0.67      1           0           0
## 36         3.00       4.00    0.00     0.00      1           0           0
## 37         2.43       3.33    1.00     0.00      1           0           0
## 38         3.71       3.17    0.85     0.67      1           0           0
## 39         2.57       2.67    0.70     0.00      1           0           0
## 40         3.14       3.60    0.50     0.00      1           0           0
## 41         3.14       3.67    0.40     0.67      1           0           2
## 42         3.57       3.20    0.55     1.00      1           0           0
## 43         3.71       3.40    1.30     0.00      1           0           2
## 44         3.71       3.80    0.85     0.00      0           0           0
## 45         3.43       3.33    0.85     0.67      1           0           0
## 46         3.00       2.40    0.45     0.00      1           0           0
## 47         4.00       3.80    0.30     0.00      1           0           0
## 48         4.00       3.83    0.85     0.00      0           0           0
## 49         4.00       3.50    0.75     0.00      1           0           0
## 50         2.71       3.17    0.70     0.33      1           0           0
## 51         3.57       4.00    0.65     0.00      1           0           0
## 52         3.00       4.00    0.95     0.00      1           0           0
## 53         3.71       3.00    0.95     0.00      1           0           1
## 54         3.00       3.33    0.50     0.33      1           0           0
## 55         3.00       3.67    1.10     2.33      1           0           0
## 56         3.14       2.40    0.75     1.33      1           0           0
## 57         3.71       3.20    0.70     0.33      1           1           0
## 58         2.71       3.00    0.65     0.67      1           0           0
## 59         3.57       4.00    0.80     1.00      1           0           0
## 60         3.00       3.00    0.65     0.00      1           0           0
## 61         3.00       3.50    0.85     0.67      1           0           0
## 62         2.14       2.50    1.35     0.00      1           0           0
## 63         2.86       3.20    0.75     0.33      1           0           0
## 64         2.43       2.00    0.65     0.33      1           0           0
## 65         3.00       2.60    0.85     0.00      1           0           0
## 66         3.86       4.00    0.75     0.00      1           0           0
## 67         3.00       3.40    0.55     0.00      0           0           0
## 68         3.57       2.20    0.95     0.00      1           0           0
## 69         3.86       3.80    0.75     0.67      1           0           0
## 70         3.86       2.80    0.85     0.67      1           0           0
## 71         2.71       3.33    1.20     0.00      1           0           0
## 72         3.57       3.80    0.60     1.67      0           0           0
## 73         3.71       3.50    0.55     0.00      1           0           0
## 74         2.71       3.40    0.80     0.33      1           0           0
## 75         3.71       3.67    0.80     0.00      1           0           0
## 76         4.00       3.00    0.50     0.33      1           0           0
## 77         3.14       3.00    0.65     0.00      1           1           0
## 78         3.43       3.67    0.65     0.67      1           0           0
## 79         3.71       3.17    1.00     0.33      1           0           0
## 80         2.57       3.33    0.60     0.33      1           0           0
## 81         2.71       3.20    0.10     0.67      1           0           0
## 82         3.29       3.40    0.70     0.67      1           0           0
## 83         3.00       3.60    0.50     1.00      1           0           0
## 84         3.57       3.17    0.60     0.00      1           0           0
## 85         2.71       3.80    0.60     0.00      0           0           0
## 86         3.86       4.00    0.55     0.33      1           0           0
## 87         4.00       3.67    0.60     0.00      1           0           0
## 88         3.57       4.00    1.05     0.33      1           1           0
## 89         3.14       3.00    0.80     3.00      1           0           0
## 90         2.00       0.83    0.65     1.33      1           0           0
## 91         3.29       4.00    0.90     0.33      1           0           0
## 92         4.00       3.00    0.45     0.00      1           0           0
## 93         3.71       3.80    0.60     0.00      1           0           0
## 94         4.00       3.50    1.55     1.00      1           0           0
## 95         4.00       3.17    0.50     0.00      1           0           0
## 96         4.00       4.00    0.40     1.00      0           0           2
## 97         3.71       3.33    1.20     1.00      1           0           0
## 98         3.86       3.80    0.60     1.00      1           0           0
## 99         3.71       3.40    0.55     0.00      1           0           0
## 100        4.00       3.40    0.70     0.00      1           0           0
## 101        3.57       3.00    1.60     0.67      1           0           0
## 102        3.71       4.00    0.55     0.33      1           0           0
## 103        3.57       3.83    0.65     0.00      1           0           0
## 104        3.29       3.60    0.80     0.67      1           3           0
## 105        4.00       3.83    0.85     0.00      1           0           0
## 106        2.43       2.60    1.45     0.00      1           0           0
## 107        4.00       3.50    0.80     1.00      1           0           0
## 108        3.57       3.80    0.50     0.00      1           0           0
## 109        3.71       3.50    0.55     0.33      1           0           0
## 110        3.86       3.00    0.90     0.67      0           0           0
## 111        2.00       1.80    0.90     0.33      1           0           0
## 112        2.29       2.67    0.20     0.67      0           0           0
## 113        4.00       4.00    0.40     0.00      1           0           0
## 114        3.57       3.00    0.95     1.67      1           0           0
## 115        3.29       3.50    0.80     0.00      1           0           0
## 116        3.00       4.00    0.65     0.33      1           0           0
## 117        3.00       3.83    0.55     0.33      1           0           0
## 118        4.00       3.20    0.90     0.00      1           0           0
## 119        2.57       2.00    0.85     0.00      1           0           0
## 120        3.00       3.60    0.45     0.00      1           0           0
## 121        3.29       3.50    0.75     0.00      1           0           0
## 122        4.00       3.33    1.00     0.00      1           0           0
## 123        3.29       3.20    0.35     0.00      1           0           0
## 124        2.86       2.67    0.85     0.33      1           0           0
## 125        3.57       2.50    0.50     0.33      1           0           0
## 126        3.43       3.67    0.55     0.00      1           0           0
## 127        4.00       4.00    1.20     1.33      0           0           7
## 128        2.86       3.40    0.75     0.00      1           0           0
## 129        3.43       4.00    0.85     1.33      1           0           0
## 130        3.14       4.00    0.50     0.67      1           0           0
## 131        3.14       2.00    0.40     0.00      0           0           0
## 132        2.86       3.60    0.95     0.00      1           0           0
## 133        3.86       3.83    0.65     0.33      1           0           0
## 134        3.00       3.20    1.05     0.67      1           0           0
## 135        1.43       2.40    0.55     0.00      1           0           0
## 136        3.00       3.40    1.10     0.67      1           0           1
## 137        3.86       3.80    0.60     0.67      1           0           0
## 138        3.57       3.80    0.90     0.00      1           0           0
## 139        2.86       2.60    1.25     1.67      1           1           0
## 140        4.00       2.40    0.30     0.00      0           0           0
## 141        3.29       3.80    0.80     0.33      0           0           0
## 142        3.00       1.60    0.75     0.67      1           0           2
## 143        2.71       3.17    0.95     0.33      1           0           0
## 144        3.86       3.67    0.75     0.33      1           0           0
## 145        3.57       2.67    1.05     0.00      1           0           0
## 146        3.71       3.40    1.05     0.33      1           0           0
## 147        3.14       3.40    0.15     0.00      1           0           0
## 148        2.43       2.60    1.50     0.00      1           0           0
## 149        3.00       3.17    0.85     0.00      1           0           0
## 150        3.86       3.67    0.75     0.00      1           0           0
## 151        2.14       3.00    1.05     0.00      1           0           0
## 152        3.14       3.00    0.80     0.00      1           0           0
## 153        4.00       3.67    0.55     0.00      1           0           0
## 154        2.57       3.83    0.55     0.00      1           0           0
## 155        4.00       4.00    0.90     0.00      1           0           0
## 156        3.57       4.00    0.50     0.33      1           0           0
## 157        3.43       2.83    0.65     0.00      1           0           0
## 158        2.86       4.00    0.60     0.67      1           0           0
## 159        3.71       3.00    0.75     0.00      1           0           0
## 160        3.00       3.80    0.85     1.00      1           0           1
## 161        3.00       2.20    1.00     1.00      1           0           0
## 162        4.00       3.83    0.75     0.67      1           0           0
## 163        4.00       4.00    0.30     0.00      1           0           0
## 164        3.00       4.00    0.55     0.33      1           0           0
## 165        3.71       3.60    0.75     0.00      1           0           0
## 166        4.00       3.83    0.85     0.00      1           0           0
## 167        3.86       3.33    1.15     0.67      1           0           0
## 168        3.86       3.50    0.65     0.33      1           0           0
## 169        3.14       4.00    0.85     1.33      1           0           0
## 170        3.00       3.67    1.50     0.67      1           0           0
## 171        3.00       3.20    0.65     1.00      1           0           0
## 172        2.86       3.00    0.95     1.00      1           0           0
## 173        3.71       2.67    0.65     0.00      1           0           0
## 174        4.00       3.60    0.70     0.00      0           0           0
## 175        3.57       4.00    0.80     0.00      0           0           0
## 176        3.14       2.67    0.80     0.67      0           0           0
## 177        2.33       4.00    1.60     1.00      0           0           0
## 178        3.57       4.00    0.90     1.00      0           0           0
## 179        3.00       3.00    0.45     1.00      0           0           0
## 180        3.86       3.83    1.20     2.00      1           0           0
## 181        3.00       2.80    0.65     0.33      1           0           0
## 182        2.71       3.50    0.50     0.00      1           0           0
## 183        3.43       3.80    0.55     0.00      1           0           0
## 184        3.29       3.33    0.45     0.00      1           0           0
## 185        3.00       2.40    0.65     2.00      1           0           0
## 186        3.14       1.83    0.50     0.00      1           0           0
## 187        3.71       2.60    0.85     1.67      0           0           0
## 188        3.00       3.00    0.65     1.00      0           0           0
## 189        3.57       3.33    0.75     0.00      1           0           0
## 190        3.86       2.00    0.50     0.00      1           0           0
## 191        2.57       2.80    1.10     0.67      1           1           0
## 192        3.00       3.80    0.75     1.33      0           0           0
## 193        2.57       3.20    0.55     0.67      1           0           0
## 194        3.86       3.60    0.95     1.00      1           0           0
## 195        2.71       3.33    0.85     0.00      1           0           0
## 196        3.86       3.67    0.50     1.33      1           0           0
## 197        0.43       2.40    1.15     3.00      0           1           0
## 198        3.86       3.33    1.30     0.67      1           0           0
## 199        4.00       3.80    1.20     0.67      1           0           0
## 200        4.00       4.00    1.15     0.33      1           0           0
## 201        3.57       3.83    0.35     0.33      1           0           0
## 202        3.86       3.83    0.90     0.33      1           0           0
## 203        2.86       2.83    1.35     0.33      1           0           0
## 204        3.71       3.83    0.60     1.00      1           0           0
## 205        4.00       4.00    0.55     0.00      1           0           0
## 206        3.86       4.00    0.75     0.33      1           0           0
## 207        2.14       1.67    1.45     1.67      1           0           1
## 208        3.43       4.00    0.65     0.00      1           0           0
## 209        3.71       2.50    1.95     0.00      1           0           0
## 210        2.86       3.67    0.45     0.00      1           0           0
## 211        3.29       3.83    0.60     0.67      1           0           0
## 212        2.29       1.33    0.90     0.00      1           0           0
## 213        3.00       2.33    1.05     0.33      1           0           0
## 214        2.29       2.40    0.65     0.00      1           0           0
## 215        2.86       4.00    0.90     0.00      0           0           0
## 216        3.29       3.60    0.95     0.00      1           0           0
## 217        3.00       3.00    0.55     0.00      1           0           0
## 218        2.57       3.17    0.70     0.00      1           0           0
## 219        3.57       2.20    1.00     0.67      1           0           0
## 220        3.43       3.80    0.65     0.33      1           0           0
## 221        2.14       2.00    0.85     0.33      0           0           0
## 222        3.14       3.40    0.60     0.00      1           0           0
## 223        3.14       4.00    0.55     1.67      0           0           0
## 224        4.00       4.00    1.55     3.00      1           0           0
## 225        3.00       2.83    0.70     0.33      1           0           0
## 226        2.86       3.80    0.75     0.00      1           0           0
## 227        3.71       3.40    0.95     0.00      1           0           0
## 228        3.00       3.67    0.75     0.67      1           0           0
## 229        3.00       2.80    0.50     0.00      1           0           0
## 230        2.57       2.20    0.80     0.33      1           0           0
## 231        3.29       3.00    0.65     0.00      1           0           0
## 232        2.86       3.00    0.25     0.00      1           0           0
## 233        3.14       3.80    1.50     0.33      1           0           2
## 234        4.00       3.00    0.60     0.33      1           0           0
## 235        3.00       3.33    0.85     0.33      1           0           0
## 236        3.86       2.33    0.60     0.00      1           0           0
## 237        3.71       4.00    0.60     0.00      1           0           0
## 238        3.86       3.17    0.45     0.00      1           0           0
## 239        3.00       3.83    0.70     0.00      1           0           0
## 240        3.57       3.00    1.75     1.00      1           0           0
## 241        3.57       3.17    1.20     0.67      1           0           0
## 242        3.43       3.80    0.70     0.00      1           0           0
## 243        4.00       3.80    0.75     1.00      1           0           0
## 244        3.86       4.00    1.25     0.33      1           0           0
## 245        3.86       4.00    0.80     0.00      1           0           0
## 246        4.00       3.20    0.50     0.00      1           0           0
## 247        2.57       4.00    0.95     1.00      0           0           0
## 248        3.00       2.67    1.20     0.67      0           4           3
## 249        2.57       3.50    0.60     0.00      1           0           0
## 250        2.86       4.00    1.10     1.00      1           1           0
## 251        3.86       4.00    0.30     0.00      0           2           0
## 252        4.00       3.00    0.65     0.00      1           0           0
## 253        3.57       3.83    1.30     0.00      1           0           0
## 254        1.86       3.00    1.20     1.00      1           0           0
## 255        3.86       4.00    0.55     0.00      1           0           0
## 256        3.86       3.50    0.60     0.67      1           0           0
## 257        3.43       2.33    0.65     0.33      1           0           0
## 258        3.43       2.80    0.60     0.67      1           0           0
## 259        3.00       3.50    0.85     1.33      1           2           0
## 260        3.86       3.17    0.60     0.00      1           0           0
## 261        3.43       4.00    0.60     0.00      1           0           0
## 262        3.86       4.00    0.25     2.00      0           0           0
## 263        4.00       3.80    0.40     2.33      1           0           0
## 264        3.57       3.60    0.70     0.67      1           0           0
## 265        3.86       3.20    2.05     2.33      0           0           3
## 266        3.57       4.00    0.65     0.33      0           1           0
## 267        3.43       3.00    0.50     0.00      1           0           0
## 268        3.71       3.80    0.60     0.00      0           0           0
## 269        3.57       3.60    0.80     0.00      1           0           0
## 270        3.14       1.20    0.90     0.00      1           0           0
## 271        3.71       2.83    1.40     0.00      1           0           0
## 272        4.00       3.80    0.85     0.33      1           0           0
## 273        2.86       3.00    0.50     0.00      1           0           1
## 274        4.00       4.00    0.80     0.00      1           0           0
## 275        3.71       4.00    0.80     0.00      1           0           0
## 276        3.14       2.80    0.50     1.00      1           3           1
## 277        3.14       2.83    0.45     0.33      1           0           0
## 278        4.00       4.00    0.60     0.00      1           0           0
## 279        3.00       1.67    1.30     0.67      1           0           0
## 280        3.43       3.33    0.75     0.33      1           1           1
## 281        3.00       1.50    1.15     2.33      1           0           0
## 282        3.29       2.33    0.45     0.00      1           0           0
## 283        3.14       3.60    0.70     0.00      1           0           0
## 284        2.86       2.40    0.75     0.00      1           0           0
## 285        3.00       1.50    1.30     0.33      1           1           0
## 286        3.86       3.40    0.75     0.67      1           0           0
## 287        3.71       4.00    1.10     1.33      1           0           0
## 288        3.00       2.40    1.15     1.33      0           0           0
## 289        3.86       3.50    0.90     1.33      1           0           0
## 290        3.57       2.40    0.55     0.67      1           0           0
## 291        3.57       3.40    0.50     0.00      1           0           0
## 292        3.00       3.60    0.75     0.67      1           0           0
## 293        4.00       4.00    0.50     0.33      1           0           0
## 294        3.86       4.00    0.90     0.33      1           1           0
## 295        3.00       3.00    0.80     0.00      1           0           0
## 296        3.71       3.83    0.60     1.33      1           0           0
## 297        2.86       2.50    0.90     0.67      1           0           0
## 298        3.71       2.17    0.60     0.00      1           1           0
## 299        2.71       2.33    0.65     0.00      1           0           0
## 300        1.86       2.00    0.80     0.00      1           0           0
## 301        3.00       3.20    0.90     0.00      1           2           1
## 302        3.43       3.60    0.80     0.00      1           0           0
## 303        3.43       3.50    1.20     0.67      1           0           0
## 304        3.71       3.50    1.45     0.00      0           0           0
## 305        3.29       2.83    1.15     0.33      1           0           0
## 306        2.71       3.83    0.80     0.00      1           0           0
## 307        2.86       3.17    2.40     1.33      1           0           0
## 308        3.86       3.17    0.60     0.00      1           0           0
## 309        4.00       2.83    0.55     0.67      1           0           0
## 310        3.57       4.00    0.90     0.00      1           0           0
## 311        3.71       4.00    1.10     1.00      1           0           2
## 312        3.86       3.83    0.65     0.67      1           0           0
## 313        3.43       4.00    0.80     0.67      1           0           0
## 314        3.00       3.20    0.80     1.00      0           0           0
## 315        3.57       1.50    0.85     0.00      1           0           0
## 316        4.00       4.00    0.45     0.00      0           0           0
## 317        3.71       1.80    0.60     0.00      1           0           0
## 318        2.86       1.80    0.80     0.33      1           0           0
## 319        3.14       1.80    0.80     3.00      1           0           0
## 320        2.57       2.67    0.55     0.00      1           0           0
## 321        3.43       3.83    0.70     0.33      1           0           0
## 322        4.00       3.83    0.65     0.00      1           0           0
## 323        3.57       3.50    0.45     0.00      1           0           0
## 324        4.00       3.60    0.50     0.33      1           0           0
## 325        4.00       3.00    0.55     0.00      0           0           0
## 326        3.29       3.00    0.85     0.67      1           0           0
## 327        3.86       4.00    0.65     0.00      1           0           0
## 328        3.86       3.83    0.95     0.33      1           0           0
## 329        3.00       3.67    0.85     0.33      1           0           0
## 330        3.86       3.50    0.75     0.67      1           0           0
## 331        3.43       3.40    0.75     0.33      1           0           0
## 332        4.00       3.80    0.65     0.00      1           0           0
## 333        3.86       3.33    0.60     0.00      1           0           0
## 334        4.00       3.83    0.70     0.00      1           0           0
## 335        3.86       3.60    0.70     0.00      1           0           1
## 336        3.14       3.40    0.75     0.67      0           0           0
## 337        4.00       4.00    0.75     0.00      1           0           0
## 338        3.57       3.40    1.30     0.33      1           0           0
## 339        3.86       4.00    1.00     0.00      1           0           0
## 340        3.57       3.83    0.85     0.33      1           0           0
## 341        3.00       4.00    0.55     0.00      1           0           0
## 342        3.14       2.60    0.80     0.33      1           0           0
## 343        3.43       3.50    1.25     1.00      1           0           0
## 344        3.14       3.80    1.20     0.67      1           0           0
## 345        2.43       2.60    0.65     0.00      1           0           0
## 346        3.00       2.50    0.65     0.00      1           0           0
## 347        3.86       3.00    0.90     0.33      1           0           0
## 348        4.00       3.83    0.40     0.00      1           0           0
## 349        3.29       3.17    1.10     0.00      1           0           0
## 350        3.00       3.83    0.60     0.33      0           0           0
## 351        4.00       2.80    0.85     1.67      0           0           1
## 352        4.00       2.00    0.95     1.67      0           3           1
## 353        3.86       4.00    0.90     0.67      1           0           0
## 354        4.00       3.80    0.70     0.00      1           0           0
## 355        3.57       4.00    0.50     0.00      1           0           0
## 356        3.14       3.00    0.30     0.00      1           0           0
## 357        4.00       3.17    0.35     0.33      1           0           0
## 358        3.71       4.00    0.75     0.00      1           0           0
## 359        2.86       3.17    0.55     0.00      1           0           0
## 360        3.71       1.83    0.50     0.67      1           0           0
## 361        3.86       2.83    0.90     0.33      1           0           0
## 362        4.00       4.00    0.95     0.67      1           0           2
## 363        2.57       2.80    0.55     1.33      0           0           0
## 364        3.86       3.50    0.90     0.33      1           0           0
## 365        3.86       3.50    0.95     0.33      1           0           0
## 366        3.29       2.00    0.65     0.33      0           0           0
## 367        3.71       3.50    0.65     0.67      1           0           0
## 368        3.57       3.80    1.15     0.33      1           0           0
## 369        3.14       3.20    0.75     0.33      1           0           0
## 370        3.57       3.40    0.75     2.67      1           0           0
## 371        3.43       3.40    1.15     0.67      1           0           0
## 372        3.00       4.00    0.50     0.00      1           0           0
## 373        4.00       3.80    0.60     0.00      1           0           0
## 374        3.71       4.00    1.15     0.00      1           0           0
## 375        2.71       3.40    1.35     0.33      1           0           0
## 376        3.86       3.00    0.70     0.00      1           0           0
## 377        3.29       2.60    0.60     0.00      1           0           0
## 378        4.00       4.00    0.50     0.00      1           0           0
## 379        3.29       3.00    0.70     0.33      1           0           0
## 380        3.29       2.67    0.70     0.00      1           0           0
## 381        3.43       3.20    0.65     0.33      1           0           0
## 382        3.86       3.00    0.80     0.00      1           0           0
## 383        3.00       4.00    0.50     0.33      1           0           0
## 384        3.71       3.80    1.25     0.00      1           0           0
## 385        3.71       2.83    0.65     0.67      1           0           0
## 386        3.71       4.00    0.55     0.33      1           0           0
## 387        3.00       2.80    0.65     0.33      1           0           0
## 388        4.00       4.00    0.60     0.00      1           0           0
## 389        3.86       3.33    0.40     0.00      1           0           0
## 390        3.14       2.50    0.75     0.00      1           0           0
## 391        3.00       3.17    1.15     0.33      1           0           0
## 392        3.29       3.33    0.50     0.33      1           0           0
## 393        3.29       2.00    0.70     0.33      0           0           0
## 394        3.14       4.00    1.30     0.00      1           0           0
## 395        3.43       2.60    0.90     0.33      1           0           0
## 396        3.57       3.17    0.50     0.00      1           0           0
## 397        2.57       2.50    1.40     0.00      1           0           0
## 398        3.71       3.83    1.26     0.67      1           0           0
## 399        3.14       2.80    0.60     0.00      1           0           0
## 400        3.00       3.20    0.50     0.00      1           0           0
## 401        3.43       3.33    0.75     0.00      1           0           0
## 402        3.14       2.83    1.10     0.00      0           1           0
## 403        3.00       3.67    0.95     0.67      1           0           0
## 404        3.00       3.80    0.70     0.00      1           0           0
## 405        2.71       2.00    0.90     0.00      1           0           0
## 406        2.86       3.40    0.65     0.67      1           2           0
## 407        4.00       3.67    0.70     0.67      1           0           0
## 408        3.43       2.83    0.60     0.00      1           0           0
## 409        4.00       3.83    0.70     0.00      1           0           0
## 410        3.71       3.67    0.85     0.00      1           0           0
## 411        3.71       4.00    0.80     0.00      1           0           0
## 412        3.86       4.00    0.60     0.00      1           0           0
## 413        3.14       4.00    0.95     2.33      1           0           0
## 414        3.00       3.67    0.60     0.00      1           0           0
## 415        4.00       3.00    0.85     0.00      1           0           0
## 416        3.00       2.40    1.15     0.33      1           0           0
## 417        3.86       3.83    0.70     0.00      1           0           0
## 418        3.14       3.00    0.65     0.00      1           0           0
## 419        3.14       3.20    0.60     0.00      1           0           0
## 420        3.00       4.00    0.60     0.00      1           0           0
## 421        3.00       3.17    0.85     0.00      1           0           0
## 422        4.00       3.33    0.50     0.00      0           0           0
## 423        2.14       2.60    1.15     0.00      1           0           0
## 424        4.00       4.00    0.45     0.00      1           0           0
## 425        3.71       3.60    0.80     0.33      1           0           0
## 426        3.57       3.40    1.50     0.00      1           0           0
## 427        3.57       3.17    1.20     0.33      0           0           0
## 428        3.86       3.40    0.45     0.33      0           0           0
## 429        3.43       4.00    0.45     1.00      1           0           0
## 430        3.00       4.00    0.20     0.67      0           0           0
## 431        4.00       4.00    0.55     0.00      0           0           0
## 432        2.86       3.33    0.50     0.33      1           0           1
## 433        3.57       3.83    0.60     0.33      1           0           0
## 434        4.00       3.80    1.05     0.67      1           0           0
## 435        3.00       4.00    0.95     0.00      1           0           0
## 436        3.43       3.60    0.65     0.00      1           0           0
## 437        2.86       3.50    0.70     0.33      1           0           0
### Test the variables for normality using the Shapiro-Wilk test. If the p-value is < .05, the
### variable is not normally distributed.

shapiro.test(msdlabs$IQ)
## 
##  Shapiro-Wilk normality test
## 
## data:  msdlabs$IQ
## W = 0.99509, p-value = 5.521e-05
shapiro.test(msdlabs$HOUSEHOLD)
## 
##  Shapiro-Wilk normality test
## 
## data:  msdlabs$HOUSEHOLD
## W = 0.65552, p-value < 2.2e-16
shapiro.test(msdlabs$SCHLBELONG)
## 
##  Shapiro-Wilk normality test
## 
## data:  msdlabs$SCHLBELONG
## W = 0.95106, p-value < 2.2e-16
shapiro.test(msdlabs$SELFCONCEPT)
## 
##  Shapiro-Wilk normality test
## 
## data:  msdlabs$SELFCONCEPT
## W = 0.9365, p-value < 2.2e-16
shapiro.test(msdlabs$FAMCONNECT)
## 
##  Shapiro-Wilk normality test
## 
## data:  msdlabs$FAMCONNECT
## W = 0.92983, p-value < 2.2e-16
shapiro.test(msdlabs$DEPRESS)
## 
##  Shapiro-Wilk normality test
## 
## data:  msdlabs$DEPRESS
## W = 0.93665, p-value < 2.2e-16
shapiro.test(msdlabs$FIGHTING)
## 
##  Shapiro-Wilk normality test
## 
## data:  msdlabs$FIGHTING
## W = 0.68387, p-value < 2.2e-16
### Confirm the non-normality of  the variables by plotting histograms
hist(msdlabs$IQ)

hist(msdlabs$HOUSEHOLD)

hist(msdlabs$SCHLBELONG)

hist(msdlabs$SELFCONCEPT)

hist(msdlabs$FAMCONNECT)

hist(msdlabs$DEPRESS)

hist(msdlabs$FIGHTING)

### Determine if there are gender differences in the continuous variables.

t.test(msdlabs$IQ ~ msdlabs$FEMALE, mu = 0, alt = "two.sided", conf = 0.95, paired = FALSE)
## 
##  Welch Two Sample t-test
## 
## data:  msdlabs$IQ by msdlabs$FEMALE
## t = 1.9882, df = 1496.9, p-value = 0.04698
## alternative hypothesis: true difference in means between group 0 and group 1 is not equal to 0
## 95 percent confidence interval:
##  0.01989502 2.95362078
## sample estimates:
## mean in group 0 mean in group 1 
##        102.2338        100.7470
t.test(msdlabs$HOUSEHOLD ~ msdlabs$FEMALE, mu = 0, alt = "two.sided", conf = 0.95, paired = FALSE)
## 
##  Welch Two Sample t-test
## 
## data:  msdlabs$HOUSEHOLD by msdlabs$FEMALE
## t = -1.6491, df = 1552.4, p-value = 0.09933
## alternative hypothesis: true difference in means between group 0 and group 1 is not equal to 0
## 95 percent confidence interval:
##  -7.7058932  0.6667296
## sample estimates:
## mean in group 0 mean in group 1 
##        44.19437        47.71395
t.test(msdlabs$SCHLBELONG ~ msdlabs$FEMALE, mu = 0, alt = "two.sided", conf = 0.95, paired = FALSE)
## 
##  Welch Two Sample t-test
## 
## data:  msdlabs$SCHLBELONG by msdlabs$FEMALE
## t = 1.2297, df = 1543.7, p-value = 0.219
## alternative hypothesis: true difference in means between group 0 and group 1 is not equal to 0
## 95 percent confidence interval:
##  -0.0274536  0.1197271
## sample estimates:
## mean in group 0 mean in group 1 
##        2.869718        2.823582
t.test(msdlabs$SELFCONCEPT ~ msdlabs$FEMALE, mu = 0, alt = "two.sided", conf = 0.95, paired = FALSE)
## 
##  Welch Two Sample t-test
## 
## data:  msdlabs$SELFCONCEPT by msdlabs$FEMALE
## t = 6.7469, df = 1553.3, p-value = 2.125e-11
## alternative hypothesis: true difference in means between group 0 and group 1 is not equal to 0
## 95 percent confidence interval:
##  0.1349789 0.2456314
## sample estimates:
## mean in group 0 mean in group 1 
##        3.366310        3.176005
t.test(msdlabs$FAMCONNECT ~ msdlabs$FEMALE, mu = 0, alt = "two.sided", conf = 0.95, paired = FALSE)
## 
##  Welch Two Sample t-test
## 
## data:  msdlabs$FAMCONNECT by msdlabs$FEMALE
## t = 4.5498, df = 1542.2, p-value = 5.79e-06
## alternative hypothesis: true difference in means between group 0 and group 1 is not equal to 0
## 95 percent confidence interval:
##  0.08453714 0.21266714
## sample estimates:
## mean in group 0 mean in group 1 
##        3.259099        3.110496
t.test(msdlabs$DEPRESS ~ msdlabs$FEMALE, mu = 0, alt = "two.sided", conf = 0.95, paired = FALSE)
## 
##  Welch Two Sample t-test
## 
## data:  msdlabs$DEPRESS by msdlabs$FEMALE
## t = -3.1668, df = 1553.3, p-value = 0.001571
## alternative hypothesis: true difference in means between group 0 and group 1 is not equal to 0
## 95 percent confidence interval:
##  -0.06784077 -0.01594420
## sample estimates:
## mean in group 0 mean in group 1 
##       0.7455070       0.7873995
t.test(msdlabs$FIGHTING ~ msdlabs$FEMALE, mu = 0, alt = "two.sided", conf = 0.95, paired = FALSE)
## 
##  Welch Two Sample t-test
## 
## data:  msdlabs$FIGHTING by msdlabs$FEMALE
## t = 6.3382, df = 1370.5, p-value = 3.148e-10
## alternative hypothesis: true difference in means between group 0 and group 1 is not equal to 0
## 95 percent confidence interval:
##  0.1158428 0.2196927
## sample estimates:
## mean in group 0 mean in group 1 
##       0.4250845       0.2573168
### Determine if there are significant significant correlations among the continuous variables.

cor.test(msdlabs$IQ, msdlabs$HOUSEHOLD)
## 
##  Pearson's product-moment correlation
## 
## data:  msdlabs$IQ and msdlabs$HOUSEHOLD
## t = 10.8, df = 1554, p-value < 2.2e-16
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  0.2173883 0.3098535
## sample estimates:
##      cor 
## 0.264228
cor.test(msdlabs$IQ, msdlabs$SCHLBELONG)
## 
##  Pearson's product-moment correlation
## 
## data:  msdlabs$IQ and msdlabs$SCHLBELONG
## t = 1.7099, df = 1554, p-value = 0.08748
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  -0.006372495  0.092829440
## sample estimates:
##        cor 
## 0.04333529
cor.test(msdlabs$IQ, msdlabs$SELFCONCEPT)
## 
##  Pearson's product-moment correlation
## 
## data:  msdlabs$IQ and msdlabs$SELFCONCEPT
## t = 0.49515, df = 1554, p-value = 0.6206
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  -0.03715767  0.06221481
## sample estimates:
##        cor 
## 0.01255958
cor.test(msdlabs$IQ, msdlabs$FAMCONNECT)
## 
##  Pearson's product-moment correlation
## 
## data:  msdlabs$IQ and msdlabs$FAMCONNECT
## t = -3.5792, df = 1554, p-value = 0.0003552
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  -0.13949052 -0.04091304
## sample estimates:
##         cor 
## -0.09042326
cor.test(msdlabs$IQ, msdlabs$DEPRESS)
## 
##  Pearson's product-moment correlation
## 
## data:  msdlabs$IQ and msdlabs$DEPRESS
## t = -0.7628, df = 1554, p-value = 0.4457
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  -0.06897438  0.03037664
## sample estimates:
##         cor 
## -0.01934663
cor.test(msdlabs$IQ, msdlabs$FIGHTING)
## 
##  Pearson's product-moment correlation
## 
## data:  msdlabs$IQ and msdlabs$FIGHTING
## t = -4.7916, df = 1554, p-value = 1.812e-06
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  -0.16934129 -0.07139669
## sample estimates:
##        cor 
## -0.1206626
cor.test(msdlabs$HOUSEHOLD, msdlabs$SCHLBELONG)
## 
##  Pearson's product-moment correlation
## 
## data:  msdlabs$HOUSEHOLD and msdlabs$SCHLBELONG
## t = 1.6678, df = 1554, p-value = 0.09555
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  -0.007439536  0.091771439
## sample estimates:
##        cor 
## 0.04227015
cor.test(msdlabs$HOUSEHOLD, msdlabs$SELFCONCEPT)
## 
##  Pearson's product-moment correlation
## 
## data:  msdlabs$HOUSEHOLD and msdlabs$SELFCONCEPT
## t = 1.4961, df = 1554, p-value = 0.1348
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  -0.01179199  0.08745354
## sample estimates:
##        cor 
## 0.03792429
cor.test(msdlabs$HOUSEHOLD, msdlabs$FAMCONNECT)
## 
##  Pearson's product-moment correlation
## 
## data:  msdlabs$HOUSEHOLD and msdlabs$FAMCONNECT
## t = 0.098598, df = 1554, p-value = 0.9215
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  -0.04719876  0.05218874
## sample estimates:
##         cor 
## 0.002501165
cor.test(msdlabs$HOUSEHOLD, msdlabs$DEPRESS)
## 
##  Pearson's product-moment correlation
## 
## data:  msdlabs$HOUSEHOLD and msdlabs$DEPRESS
## t = -0.878, df = 1554, p-value = 0.3801
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  -0.07188150  0.02745746
## sample estimates:
##         cor 
## -0.02226698
cor.test(msdlabs$HOUSEHOLD, msdlabs$FIGHTING)
## 
##  Pearson's product-moment correlation
## 
## data:  msdlabs$HOUSEHOLD and msdlabs$FIGHTING
## t = -4.7549, df = 1554, p-value = 2.169e-06
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  -0.16844353 -0.07047721
## sample estimates:
##        cor 
## -0.1197519
cor.test(msdlabs$SCHLBELONG, msdlabs$SELFCONCEPT)
## 
##  Pearson's product-moment correlation
## 
## data:  msdlabs$SCHLBELONG and msdlabs$SELFCONCEPT
## t = 15.541, df = 1554, p-value < 2.2e-16
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  0.3229460 0.4089941
## sample estimates:
##       cor 
## 0.3667542
cor.test(msdlabs$SCHLBELONG, msdlabs$FAMCONNECT)
## 
##  Pearson's product-moment correlation
## 
## data:  msdlabs$SCHLBELONG and msdlabs$FAMCONNECT
## t = 12.045, df = 1554, p-value < 2.2e-16
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  0.2460825 0.3370037
## sample estimates:
##       cor 
## 0.2922032
cor.test(msdlabs$SCHLBELONG, msdlabs$DEPRESS)
## 
##  Pearson's product-moment correlation
## 
## data:  msdlabs$SCHLBELONG and msdlabs$DEPRESS
## t = -4.7959, df = 1554, p-value = 1.774e-06
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  -0.16944661 -0.07150456
## sample estimates:
##        cor 
## -0.1207695
cor.test(msdlabs$SCHLBELONG, msdlabs$FIGHTING)
## 
##  Pearson's product-moment correlation
## 
## data:  msdlabs$SCHLBELONG and msdlabs$FIGHTING
## t = -5.8657, df = 1554, p-value = 5.454e-09
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  -0.19544201 -0.09820156
## sample estimates:
##        cor 
## -0.1471774
cor.test(msdlabs$SELFCONCEPT, msdlabs$FAMCONNECT)
## 
##  Pearson's product-moment correlation
## 
## data:  msdlabs$SELFCONCEPT and msdlabs$FAMCONNECT
## t = 23.038, df = 1554, p-value < 2.2e-16
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  0.4665749 0.5407063
## sample estimates:
##     cor 
## 0.50457
cor.test(msdlabs$SELFCONCEPT, msdlabs$DEPRESS)
## 
##  Pearson's product-moment correlation
## 
## data:  msdlabs$SELFCONCEPT and msdlabs$DEPRESS
## t = -6.815, df = 1554, p-value = 1.344e-11
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  -0.2181994 -0.1216886
## sample estimates:
##        cor 
## -0.1703525
cor.test(msdlabs$SELFCONCEPT, msdlabs$FIGHTING)
## 
##  Pearson's product-moment correlation
## 
## data:  msdlabs$SELFCONCEPT and msdlabs$FIGHTING
## t = -4.3727, df = 1554, p-value = 1.309e-05
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  -0.15906983 -0.06088678
## sample estimates:
##        cor 
## -0.1102473
cor.test(msdlabs$SELFCONCEPT, msdlabs$FAMCONNECT)
## 
##  Pearson's product-moment correlation
## 
## data:  msdlabs$SELFCONCEPT and msdlabs$FAMCONNECT
## t = 23.038, df = 1554, p-value < 2.2e-16
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  0.4665749 0.5407063
## sample estimates:
##     cor 
## 0.50457
cor.test(msdlabs$FAMCONNECT, msdlabs$DEPRESS)
## 
##  Pearson's product-moment correlation
## 
## data:  msdlabs$FAMCONNECT and msdlabs$DEPRESS
## t = -5.9101, df = 1554, p-value = 4.193e-09
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  -0.19651329 -0.09930476
## sample estimates:
##        cor 
## -0.1482671
cor.test(msdlabs$FAMCONNECT, msdlabs$FIGHTING)
## 
##  Pearson's product-moment correlation
## 
## data:  msdlabs$FAMCONNECT and msdlabs$FIGHTING
## t = -4.5922, df = 1554, p-value = 4.741e-06
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  -0.16445660 -0.06639588
## sample estimates:
##        cor 
## -0.1157082
cor.test(msdlabs$DEPRESS, msdlabs$FIGHTING)
## 
##  Pearson's product-moment correlation
## 
## data:  msdlabs$DEPRESS and msdlabs$FIGHTING
## t = 8.1107, df = 1554, p-value = 1.011e-15
## alternative hypothesis: true correlation is not equal to 0
## 95 percent confidence interval:
##  0.1533685 0.2487297
## sample estimates:
##       cor 
## 0.2015266