describe(sp)
## sp 
## 
##  19  Variables      186  Observations
## --------------------------------------------------------------------------------
## ID 
##        n  missing distinct     Info     Mean      Gmd      .05      .10 
##      186        0      186        1     93.5    62.33    10.25    19.50 
##      .25      .50      .75      .90      .95 
##    47.25    93.50   139.75   167.50   176.75 
## 
## lowest :   1   2   3   4   5, highest: 182 183 184 185 186
## --------------------------------------------------------------------------------
## Sex 
##        n  missing distinct     Info      Sum     Mean      Gmd 
##      186        0        2    0.744       85    0.457    0.499 
## 
## --------------------------------------------------------------------------------
## Campus.address 
##        n  missing distinct     Info      Sum     Mean      Gmd 
##      186        0        2    0.618       54   0.2903   0.4143 
## 
## --------------------------------------------------------------------------------
## Household.size 
##        n  missing distinct     Info      Sum     Mean      Gmd 
##      186        0        2    0.743       84   0.4516    0.498 
## 
## --------------------------------------------------------------------------------
## SocialCateg 
##        n  missing distinct     Info      Sum     Mean      Gmd 
##      186        0        2    0.735       80   0.4301   0.4929 
## 
## --------------------------------------------------------------------------------
## Monthly.Income 
##        n  missing distinct     Info      Sum     Mean      Gmd 
##      186        0        2    0.728       77    0.414   0.4878 
## 
## --------------------------------------------------------------------------------
## Mother.s.Educ 
##        n  missing distinct     Info      Sum     Mean      Gmd 
##      186        0        2    0.209       14  0.07527     0.14 
## 
## --------------------------------------------------------------------------------
## Father.s.Educ 
##        n  missing distinct     Info      Sum     Mean      Gmd 
##      186        0        2    0.153       10  0.05376   0.1023 
## 
## --------------------------------------------------------------------------------
## First.Generation.College 
##        n  missing distinct     Info      Sum     Mean      Gmd 
##      186        0        2    0.746       86   0.4624   0.4999 
## 
## --------------------------------------------------------------------------------
## Highschool.type 
##        n  missing distinct     Info      Sum     Mean      Gmd 
##      186        0        2    0.262      168   0.9032   0.1758 
## 
## --------------------------------------------------------------------------------
## Curriculum 
##        n  missing distinct     Info      Sum     Mean      Gmd 
##      186        0        2    0.677      122   0.6559   0.4538 
## 
## --------------------------------------------------------------------------------
## gpa 
##        n  missing distinct     Info      Sum     Mean      Gmd 
##      186        0        2    0.741      103   0.5538   0.4969 
## 
## --------------------------------------------------------------------------------
## College 
##        n  missing distinct 
##      186        0        6 
## 
## lowest : CAFS CAS  CET  CFES CME , highest: CAS  CET  CFES CME  CoEd
##                                               
## Value       CAFS   CAS   CET  CFES   CME  CoEd
## Frequency     42    10    29     6    56    43
## Proportion 0.226 0.054 0.156 0.032 0.301 0.231
## --------------------------------------------------------------------------------
## STEM.related 
##        n  missing distinct     Info      Sum     Mean      Gmd 
##      186        0        2    0.488       38   0.2043   0.3269 
## 
## --------------------------------------------------------------------------------
## Grad 
##        n  missing distinct     Info      Sum     Mean      Gmd 
##      186        0        2    0.708      115   0.6183   0.4746 
## 
## --------------------------------------------------------------------------------
## program.choice 
##        n  missing distinct     Info     Mean      Gmd 
##      186        0        3    0.853    1.731   0.8137 
##                             
## Value          1     2     3
## Frequency     86    64    36
## Proportion 0.462 0.344 0.194
## --------------------------------------------------------------------------------
## gwa 
##        n  missing distinct     Info      Sum     Mean      Gmd 
##      186        0        2    0.524      144   0.7742   0.3515 
## 
## --------------------------------------------------------------------------------
## Average.Academic.Load 
##        n  missing distinct     Info      Sum     Mean      Gmd 
##      186        0        2    0.638      129   0.6935   0.4274 
## 
## --------------------------------------------------------------------------------
## Study.Time 
##        n  missing distinct     Info      Sum     Mean      Gmd 
##      186        0        2    0.741      103   0.5538   0.4969 
## 
## --------------------------------------------------------------------------------

#sex

#sex
summarytools::freq(as.factor(sp$Sex),report.nas = F, totals = F, headings = F)
## 
##            Freq       %   % Cum.
## -------- ------ ------- --------
##        0    101   54.30    54.30
##        1     85   45.70   100.00
table(sp$Sex,sp$Grad)
##    
##      0  1
##   0 35 66
##   1 36 49

#campus address

#campus address (1 = n campus)
summarytools::freq(as.factor(sp$Campus.address),report.nas = F, totals = F, headings = F)
## 
##            Freq       %   % Cum.
## -------- ------ ------- --------
##        0    132   70.97    70.97
##        1     54   29.03   100.00
table(CampusAddress = sp$Campus.address, Grad = sp$Grad)
##              Grad
## CampusAddress  0  1
##             0 53 79
##             1 18 36

#Household size

#Household size (1 = above 7)
summarytools::freq(as.factor(sp$Household.size),report.nas = F, totals = F, headings = F)
## 
##            Freq       %   % Cum.
## -------- ------ ------- --------
##        0    102   54.84    54.84
##        1     84   45.16   100.00
table(sp$Household.size,sp$Grad)
##    
##      0  1
##   0 37 65
##   1 34 50

#social category

#social category (1 = member of the classified categories)
summarytools::freq(as.factor(sp$SocialCateg),report.nas = F, totals = F, headings = F)
## 
##            Freq       %   % Cum.
## -------- ------ ------- --------
##        0    106   56.99    56.99
##        1     80   43.01   100.00
table(sp$SocialCateg,sp$Grad)
##    
##      0  1
##   0 40 66
##   1 31 49

#average monthly family income

#average monthly family income (1 = above php 9,101)
summarytools::freq(as.factor(sp$Monthly.Income),report.nas = F, totals = F, headings = F)
## 
##            Freq       %   % Cum.
## -------- ------ ------- --------
##        0    109   58.60    58.60
##        1     77   41.40   100.00
table(sp$Monthly.Income,sp$Grad)
##    
##      0  1
##   0 38 71
##   1 33 44

#mothers education

#mothers education (1 = college grad)
summarytools::freq(as.factor(sp$Mother.s.Educ),report.nas = F, totals = F, headings = F)
## 
##            Freq       %   % Cum.
## -------- ------ ------- --------
##        0    172   92.47    92.47
##        1     14    7.53   100.00
table(sp$Mother.s.Educ,sp$Grad)
##    
##       0   1
##   0  64 108
##   1   7   7

#fathers education

#fathers education (1= college grad)
summarytools::freq(as.factor(sp$Father.s.Educ),report.nas = F, totals = F, headings = F)
## 
##            Freq       %   % Cum.
## -------- ------ ------- --------
##        0    176   94.62    94.62
##        1     10    5.38   100.00
table(sp$Father.s.Educ,sp$Grad)
##    
##       0   1
##   0  66 110
##   1   5   5

#first generation college

#first generation college (1 = yes)
summarytools::freq(as.factor(sp$First.Generation.College),report.nas = F, totals = F, headings = F)
## 
##            Freq       %   % Cum.
## -------- ------ ------- --------
##        0    100   53.76    53.76
##        1     86   46.24   100.00
table(sp$First.Generation.College,sp$Grad)
##    
##      0  1
##   0 44 56
##   1 27 59

#high school type

#high school type (1 = public)
summarytools::freq(as.factor(sp$Highschool.type),report.nas = F, totals = F, headings = F)
## 
##            Freq       %   % Cum.
## -------- ------ ------- --------
##        0     18    9.68     9.68
##        1    168   90.32   100.00
table(sp$Highschool.type,sp$Grad)
##    
##       0   1
##   0   6  12
##   1  65 103

#curriculum

#curriculum (1= new)
summarytools::freq(as.factor(sp$Curriculum),report.nas = F, totals = F, headings = F)
## 
##            Freq       %   % Cum.
## -------- ------ ------- --------
##        0     64   34.41    34.41
##        1    122   65.59   100.00
table(sp$Curriculum,sp$Grad)
##    
##      0  1
##   0 23 41
##   1 48 74

#high school gpa

#high school gpa (2 categories, 1= 90-100)
summarytools::freq(as.factor(sp$gpa),report.nas = F, totals = F, headings = F)
## 
##            Freq       %   % Cum.
## -------- ------ ------- --------
##        0     83   44.62    44.62
##        1    103   55.38   100.00
table(sp$gpa,sp$Grad)
##    
##      0  1
##   0 41 42
##   1 30 73

#program per college

#program per college
summarytools::freq(as.factor(sp$College),report.nas = F, totals = F, headings = F)
## 
##              Freq       %   % Cum.
## ---------- ------ ------- --------
##       CAFS     42   22.58    22.58
##        CAS     10    5.38    27.96
##        CET     29   15.59    43.55
##       CFES      6    3.23    46.77
##        CME     56   30.11    76.88
##       CoEd     43   23.12   100.00
table(sp$College,sp$Grad)
##       
##         0  1
##   CAFS 20 22
##   CAS   3  7
##   CET  17 12
##   CFES  2  4
##   CME  20 36
##   CoEd  9 34

#stem course

#stem course (1= yes)
summarytools::freq(as.factor(sp$STEM.related),report.nas = F, totals = F, headings = F)
## 
##            Freq       %   % Cum.
## -------- ------ ------- --------
##        0    148   79.57    79.57
##        1     38   20.43   100.00
table(sp$STEM.related,sp$Grad)
##    
##      0  1
##   0 51 97
##   1 20 18

#graduate

#graduate (1= yes)
summarytools::freq(as.factor(sp$Grad),report.nas = F, totals = F, headings = F)
## 
##            Freq       %   % Cum.
## -------- ------ ------- --------
##        0     71   38.17    38.17
##        1    115   61.83   100.00

#program choice

#program choice
summarytools::freq(as.factor(sp$program.choice),report.nas = F, totals = F, headings = F)
## 
##   Freq       %   % Cum.
## ------ ------- --------
##     86   46.24    46.24
##     64   34.41    80.65
##     36   19.35   100.00
table(sp$program.choice,sp$Grad)
##    
##      0  1
##   1 27 59
##   2 29 35
##   3 15 21

#GWA

#GWA
summarytools::freq(as.factor(sp$gwa),report.nas = F, totals = F, headings = F)
## 
##            Freq       %   % Cum.
## -------- ------ ------- --------
##        0     42   22.58    22.58
##        1    144   77.42   100.00
table(sp$gwa,sp$Grad)
##    
##       0   1
##   0  29  13
##   1  42 102

#average academic load per sem

#average academic load per sem
summarytools::freq(as.factor(sp$Average.Academic.Load),report.nas = F, totals = F, headings = F)
## 
##            Freq       %   % Cum.
## -------- ------ ------- --------
##        0     57   30.65    30.65
##        1    129   69.35   100.00
table(sp$Average.Academic.Load,sp$Grad)
##    
##      0  1
##   0 28 29
##   1 43 86

#study time

#study time
summarytools::freq(as.factor(sp$Study.Time),report.nas = F, totals = F, headings = F)
## 
##            Freq       %   % Cum.
## -------- ------ ------- --------
##        0     83   44.62    44.62
##        1    103   55.38   100.00
table(sp$Study.Time,sp$Grad)
##    
##      0  1
##   0 31 52
##   1 40 63