CRAN Package Check Results for Package blorr

Last updated on 2020-02-15 01:01:19 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.2 35.77 220.77 256.54 OK
r-devel-linux-x86_64-debian-gcc 0.2.2 27.10 165.52 192.62 OK
r-devel-linux-x86_64-fedora-clang 0.2.2 302.41 OK
r-devel-linux-x86_64-fedora-gcc 0.2.2 293.73 OK
r-devel-windows-ix86+x86_64 0.2.2 76.00 361.00 437.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.2.1 108.00 449.00 557.00 ERROR
r-patched-linux-x86_64 0.2.2 28.42 197.40 225.82 OK
r-patched-solaris-x86 0.2.2 433.60 OK
r-release-linux-x86_64 0.2.2 28.49 197.96 226.45 OK
r-release-windows-ix86+x86_64 0.2.2 76.00 321.00 397.00 OK
r-release-osx-x86_64 0.2.2 OK
r-oldrel-windows-ix86+x86_64 0.2.2 49.00 305.00 354.00 OK
r-oldrel-osx-x86_64 0.2.2 OK

Check Details

Version: 0.2.1
Check: running tests for arch ‘i386’
Result: ERROR
     Running 'testthat.R' [41s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(blorr)
     >
     > test_check("blorr")
     Backward Elimination Method
     ---------------------------
    
     Candidate Terms:
    
     1 . female
     2 . read
     3 . science
     4 . math
     5 . prog
     6 . socst
    
    
     Variables Removed:
    
     - prog
     - socst
     Backward Elimination Method
     ---------------------------
    
     Candidate Terms:
    
     1 . female
     2 . read
     3 . science
     4 . math
     5 . prog
     6 . socst
    
     We are eliminating variables based on p value...
    
     Variables Removed:
    
     - prog
     - socst
    
     No more variables satisfy the condition of p value = 0.3
    
    
     Final Model Output
     ------------------
    
     - Creating model overview.
     - Creating response profile.
     - Extracting maximum likelihood estimates.
     - Estimating concordant and discordant pairs.
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 200 199 195 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 147 1 53
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -14.5773 2.1568 -6.7589 0.0000
     female1 1 1.3622 0.4605 2.9580 0.0031
     read 1 0.0631 0.0281 2.2455 0.0247
     science 1 0.0569 0.0326 1.7429 0.0814
     math 1 0.1113 0.0338 3.2992 0.0010
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8835 Somers' D 0.7669
     % Discordant 0.1165 Gamma 0.7669
     % Tied 0.0000 Tau-a 0.3003
     Pairs 7791 c 0.8835
     ---------------------------------------------------------------
    
     Backward Elimination Method
     ---------------------------
    
     Candidate Terms:
    
     1 . female
     2 . read
     3 . science
     4 . math
     5 . prog
     6 . socst
    
    
     Variables Removed:
    
     <U+2716> prog
     <U+2716> socst
    
    
     Backward Elimination Summary
     --------------------------------------------
     Variable AIC BIC Deviance
     --------------------------------------------
     Full Model 162.424 188.811 146.424
     prog 158.953 178.743 146.953
     socst 157.286 173.777 147.286
     --------------------------------------------Backward Elimination Method
     ---------------------------
    
     Candidate Terms:
    
     1 . female1
     2 . read
     3 . science
     4 . math
     5 . prog2
     6 . prog3
     7 . socst
    
     We are eliminating variables based on p value...
    
     Variables Removed:
    
     <U+2716> prog3
     <U+2716> prog2
     <U+2716> socst
    
     No more variables satisfy the condition of p value = 0.3
    
    
     Final Model Output
     ------------------
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 200 199 195 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 147 1 53
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -14.5773 2.1568 -6.7589 0.0000
     female1 1 1.3622 0.4605 2.9580 0.0031
     read 1 0.0631 0.0281 2.2455 0.0247
     science 1 0.0569 0.0326 1.7429 0.0814
     math 1 0.1113 0.0338 3.2992 0.0010
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8835 Somers' D 0.7669
     % Discordant 0.1165 Gamma 0.7669
     % Tied 0.0000 Tau-a 0.3003
     Pairs 7791 c 0.8835
     ---------------------------------------------------------------
    
    
    
     Elimination Summary
     ----------------------------------------------------
     Variable
     Step Removed AIC BIC Deviance
     ----------------------------------------------------
     1 prog3 160.7102 183.7984 146.7102
     2 prog2 158.9527 178.7427 146.9527
     3 socst 157.2856 173.7772 147.2856
     ----------------------------------------------------Backward Elimination Method
     ---------------------------
    
     Candidate Terms:
    
     1 . female
     2 . read
     3 . science
     4 . math
     5 . prog
     6 . socst
    
     Step 0: AIC = 162.4241
     honcomp ~ female + read + science + math + prog + socst
    
     -------------------------------------------------
     Variable DF AIC BIC Deviance
     -------------------------------------------------
     prog 1 158.953 178.743 146.953
     socst 1 160.745 183.834 146.745
     read 1 163.394 186.482 149.394
     science 1 163.815 186.903 149.815
     female 1 169.570 192.658 155.570
     math 1 170.017 193.105 156.017
     -------------------------------------------------
    
    
     <U+2716> prog
    
    
     Step 1 : AIC = 158.9527
     honcomp ~ female + read + science + math + socst
    
     -------------------------------------------------
     Variable DF AIC BIC Deviance
     -------------------------------------------------
     socst 1 157.286 173.777 147.286
     science 1 159.941 176.432 149.941
     read 1 160.307 176.798 150.307
     female 1 166.114 182.606 156.114
     math 1 168.669 185.161 158.669
     -------------------------------------------------
    
     <U+2716> socst
    
    
     Step 2 : AIC = 157.2856
     honcomp ~ female + read + science + math
    
     -------------------------------------------------
     Variable DF AIC BIC Deviance
     -------------------------------------------------
     science 1 158.420 171.613 150.420
     read 1 160.658 173.851 152.658
     female 1 164.988 178.181 156.988
     math 1 168.236 181.430 160.236
     -------------------------------------------------
    
     No more variables to be removed.
    
     Variables Removed:
    
     <U+2716> prog
     <U+2716> socst
    
    
     Final Model Output
     ------------------
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 200 199 195 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 147 1 53
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -14.5773 2.1568 -6.7589 0.0000
     female1 1 1.3622 0.4605 2.9580 0.0031
     read 1 0.0631 0.0281 2.2455 0.0247
     science 1 0.0569 0.0326 1.7429 0.0814
     math 1 0.1113 0.0338 3.2992 0.0010
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8835 Somers' D 0.7669
     % Discordant 0.1165 Gamma 0.7669
     % Tied 0.0000 Tau-a 0.3003
     Pairs 7791 c 0.8835
     ---------------------------------------------------------------
    
    
    
     Backward Elimination Summary
     --------------------------------------------
     Variable AIC BIC Deviance
     --------------------------------------------
     Full Model 162.424 188.811 146.424
     prog 158.953 178.743 146.953
     socst 157.286 173.777 147.286
     --------------------------------------------Backward Elimination Method
     ---------------------------
    
     Candidate Terms:
    
     1 . female1
     2 . read
     3 . science
     4 . math
     5 . prog2
     6 . prog3
     7 . socst
    
     We are eliminating variables based on p value...
    
     <U+2716> prog3
    
     Backward Elimination: Step 1
    
     Variable prog3 Removed
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 200 199 193 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 147 1 53
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -14.7222 2.2246 -6.6180 0.0000
     female1 1 1.3547 0.4659 2.9075 0.0036
     read 1 0.0541 0.0311 1.7420 0.0815
     science 1 0.0605 0.0341 1.7729 0.0762
     math 1 0.1033 0.0357 2.8968 0.0038
     prog2 1 0.2382 0.4839 0.4922 0.6226
     socst 1 0.0135 0.0273 0.4953 0.6204
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8845 Somers' D 0.7690
     % Discordant 0.1155 Gamma 0.7690
     % Tied 0.0000 Tau-a 0.3011
     Pairs 7791 c 0.8845
     ---------------------------------------------------------------
    
    
    
     <U+2716> prog2
    
     Backward Elimination: Step 2
    
     Variable prog2 Removed
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 200 199 194 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 147 1 53
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -14.8131 2.2101 -6.7024 0.0000
     female1 1 1.3351 0.4634 2.8813 0.0040
     read 1 0.0558 0.0309 1.8050 0.0711
     science 1 0.0561 0.0329 1.7036 0.0885
     math 1 0.1086 0.0342 3.1761 0.0015
     socst 1 0.0155 0.0270 0.5738 0.5661
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8822 Somers' D 0.7643
     % Discordant 0.1178 Gamma 0.7643
     % Tied 0.0000 Tau-a 0.2992
     Pairs 7791 c 0.8822
     ---------------------------------------------------------------
    
    
    
     <U+2716> socst
    
     Backward Elimination: Step 3
    
     Variable socst Removed
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 200 199 195 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 147 1 53
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -14.5773 2.1568 -6.7589 0.0000
     female1 1 1.3622 0.4605 2.9580 0.0031
     read 1 0.0631 0.0281 2.2455 0.0247
     science 1 0.0569 0.0326 1.7429 0.0814
     math 1 0.1113 0.0338 3.2992 0.0010
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8835 Somers' D 0.7669
     % Discordant 0.1165 Gamma 0.7669
     % Tied 0.0000 Tau-a 0.3003
     Pairs 7791 c 0.8835
     ---------------------------------------------------------------
    
    
    
    
     No more variables satisfy the condition of p value = 0.3
    
    
     Variables Removed:
    
     <U+2716> prog3
     <U+2716> prog2
     <U+2716> socst
    
    
     Final Model Output
     ------------------
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 200 199 195 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 147 1 53
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -14.5773 2.1568 -6.7589 0.0000
     female1 1 1.3622 0.4605 2.9580 0.0031
     read 1 0.0631 0.0281 2.2455 0.0247
     science 1 0.0569 0.0326 1.7429 0.0814
     math 1 0.1113 0.0338 3.2992 0.0010
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8835 Somers' D 0.7669
     % Discordant 0.1165 Gamma 0.7669
     % Tied 0.0000 Tau-a 0.3003
     Pairs 7791 c 0.8835
     ---------------------------------------------------------------
    
    
    
     Elimination Summary
     ----------------------------------------------------
     Variable
     Step Removed AIC BIC Deviance
     ----------------------------------------------------
     1 prog3 160.7102 183.7984 146.7102
     2 prog2 158.9527 178.7427 146.9527
     3 socst 157.2856 173.7772 147.2856
     ---------------------------------------------------- Bivariate Analysis
     ---------------------------------------------------------------------
     Variable Information Value LR Chi Square LR DF LR p-value
     ---------------------------------------------------------------------
     female 0.10 3.9350 1 0.0473
     prog 0.43 16.1450 2 3e-04
     ----------------------------------------------------------------------- 1. Failure: output from blr_segment is as expected (@test-bivariate-analysis.
     `actual` not equivalent to `expected`.
     1/4 mismatches
     [2] 0.03 - 0.02 == 0.01
    
     Event By Attributes
     -------------------
     race 1s%
     -------------------
     1 0.01
     2 0.02
     3 0.01
     4 0.22
     ------------------- race
     -----------------------------------------
     prog 1 2 3 4
     -----------------------------------------
     1 0.000 0.000 0.000 0.035
     -----------------------------------------
     2 0.010 0.020 0.005 0.165
     -----------------------------------------
     3 0.000 0.005 0.005 0.020
     ------------------------------------------- 2. Failure: output from blr_segment_dist is as expected (@test-bivariate-anal
     `actual` not equivalent to `expected`.
     1/4 mismatches
     [2] 0.03 - 0.02 == 0.01
    
     Event Segmentation
     -------------------------------------
     race n 1s n% 1s%
     -------------------------------------
     1 24 2 0.12 0.01
     2 11 5 0.06 0.02
     3 20 2 0.10 0.01
     4 145 44 0.72 0.22
     ------------------------------------- Weight of Evidence
     -------------------------------------------------------------------------
     levels 0s_count 1s_count 0s_dist 1s_dist woe iv
     -------------------------------------------------------------------------
     1 38 7 0.26 0.13 0.67 0.08
     2 65 40 0.44 0.75 -0.53 0.17
     3 44 6 0.30 0.11 0.97 0.18
     -------------------------------------------------------------------------
    
     Information Value
     -----------------------------
     Variable Information Value
     -----------------------------
     prog 0.4329
     -----------------------------Variable: prog
    
     Weight of Evidence
     -------------------------------------------------------------------------
     levels 0s_count 1s_count 0s_dist 1s_dist woe iv
     -------------------------------------------------------------------------
     1 38 7 0.26 0.13 0.67 0.08
     2 65 40 0.44 0.75 -0.53 0.17
     3 44 6 0.30 0.11 0.97 0.18
     -------------------------------------------------------------------------
    
     Information Value
     -----------------------------
     Variable Information Value
     -----------------------------
     prog 0.4329
     -----------------------------
    
    
     Variable: race
    
     Weight of Evidence
     -------------------------------------------------------------------------
     levels 0s_count 1s_count 0s_dist 1s_dist woe iv
     -------------------------------------------------------------------------
     1 22 2 0.15 0.04 1.38 0.15
     2 6 5 0.04 0.09 -0.84 0.04
     3 18 2 0.12 0.04 1.18 0.10
     4 101 44 0.69 0.83 -0.19 0.03
     -------------------------------------------------------------------------
    
     Information Value
     -----------------------------
     Variable Information Value
     -----------------------------
     race 0.326
     -----------------------------
    
    
     Variable: female
    
     Weight of Evidence
     -------------------------------------------------------------------------
     levels 0s_count 1s_count 0s_dist 1s_dist woe iv
     -------------------------------------------------------------------------
     0 73 18 0.50 0.34 0.38 0.06
     1 74 35 0.50 0.66 -0.27 0.04
     -------------------------------------------------------------------------
    
     Information Value
     -----------------------------
     Variable Information Value
     -----------------------------
     female 0.1023
     -----------------------------
    
    
     Variable: schtyp
    
     Weight of Evidence
     ------------------------------------------------------------------------
     levels 0s_count 1s_count 0s_dist 1s_dist woe iv
     ------------------------------------------------------------------------
     1 123 45 0.84 0.85 -0.01 0.00
     2 24 8 0.16 0.15 0.08 0.00
     ------------------------------------------------------------------------
    
     Information Value
     -----------------------------
     Variable Information Value
     -----------------------------
     schtyp 0.0012
     -----------------------------
    
    
     Variable: prog
    
     Weight of Evidence
     -------------------------------------------------------------------------
     levels 0s_count 1s_count 0s_dist 1s_dist woe iv
     -------------------------------------------------------------------------
     1 38 7 0.26 0.13 0.67 0.08
     2 65 40 0.44 0.75 -0.53 0.17
     3 44 6 0.30 0.11 0.97 0.18
     -------------------------------------------------------------------------
    
     Information Value
     -----------------------------
     Variable Information Value
     -----------------------------
     prog 0.4329
     -----------------------------
    
    
     Variable: race
    
     Weight of Evidence
     -------------------------------------------------------------------------
     levels 0s_count 1s_count 0s_dist 1s_dist woe iv
     -------------------------------------------------------------------------
     1 22 2 0.15 0.04 1.38 0.15
     2 6 5 0.04 0.09 -0.84 0.04
     3 18 2 0.12 0.04 1.18 0.10
     4 101 44 0.69 0.83 -0.19 0.03
     -------------------------------------------------------------------------
    
     Information Value
     -----------------------------
     Variable Information Value
     -----------------------------
     race 0.326
     -----------------------------
    
    
     Variable: female
    
     Weight of Evidence
     -------------------------------------------------------------------------
     levels 0s_count 1s_count 0s_dist 1s_dist woe iv
     -------------------------------------------------------------------------
     0 73 18 0.50 0.34 0.38 0.06
     1 74 35 0.50 0.66 -0.27 0.04
     -------------------------------------------------------------------------
    
     Information Value
     -----------------------------
     Variable Information Value
     -----------------------------
     female 0.1023
     -----------------------------
    
    
     Variable: schtyp
    
     Weight of Evidence
     ------------------------------------------------------------------------
     levels 0s_count 1s_count 0s_dist 1s_dist woe iv
     ------------------------------------------------------------------------
     1 123 45 0.84 0.85 -0.01 0.00
     2 24 8 0.16 0.15 0.08 0.00
     ------------------------------------------------------------------------
    
     Information Value
     -----------------------------
     Variable Information Value
     -----------------------------
     schtyp 0.0012
     -----------------------------Hmmm.. Looks like you have specified an incorrect model. The below steps might be helpful:
    
     * Check if you have used the glm() function to build the model.
     * If you have never used it before, you can learn more by typing ?glm or help(glm) in the Console.
    
     Please specify the model in the below format:
    
     glm( write ~ 1 , data = hsb2 , family = binomial(link = 'logit'))
    
     Happy modeling :)
     Hmmm.. Looks like you have specified an incorrect model. The below steps might be helpful:
    
     * Check if you have used the glm() function to build the model.
     * If you have never used it before, you can learn more by typing ?glm or help(glm) in the Console.
    
     Please specify the model in the below format:
    
     glm( write ~ 1 , data = hsb2 , family = binomial(link = 'logit'))
    
     Happy modeling :)
     - Creating model overview.
     - Creating response profile.
     - Extracting maximum likelihood estimates.
     - Computing odds ratio estimates.
     - Estimating concordant and discordant pairs.
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Computing odds ratio estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 200 199 196 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 147 1 53
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -12.7772 1.9755 -6.4677 0.0000
     female1 1 1.4825 0.4474 3.3139 9e-04
     read 1 0.1035 0.0258 4.0186 1e-04
     science 1 0.0948 0.0305 3.1129 0.0019
     -----------------------------------------------------------------
    
     Odds Ratio Estimates
     ---------------------------------------------------------
     Effects Estimate 95% Wald Conf. Limit
     ---------------------------------------------------------
     female1 4.4039 1.8955 11.0521
     read 1.1091 1.0569 1.1699
     science 1.0994 1.0377 1.1702
     ---------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8561 Somers' D 0.7147
     % Discordant 0.1425 Gamma 0.7136
     % Tied 0.0014 Tau-a 0.2794
     Pairs 7791 c 0.8568
     ---------------------------------------------------------------Tolerance and Variance Inflation Factor
     ---------------------------------------
     # A tibble: 3 x 3
     Variable Tolerance VIF
     <chr> <dbl> <dbl>
     1 female1 0.982 1.02
     2 read 0.602 1.66
     3 science 0.594 1.68
    
    
     Eigenvalue and Condition Index
     ------------------------------
     Eigenvalue Condition Index intercept female1 read science
     1 3.57391760 1.000000 0.002062502 0.02386799 0.001675904 0.001561977
     2 0.39409893 3.011408 0.003037479 0.91508462 0.003889972 0.004232601
     3 0.01888407 13.757025 0.961793702 0.04701680 0.291423043 0.090184221
     4 0.01309940 16.517583 0.033106318 0.01403058 0.703011081 0.904021201Forward Selection Method
     ------------------------
    
     Candidate Terms:
    
     1 . female
     2 . read
     3 . science
    
    
     Variables Entered:
    
     - read
     - female
     - science
     Forward Selection Method
     ---------------------------
    
     Candidate Terms:
    
     1. female
     2. read
     3. science
    
     We are selecting variables based on p value...
    
     Variables Entered:
    
     - read
     - female
     - science
    
    
     Final Model Output
     ------------------
    
     - Creating model overview.
     - Creating response profile.
     - Extracting maximum likelihood estimates.
     - Estimating concordant and discordant pairs.
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 200 199 196 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 147 1 53
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -12.7772 1.9755 -6.4677 0.0000
     read 1 0.1035 0.0258 4.0186 1e-04
     female1 1 1.4825 0.4474 3.3139 9e-04
     science 1 0.0948 0.0305 3.1129 0.0019
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8561 Somers' D 0.7147
     % Discordant 0.1425 Gamma 0.7136
     % Tied 0.0014 Tau-a 0.2794
     Pairs 7791 c 0.8568
     ---------------------------------------------------------------
    
     Forward Selection Method
     ------------------------
    
     Candidate Terms:
    
     1 . female
     2 . read
     3 . science
    
    
     Variables Entered:
    
     <U+2714> read
     <U+2714> female
     <U+2714> science
    
     Selection Summary
     ---------------------------------------------------
     Step Variable AIC BIC Deviance
     ---------------------------------------------------
     1 read 183.063 189.660 179.063
     2 female 176.887 176.887 176.887
     3 science 168.236 168.236 168.236
     ---------------------------------------------------Forward Selection Method
     ---------------------------
    
     Candidate Terms:
    
     1. female1
     2. read
     3. science
    
     We are selecting variables based on p value...
    
     Variables Entered:
    
     <U+2714> read
     <U+2714> science
     <U+2714> female1
    
    
     Final Model Output
     ------------------
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 372 371 368 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 290 1 82
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -11.5804 1.3980 -8.2836 0.0000
     read 1 0.1000 0.0210 4.7651 0.0000
     science 1 0.0798 0.0246 3.2390 0.0012
     female1 1 0.9324 0.3126 2.9826 0.0029
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8259 Somers' D 0.6607
     % Discordant 0.1687 Gamma 0.6572
     % Tied 0.0054 Tau-a 0.2265
     Pairs 23780 c 0.8286
     ---------------------------------------------------------------
    
    
     Selection Summary
     ----------------------------------------------------
     Variable
     Step Entered AIC BIC Deviance
     ----------------------------------------------------
     1 read 316.3831 324.2209 312.3831
     2 science 310.5294 322.2861 304.5294
     3 female1 303.0855 318.7611 295.0855
     ----------------------------------------------------Forward Selection Method
     ---------------------------
    
     Candidate Terms:
    
     1. female1
     2. read
     3. science
    
     We are selecting variables based on p value...
    
    
     Forward Selection: Step 1
    
     <U+2714> read
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 372 371 370 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 290 1 82
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -8.5704 0.9875 -8.6789 0.0000
     read 1 0.1340 0.0172 7.7741 0.0000
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.7771 Somers' D 0.6582
     % Discordant 0.1602 Gamma 0.6169
     % Tied 0.0627 Tau-a 0.2126
     Pairs 23780 c 0.8085
     ---------------------------------------------------------------
    
    
    
    
     Forward Selection: Step 2
    
     <U+2714> science
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 372 371 369 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 290 1 82
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -10.1484 1.2142 -8.3581 0.0000
     read 1 0.0990 0.0207 4.7938 0.0000
     science 1 0.0643 0.0233 2.7592 0.0058
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8181 Somers' D 0.6510
     % Discordant 0.1729 Gamma 0.6452
     % Tied 0.0090 Tau-a 0.2223
     Pairs 23780 c 0.8226
     ---------------------------------------------------------------
    
    
    
    
     Forward Selection: Step 3
    
     <U+2714> female1
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 372 371 368 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 290 1 82
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -11.5804 1.3980 -8.2836 0.0000
     read 1 0.1000 0.0210 4.7651 0.0000
     science 1 0.0798 0.0246 3.2390 0.0012
     female1 1 0.9324 0.3126 2.9826 0.0029
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8259 Somers' D 0.6607
     % Discordant 0.1687 Gamma 0.6572
     % Tied 0.0054 Tau-a 0.2265
     Pairs 23780 c 0.8286
     ---------------------------------------------------------------
    
    
    
    
    
     Variables Entered:
    
     <U+2714> read
     <U+2714> science
     <U+2714> female1
    
    
     Final Model Output
     ------------------
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 372 371 368 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 290 1 82
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -11.5804 1.3980 -8.2836 0.0000
     read 1 0.1000 0.0210 4.7651 0.0000
     science 1 0.0798 0.0246 3.2390 0.0012
     female1 1 0.9324 0.3126 2.9826 0.0029
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8259 Somers' D 0.6607
     % Discordant 0.1687 Gamma 0.6572
     % Tied 0.0054 Tau-a 0.2265
     Pairs 23780 c 0.8286
     ---------------------------------------------------------------
    
    
     Selection Summary
     ----------------------------------------------------
     Variable
     Step Entered AIC BIC Deviance
     ----------------------------------------------------
     1 read 316.3831 324.2209 312.3831
     2 science 310.5294 322.2861 304.5294
     3 female1 303.0855 318.7611 295.0855
     ---------------------------------------------------- Partition for the Hosmer & Lemeshow Test
     --------------------------------------------------------------
     def = 1 def = 0
     Group Total Observed Expected Observed Expected
     --------------------------------------------------------------
     1 20 0 0.16 20 19.84
     2 20 0 0.53 20 19.47
     3 20 2 0.99 18 19.01
     4 20 1 1.64 19 18.36
     5 21 3 2.72 18 18.28
     6 19 3 4.05 16 14.95
     7 20 7 6.50 13 13.50
     8 20 10 8.90 10 11.10
     9 20 13 11.49 7 8.51
     10 20 14 16.02 6 3.98
     --------------------------------------------------------------
    
     Goodness of Fit Test
     ------------------------------
     Chi-Square DF Pr > ChiSq
     ------------------------------
     4.4998 8 0.8095
     ------------------------------ Model Fit Statistics
     ---------------------------------------------------------------------------------
     Log-Lik Intercept Only: -115.644 Log-Lik Full Model: -80.118
     Deviance(196): 160.236 LR(3): 71.052
     Prob > LR: 0.000
     MCFadden's R2 0.307 McFadden's Adj R2: 0.273
     ML (Cox-Snell) R2: 0.299 Cragg-Uhler(Nagelkerke) R2: 0.436
     McKelvey & Zavoina's R2: 0.518 Efron's R2: 0.330
     Count R2: 0.810 Adj Count R2: 0.283
     BIC: 181.430 AIC: 168.236
     --------------------------------------------------------------------------------- Measures Model 1 Model 2
     1 Log-Lik Intercept Only -115.644 -115.644
     2 Log-Lik Full Model: -80.118 -84.570
     3 Deviance 160.236 169.141
     4 LR 71.052 62.148
     5 Prob > LR: 0.000 0.000
     6 MCFadden's R2 0.307 0.269
     7 McFadden's Adj R2: 0.273 0.225
     8 ML (Cox-Snell) R2: 0.299 0.267
     9 Cragg-Uhler(Nagelkerke) R2: 0.436 0.390
     10 McKelvey & Zavoina's R2: 0.518 0.440
     11 Efron's R2: 0.330 0.281
     12 Count R2: 0.810 0.785
     13 Adj Count R2: 0.283 0.189
     14 AIC: 168.236 179.141
     15 BIC: 181.430 195.632 Likelihood Ratio Test
     ------------------------------
     Chi-Square DF Pr > ChiSq
     ------------------------------
     71.0525 3 0.0000
     ------------------------------Stepwise Selection Method
     -------------------------
    
     Candidate Terms:
    
     1 . x1
     2 . x2
     3 . x3
     4 . x4
     5 . x5
     6 . x6
    
    
     Variables Entered/Removed:
    
     - x6 added
     - x1 added
     - x3 added
     - x2 added
     - x6 removed
     - x5 added
    
     No more variables to be added or removed.Stepwise Selection Method
     ---------------------------
    
     Candidate Terms:
    
     1. x1
     2. x2
     3. x3
     4. x4
     5. x5
     6. x6
    
     We are selecting variables based on p value...
    
     Variables Entered/Removed:
    
     - x6 added
     - x5 added
     - x6 added
    
     No more variables to be added/removed.
    
    
     Final Model Output
     ------------------
    
     - Creating model overview.
     - Creating response profile.
     - Extracting maximum likelihood estimates.
     - Estimating concordant and discordant pairs.
     Model Overview
     -------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     -------------------------------------------------------------------------
     data y 20000 19999 19995 TRUE
     -------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 10041 1 9959
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     ------------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     ------------------------------------------------------------------
     (Intercept) 1 -1.5228 0.0287 -53.1302 0.0000
     x1 1 1.0276 0.0212 48.4927 0.0000
     x2 1 0.9807 0.0209 46.9690 0.0000
     x3 1 1.0260 0.0213 48.2799 0.0000
     x5 1 0.0357 0.0192 1.8531 0.0639
     ------------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8911 Somers' D 0.7821
     % Discordant 0.1089 Gamma 0.7821
     % Tied 0.0000 Tau-a 0.3911
     Pairs 99998319 c 0.8911
     ---------------------------------------------------------------
    
     Stepwise Selection Method
     -------------------------
    
     Candidate Terms:
    
     1 . x1
     2 . x2
     3 . x3
     4 . x4
     5 . x5
     6 . x6
    
    
     Variables Entered/Removed:
    
     <U+2714> x6
     <U+2714> x1
     <U+2714> x3
     <U+2714> x2
     <U+2716> x6
     <U+2714> x5
    
     No more variables to be added or removed.
    
     Stepwise Summary
     -----------------------------------------------------------
     Variable Method AIC BIC Deviance
     -----------------------------------------------------------
     x6 addition 18869.627 18885.434 18865.627
     x1 addition 18571.376 18595.087 18565.376
     x3 addition 18016.724 18048.338 18008.724
     x2 addition 16642.374 16681.891 16632.374
     x6 removal 16640.653 16672.267 16632.653
     x5 addition 16639.219 16678.736 16629.219
     -----------------------------------------------------------Stepwise Selection Method
     ---------------------------
    
     Candidate Terms:
    
     1. x1
     2. x2
     3. x3
     4. x4
     5. x5
     6. x6
    
     We are selecting variables based on p value...
    
     Variables Entered/Removed:
    
     <U+2714> x6
     <U+2714> x1
     <U+2714> x3
     <U+2714> x2
     <U+2714> x5
     <U+2716> x6
    
     No more variables to be added/removed.
    
    
     Final Model Output
     ------------------
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     -------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     -------------------------------------------------------------------------
     data y 20000 19999 19995 TRUE
     -------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 10041 1 9959
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     ------------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     ------------------------------------------------------------------
     (Intercept) 1 -1.5228 0.0287 -53.1302 0.0000
     x1 1 1.0276 0.0212 48.4927 0.0000
     x3 1 1.0260 0.0213 48.2799 0.0000
     x2 1 0.9807 0.0209 46.9690 0.0000
     x5 1 0.0357 0.0192 1.8531 0.0639
     ------------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8911 Somers' D 0.7821
     % Discordant 0.1089 Gamma 0.7821
     % Tied 0.0000 Tau-a 0.3911
     Pairs 99998319 c 0.8911
     ---------------------------------------------------------------
    
    
     Stepwise Selection Summary
     ----------------------------------------------------------------------
     Added/
     Step Variable Removed AIC BIC C(p)
     ----------------------------------------------------------------------
     1 x6 addition 18869.627 18885.434 18865.6270
     2 x1 addition 18571.376 18595.087 18565.3760
     3 x3 addition 18016.724 18048.338 18008.7240
     4 x2 addition 16642.374 16681.891 16632.3740
     5 x5 addition 16640.883 16688.304 16628.8830
     6 x6 removal 16639.219 16678.736 16629.2190
     ----------------------------------------------------------------------Stepwise Selection Method
     ---------------------------
    
     Candidate Terms:
    
     1. x1
     2. x2
     3. x3
     4. x4
     5. x5
     6. x6
    
     We are selecting variables based on p value...
    
    
     Stepwise Selection: Step 1
    
     <U+2714> x6
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     -------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     -------------------------------------------------------------------------
     data y 20000 19999 19998 TRUE
     -------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 10041 1 9959
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     ------------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     ------------------------------------------------------------------
     (Intercept) 1 -1.1331 0.0242 -46.8217 0.0000
     x6 1 0.7490 0.0107 69.8309 0.0000
     ------------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8558 Somers' D 0.7115
     % Discordant 0.1442 Gamma 0.7115
     % Tied 0.0000 Tau-a 0.3558
     Pairs 99998319 c 0.8558
     ---------------------------------------------------------------
    
    
    
    
     Stepwise Selection: Step 2
    
     <U+2714> x1
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     -------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     -------------------------------------------------------------------------
     data y 20000 19999 19997 TRUE
     -------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 10041 1 9959
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     ------------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     ------------------------------------------------------------------
     (Intercept) 1 -1.1836 0.0248 -47.8070 0.0000
     x6 1 0.6619 0.0116 56.9586 0.0000
     x1 1 0.3595 0.0210 17.0908 0.0000
     ------------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8610 Somers' D 0.7220
     % Discordant 0.1390 Gamma 0.7220
     % Tied 0.0000 Tau-a 0.3610
     Pairs 99998319 c 0.8610
     ---------------------------------------------------------------
    
    
    
    
     Stepwise Selection: Step 3
    
     <U+2714> x3
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     -------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     -------------------------------------------------------------------------
     data y 20000 19999 19996 TRUE
     -------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 10041 1 9959
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     ------------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     ------------------------------------------------------------------
     (Intercept) 1 -1.2730 0.0257 -49.4449 0.0000
     x6 1 0.4865 0.0135 35.9577 0.0000
     x1 1 0.5367 0.0229 23.4089 0.0000
     x3 1 0.5331 0.0232 22.9908 0.0000
     ------------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8704 Somers' D 0.7407
     % Discordant 0.1296 Gamma 0.7407
     % Tied 0.0000 Tau-a 0.3704
     Pairs 99998319 c 0.8704
     ---------------------------------------------------------------
    
    
    
    
     Stepwise Selection: Step 4
    
     <U+2714> x2
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     -------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     -------------------------------------------------------------------------
     data y 20000 19999 19995 TRUE
     -------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 10041 1 9959
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     ------------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     ------------------------------------------------------------------
     (Intercept) 1 -1.5229 0.0287 -53.1387 0.0000
     x6 1 -0.0102 0.0193 -0.5290 0.5968
     x1 1 1.0381 0.0287 36.1728 0.0000
     x3 1 1.0365 0.0290 35.7651 0.0000
     x2 1 0.9910 0.0285 34.7112 0.0000
     ------------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8910 Somers' D 0.7820
     % Discordant 0.1090 Gamma 0.7820
     % Tied 0.0000 Tau-a 0.3910
     Pairs 99998319 c 0.8910
     ---------------------------------------------------------------
    
    
    
    
     Stepwise Selection: Step 5
    
     <U+2714> x5
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     -------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     -------------------------------------------------------------------------
     data y 20000 19999 19994 TRUE
     -------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 10041 1 9959
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     ------------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     ------------------------------------------------------------------
     (Intercept) 1 -1.5228 0.0287 -53.1294 0.0000
     x6 1 -0.0112 0.0193 -0.5790 0.5626
     x1 1 1.0388 0.0287 36.1852 0.0000
     x3 1 1.0374 0.0290 35.7813 0.0000
     x2 1 0.9919 0.0286 34.7282 0.0000
     x5 1 0.0360 0.0193 1.8680 0.0618
     ------------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8911 Somers' D 0.7821
     % Discordant 0.1089 Gamma 0.7821
     % Tied 0.0000 Tau-a 0.3911
     Pairs 99998319 c 0.8911
     ---------------------------------------------------------------
    
    
    
    
     Stepwise Selection: Step 6
    
     <U+2716> x6
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     -------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     -------------------------------------------------------------------------
     data y 20000 19999 19995 TRUE
     -------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 10041 1 9959
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     ------------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     ------------------------------------------------------------------
     (Intercept) 1 -1.5228 0.0287 -53.1302 0.0000
     x1 1 1.0276 0.0212 48.4927 0.0000
     x3 1 1.0260 0.0213 48.2799 0.0000
     x2 1 0.9807 0.0209 46.9690 0.0000
     x5 1 0.0357 0.0192 1.8531 0.0639
     ------------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8911 Somers' D 0.7821
     % Discordant 0.1089 Gamma 0.7821
     % Tied 0.0000 Tau-a 0.3911
     Pairs 99998319 c 0.8911
     ---------------------------------------------------------------
    
    
    
    
     No more variables to be added/removed.
    
    
     Final Model Output
     ------------------
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     -------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     -------------------------------------------------------------------------
     data y 20000 19999 19995 TRUE
     -------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 10041 1 9959
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     ------------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     ------------------------------------------------------------------
     (Intercept) 1 -1.5228 0.0287 -53.1302 0.0000
     x1 1 1.0276 0.0212 48.4927 0.0000
     x3 1 1.0260 0.0213 48.2799 0.0000
     x2 1 0.9807 0.0209 46.9690 0.0000
     x5 1 0.0357 0.0192 1.8531 0.0639
     ------------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8911 Somers' D 0.7821
     % Discordant 0.1089 Gamma 0.7821
     % Tied 0.0000 Tau-a 0.3911
     Pairs 99998319 c 0.8911
     ---------------------------------------------------------------
    
    
     Stepwise Selection Summary
     ----------------------------------------------------------------------
     Added/
     Step Variable Removed AIC BIC C(p)
     ----------------------------------------------------------------------
     1 x6 addition 18869.627 18885.434 18865.6270
     2 x1 addition 18571.376 18595.087 18565.3760
     3 x3 addition 18016.724 18048.338 18008.7240
     4 x2 addition 16642.374 16681.891 16632.3740
     5 x5 addition 16640.883 16688.304 16628.8830
     6 x6 removal 16639.219 16678.736 16629.2190
     ----------------------------------------------------------------------== testthat results ===========================================================
     [ OK: 74 | SKIPPED: 28 | WARNINGS: 1 | FAILED: 2 ]
     1. Failure: output from blr_segment is as expected (@test-bivariate-analysis.R#34)
     2. Failure: output from blr_segment_dist is as expected (@test-bivariate-analysis.R#92)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-windows-ix86+x86_64-gcc8

Version: 0.2.1
Check: running tests for arch ‘x64’
Result: ERROR
     Running 'testthat.R' [41s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(blorr)
     >
     > test_check("blorr")
     Backward Elimination Method
     ---------------------------
    
     Candidate Terms:
    
     1 . female
     2 . read
     3 . science
     4 . math
     5 . prog
     6 . socst
    
    
     Variables Removed:
    
     - prog
     - socst
     Backward Elimination Method
     ---------------------------
    
     Candidate Terms:
    
     1 . female
     2 . read
     3 . science
     4 . math
     5 . prog
     6 . socst
    
     We are eliminating variables based on p value...
    
     Variables Removed:
    
     - prog
     - socst
    
     No more variables satisfy the condition of p value = 0.3
    
    
     Final Model Output
     ------------------
    
     - Creating model overview.
     - Creating response profile.
     - Extracting maximum likelihood estimates.
     - Estimating concordant and discordant pairs.
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 200 199 195 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 147 1 53
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -14.5773 2.1568 -6.7589 0.0000
     female1 1 1.3622 0.4605 2.9580 0.0031
     read 1 0.0631 0.0281 2.2455 0.0247
     science 1 0.0569 0.0326 1.7429 0.0814
     math 1 0.1113 0.0338 3.2992 0.0010
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8835 Somers' D 0.7669
     % Discordant 0.1165 Gamma 0.7669
     % Tied 0.0000 Tau-a 0.3003
     Pairs 7791 c 0.8835
     ---------------------------------------------------------------
    
     Backward Elimination Method
     ---------------------------
    
     Candidate Terms:
    
     1 . female
     2 . read
     3 . science
     4 . math
     5 . prog
     6 . socst
    
    
     Variables Removed:
    
     <U+2716> prog
     <U+2716> socst
    
    
     Backward Elimination Summary
     --------------------------------------------
     Variable AIC BIC Deviance
     --------------------------------------------
     Full Model 162.424 188.811 146.424
     prog 158.953 178.743 146.953
     socst 157.286 173.777 147.286
     --------------------------------------------Backward Elimination Method
     ---------------------------
    
     Candidate Terms:
    
     1 . female1
     2 . read
     3 . science
     4 . math
     5 . prog2
     6 . prog3
     7 . socst
    
     We are eliminating variables based on p value...
    
     Variables Removed:
    
     <U+2716> prog3
     <U+2716> prog2
     <U+2716> socst
    
     No more variables satisfy the condition of p value = 0.3
    
    
     Final Model Output
     ------------------
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 200 199 195 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 147 1 53
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -14.5773 2.1568 -6.7589 0.0000
     female1 1 1.3622 0.4605 2.9580 0.0031
     read 1 0.0631 0.0281 2.2455 0.0247
     science 1 0.0569 0.0326 1.7429 0.0814
     math 1 0.1113 0.0338 3.2992 0.0010
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8835 Somers' D 0.7669
     % Discordant 0.1165 Gamma 0.7669
     % Tied 0.0000 Tau-a 0.3003
     Pairs 7791 c 0.8835
     ---------------------------------------------------------------
    
    
    
     Elimination Summary
     ----------------------------------------------------
     Variable
     Step Removed AIC BIC Deviance
     ----------------------------------------------------
     1 prog3 160.7102 183.7984 146.7102
     2 prog2 158.9527 178.7427 146.9527
     3 socst 157.2856 173.7772 147.2856
     ----------------------------------------------------Backward Elimination Method
     ---------------------------
    
     Candidate Terms:
    
     1 . female
     2 . read
     3 . science
     4 . math
     5 . prog
     6 . socst
    
     Step 0: AIC = 162.4241
     honcomp ~ female + read + science + math + prog + socst
    
     -------------------------------------------------
     Variable DF AIC BIC Deviance
     -------------------------------------------------
     prog 1 158.953 178.743 146.953
     socst 1 160.745 183.834 146.745
     read 1 163.394 186.482 149.394
     science 1 163.815 186.903 149.815
     female 1 169.570 192.658 155.570
     math 1 170.017 193.105 156.017
     -------------------------------------------------
    
    
     <U+2716> prog
    
    
     Step 1 : AIC = 158.9527
     honcomp ~ female + read + science + math + socst
    
     -------------------------------------------------
     Variable DF AIC BIC Deviance
     -------------------------------------------------
     socst 1 157.286 173.777 147.286
     science 1 159.941 176.432 149.941
     read 1 160.307 176.798 150.307
     female 1 166.114 182.606 156.114
     math 1 168.669 185.161 158.669
     -------------------------------------------------
    
     <U+2716> socst
    
    
     Step 2 : AIC = 157.2856
     honcomp ~ female + read + science + math
    
     -------------------------------------------------
     Variable DF AIC BIC Deviance
     -------------------------------------------------
     science 1 158.420 171.613 150.420
     read 1 160.658 173.851 152.658
     female 1 164.988 178.181 156.988
     math 1 168.236 181.430 160.236
     -------------------------------------------------
    
     No more variables to be removed.
    
     Variables Removed:
    
     <U+2716> prog
     <U+2716> socst
    
    
     Final Model Output
     ------------------
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 200 199 195 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 147 1 53
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -14.5773 2.1568 -6.7589 0.0000
     female1 1 1.3622 0.4605 2.9580 0.0031
     read 1 0.0631 0.0281 2.2455 0.0247
     science 1 0.0569 0.0326 1.7429 0.0814
     math 1 0.1113 0.0338 3.2992 0.0010
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8835 Somers' D 0.7669
     % Discordant 0.1165 Gamma 0.7669
     % Tied 0.0000 Tau-a 0.3003
     Pairs 7791 c 0.8835
     ---------------------------------------------------------------
    
    
    
     Backward Elimination Summary
     --------------------------------------------
     Variable AIC BIC Deviance
     --------------------------------------------
     Full Model 162.424 188.811 146.424
     prog 158.953 178.743 146.953
     socst 157.286 173.777 147.286
     --------------------------------------------Backward Elimination Method
     ---------------------------
    
     Candidate Terms:
    
     1 . female1
     2 . read
     3 . science
     4 . math
     5 . prog2
     6 . prog3
     7 . socst
    
     We are eliminating variables based on p value...
    
     <U+2716> prog3
    
     Backward Elimination: Step 1
    
     Variable prog3 Removed
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 200 199 193 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 147 1 53
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -14.7222 2.2246 -6.6180 0.0000
     female1 1 1.3547 0.4659 2.9075 0.0036
     read 1 0.0541 0.0311 1.7420 0.0815
     science 1 0.0605 0.0341 1.7729 0.0762
     math 1 0.1033 0.0357 2.8968 0.0038
     prog2 1 0.2382 0.4839 0.4922 0.6226
     socst 1 0.0135 0.0273 0.4953 0.6204
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8845 Somers' D 0.7690
     % Discordant 0.1155 Gamma 0.7690
     % Tied 0.0000 Tau-a 0.3011
     Pairs 7791 c 0.8845
     ---------------------------------------------------------------
    
    
    
     <U+2716> prog2
    
     Backward Elimination: Step 2
    
     Variable prog2 Removed
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 200 199 194 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 147 1 53
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -14.8131 2.2101 -6.7024 0.0000
     female1 1 1.3351 0.4634 2.8813 0.0040
     read 1 0.0558 0.0309 1.8050 0.0711
     science 1 0.0561 0.0329 1.7036 0.0885
     math 1 0.1086 0.0342 3.1761 0.0015
     socst 1 0.0155 0.0270 0.5738 0.5661
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8822 Somers' D 0.7643
     % Discordant 0.1178 Gamma 0.7643
     % Tied 0.0000 Tau-a 0.2992
     Pairs 7791 c 0.8822
     ---------------------------------------------------------------
    
    
    
     <U+2716> socst
    
     Backward Elimination: Step 3
    
     Variable socst Removed
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 200 199 195 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 147 1 53
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -14.5773 2.1568 -6.7589 0.0000
     female1 1 1.3622 0.4605 2.9580 0.0031
     read 1 0.0631 0.0281 2.2455 0.0247
     science 1 0.0569 0.0326 1.7429 0.0814
     math 1 0.1113 0.0338 3.2992 0.0010
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8835 Somers' D 0.7669
     % Discordant 0.1165 Gamma 0.7669
     % Tied 0.0000 Tau-a 0.3003
     Pairs 7791 c 0.8835
     ---------------------------------------------------------------
    
    
    
    
     No more variables satisfy the condition of p value = 0.3
    
    
     Variables Removed:
    
     <U+2716> prog3
     <U+2716> prog2
     <U+2716> socst
    
    
     Final Model Output
     ------------------
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 200 199 195 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 147 1 53
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -14.5773 2.1568 -6.7589 0.0000
     female1 1 1.3622 0.4605 2.9580 0.0031
     read 1 0.0631 0.0281 2.2455 0.0247
     science 1 0.0569 0.0326 1.7429 0.0814
     math 1 0.1113 0.0338 3.2992 0.0010
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8835 Somers' D 0.7669
     % Discordant 0.1165 Gamma 0.7669
     % Tied 0.0000 Tau-a 0.3003
     Pairs 7791 c 0.8835
     ---------------------------------------------------------------
    
    
    
     Elimination Summary
     ----------------------------------------------------
     Variable
     Step Removed AIC BIC Deviance
     ----------------------------------------------------
     1 prog3 160.7102 183.7984 146.7102
     2 prog2 158.9527 178.7427 146.9527
     3 socst 157.2856 173.7772 147.2856
     ---------------------------------------------------- Bivariate Analysis
     ---------------------------------------------------------------------
     Variable Information Value LR Chi Square LR DF LR p-value
     ---------------------------------------------------------------------
     female 0.10 3.9350 1 0.0473
     prog 0.43 16.1450 2 3e-04
     ----------------------------------------------------------------------- 1. Failure: output from blr_segment is as expected (@test-bivariate-analysis.
     `actual` not equivalent to `expected`.
     1/4 mismatches
     [2] 0.03 - 0.02 == 0.01
    
     Event By Attributes
     -------------------
     race 1s%
     -------------------
     1 0.01
     2 0.02
     3 0.01
     4 0.22
     ------------------- race
     -----------------------------------------
     prog 1 2 3 4
     -----------------------------------------
     1 0.000 0.000 0.000 0.035
     -----------------------------------------
     2 0.010 0.020 0.005 0.165
     -----------------------------------------
     3 0.000 0.005 0.005 0.020
     ------------------------------------------- 2. Failure: output from blr_segment_dist is as expected (@test-bivariate-anal
     `actual` not equivalent to `expected`.
     1/4 mismatches
     [2] 0.03 - 0.02 == 0.01
    
     Event Segmentation
     -------------------------------------
     race n 1s n% 1s%
     -------------------------------------
     1 24 2 0.12 0.01
     2 11 5 0.06 0.02
     3 20 2 0.10 0.01
     4 145 44 0.72 0.22
     ------------------------------------- Weight of Evidence
     -------------------------------------------------------------------------
     levels 0s_count 1s_count 0s_dist 1s_dist woe iv
     -------------------------------------------------------------------------
     1 38 7 0.26 0.13 0.67 0.08
     2 65 40 0.44 0.75 -0.53 0.17
     3 44 6 0.30 0.11 0.97 0.18
     -------------------------------------------------------------------------
    
     Information Value
     -----------------------------
     Variable Information Value
     -----------------------------
     prog 0.4329
     -----------------------------Variable: prog
    
     Weight of Evidence
     -------------------------------------------------------------------------
     levels 0s_count 1s_count 0s_dist 1s_dist woe iv
     -------------------------------------------------------------------------
     1 38 7 0.26 0.13 0.67 0.08
     2 65 40 0.44 0.75 -0.53 0.17
     3 44 6 0.30 0.11 0.97 0.18
     -------------------------------------------------------------------------
    
     Information Value
     -----------------------------
     Variable Information Value
     -----------------------------
     prog 0.4329
     -----------------------------
    
    
     Variable: race
    
     Weight of Evidence
     -------------------------------------------------------------------------
     levels 0s_count 1s_count 0s_dist 1s_dist woe iv
     -------------------------------------------------------------------------
     1 22 2 0.15 0.04 1.38 0.15
     2 6 5 0.04 0.09 -0.84 0.04
     3 18 2 0.12 0.04 1.18 0.10
     4 101 44 0.69 0.83 -0.19 0.03
     -------------------------------------------------------------------------
    
     Information Value
     -----------------------------
     Variable Information Value
     -----------------------------
     race 0.326
     -----------------------------
    
    
     Variable: female
    
     Weight of Evidence
     -------------------------------------------------------------------------
     levels 0s_count 1s_count 0s_dist 1s_dist woe iv
     -------------------------------------------------------------------------
     0 73 18 0.50 0.34 0.38 0.06
     1 74 35 0.50 0.66 -0.27 0.04
     -------------------------------------------------------------------------
    
     Information Value
     -----------------------------
     Variable Information Value
     -----------------------------
     female 0.1023
     -----------------------------
    
    
     Variable: schtyp
    
     Weight of Evidence
     ------------------------------------------------------------------------
     levels 0s_count 1s_count 0s_dist 1s_dist woe iv
     ------------------------------------------------------------------------
     1 123 45 0.84 0.85 -0.01 0.00
     2 24 8 0.16 0.15 0.08 0.00
     ------------------------------------------------------------------------
    
     Information Value
     -----------------------------
     Variable Information Value
     -----------------------------
     schtyp 0.0012
     -----------------------------
    
    
     Variable: prog
    
     Weight of Evidence
     -------------------------------------------------------------------------
     levels 0s_count 1s_count 0s_dist 1s_dist woe iv
     -------------------------------------------------------------------------
     1 38 7 0.26 0.13 0.67 0.08
     2 65 40 0.44 0.75 -0.53 0.17
     3 44 6 0.30 0.11 0.97 0.18
     -------------------------------------------------------------------------
    
     Information Value
     -----------------------------
     Variable Information Value
     -----------------------------
     prog 0.4329
     -----------------------------
    
    
     Variable: race
    
     Weight of Evidence
     -------------------------------------------------------------------------
     levels 0s_count 1s_count 0s_dist 1s_dist woe iv
     -------------------------------------------------------------------------
     1 22 2 0.15 0.04 1.38 0.15
     2 6 5 0.04 0.09 -0.84 0.04
     3 18 2 0.12 0.04 1.18 0.10
     4 101 44 0.69 0.83 -0.19 0.03
     -------------------------------------------------------------------------
    
     Information Value
     -----------------------------
     Variable Information Value
     -----------------------------
     race 0.326
     -----------------------------
    
    
     Variable: female
    
     Weight of Evidence
     -------------------------------------------------------------------------
     levels 0s_count 1s_count 0s_dist 1s_dist woe iv
     -------------------------------------------------------------------------
     0 73 18 0.50 0.34 0.38 0.06
     1 74 35 0.50 0.66 -0.27 0.04
     -------------------------------------------------------------------------
    
     Information Value
     -----------------------------
     Variable Information Value
     -----------------------------
     female 0.1023
     -----------------------------
    
    
     Variable: schtyp
    
     Weight of Evidence
     ------------------------------------------------------------------------
     levels 0s_count 1s_count 0s_dist 1s_dist woe iv
     ------------------------------------------------------------------------
     1 123 45 0.84 0.85 -0.01 0.00
     2 24 8 0.16 0.15 0.08 0.00
     ------------------------------------------------------------------------
    
     Information Value
     -----------------------------
     Variable Information Value
     -----------------------------
     schtyp 0.0012
     -----------------------------Hmmm.. Looks like you have specified an incorrect model. The below steps might be helpful:
    
     * Check if you have used the glm() function to build the model.
     * If you have never used it before, you can learn more by typing ?glm or help(glm) in the Console.
    
     Please specify the model in the below format:
    
     glm( write ~ 1 , data = hsb2 , family = binomial(link = 'logit'))
    
     Happy modeling :)
     Hmmm.. Looks like you have specified an incorrect model. The below steps might be helpful:
    
     * Check if you have used the glm() function to build the model.
     * If you have never used it before, you can learn more by typing ?glm or help(glm) in the Console.
    
     Please specify the model in the below format:
    
     glm( write ~ 1 , data = hsb2 , family = binomial(link = 'logit'))
    
     Happy modeling :)
     - Creating model overview.
     - Creating response profile.
     - Extracting maximum likelihood estimates.
     - Computing odds ratio estimates.
     - Estimating concordant and discordant pairs.
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Computing odds ratio estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 200 199 196 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 147 1 53
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -12.7772 1.9755 -6.4677 0.0000
     female1 1 1.4825 0.4474 3.3139 9e-04
     read 1 0.1035 0.0258 4.0186 1e-04
     science 1 0.0948 0.0305 3.1129 0.0019
     -----------------------------------------------------------------
    
     Odds Ratio Estimates
     ---------------------------------------------------------
     Effects Estimate 95% Wald Conf. Limit
     ---------------------------------------------------------
     female1 4.4039 1.8955 11.0521
     read 1.1091 1.0569 1.1699
     science 1.0994 1.0377 1.1702
     ---------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8561 Somers' D 0.7147
     % Discordant 0.1425 Gamma 0.7136
     % Tied 0.0014 Tau-a 0.2794
     Pairs 7791 c 0.8568
     ---------------------------------------------------------------Tolerance and Variance Inflation Factor
     ---------------------------------------
     # A tibble: 3 x 3
     Variable Tolerance VIF
     <chr> <dbl> <dbl>
     1 female1 0.982 1.02
     2 read 0.602 1.66
     3 science 0.594 1.68
    
    
     Eigenvalue and Condition Index
     ------------------------------
     Eigenvalue Condition Index intercept female1 read science
     1 3.57391760 1.000000 0.002062502 0.02386799 0.001675904 0.001561977
     2 0.39409893 3.011408 0.003037479 0.91508462 0.003889972 0.004232601
     3 0.01888407 13.757025 0.961793702 0.04701680 0.291423043 0.090184221
     4 0.01309940 16.517583 0.033106318 0.01403058 0.703011081 0.904021201Forward Selection Method
     ------------------------
    
     Candidate Terms:
    
     1 . female
     2 . read
     3 . science
    
    
     Variables Entered:
    
     - read
     - female
     - science
     Forward Selection Method
     ---------------------------
    
     Candidate Terms:
    
     1. female
     2. read
     3. science
    
     We are selecting variables based on p value...
    
     Variables Entered:
    
     - read
     - female
     - science
    
    
     Final Model Output
     ------------------
    
     - Creating model overview.
     - Creating response profile.
     - Extracting maximum likelihood estimates.
     - Estimating concordant and discordant pairs.
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 200 199 196 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 147 1 53
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -12.7772 1.9755 -6.4677 0.0000
     read 1 0.1035 0.0258 4.0186 1e-04
     female1 1 1.4825 0.4474 3.3139 9e-04
     science 1 0.0948 0.0305 3.1129 0.0019
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8561 Somers' D 0.7147
     % Discordant 0.1425 Gamma 0.7136
     % Tied 0.0014 Tau-a 0.2794
     Pairs 7791 c 0.8568
     ---------------------------------------------------------------
    
     Forward Selection Method
     ------------------------
    
     Candidate Terms:
    
     1 . female
     2 . read
     3 . science
    
    
     Variables Entered:
    
     <U+2714> read
     <U+2714> female
     <U+2714> science
    
     Selection Summary
     ---------------------------------------------------
     Step Variable AIC BIC Deviance
     ---------------------------------------------------
     1 read 183.063 189.660 179.063
     2 female 176.887 176.887 176.887
     3 science 168.236 168.236 168.236
     ---------------------------------------------------Forward Selection Method
     ---------------------------
    
     Candidate Terms:
    
     1. female1
     2. read
     3. science
    
     We are selecting variables based on p value...
    
     Variables Entered:
    
     <U+2714> read
     <U+2714> science
     <U+2714> female1
    
    
     Final Model Output
     ------------------
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 372 371 368 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 290 1 82
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -11.5804 1.3980 -8.2836 0.0000
     read 1 0.1000 0.0210 4.7651 0.0000
     science 1 0.0798 0.0246 3.2390 0.0012
     female1 1 0.9324 0.3126 2.9826 0.0029
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8259 Somers' D 0.6607
     % Discordant 0.1687 Gamma 0.6572
     % Tied 0.0054 Tau-a 0.2265
     Pairs 23780 c 0.8286
     ---------------------------------------------------------------
    
    
     Selection Summary
     ----------------------------------------------------
     Variable
     Step Entered AIC BIC Deviance
     ----------------------------------------------------
     1 read 316.3831 324.2209 312.3831
     2 science 310.5294 322.2861 304.5294
     3 female1 303.0855 318.7611 295.0855
     ----------------------------------------------------Forward Selection Method
     ---------------------------
    
     Candidate Terms:
    
     1. female1
     2. read
     3. science
    
     We are selecting variables based on p value...
    
    
     Forward Selection: Step 1
    
     <U+2714> read
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 372 371 370 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 290 1 82
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -8.5704 0.9875 -8.6789 0.0000
     read 1 0.1340 0.0172 7.7741 0.0000
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.7771 Somers' D 0.6582
     % Discordant 0.1602 Gamma 0.6169
     % Tied 0.0627 Tau-a 0.2126
     Pairs 23780 c 0.8085
     ---------------------------------------------------------------
    
    
    
    
     Forward Selection: Step 2
    
     <U+2714> science
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 372 371 369 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 290 1 82
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -10.1484 1.2142 -8.3581 0.0000
     read 1 0.0990 0.0207 4.7938 0.0000
     science 1 0.0643 0.0233 2.7592 0.0058
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8181 Somers' D 0.6510
     % Discordant 0.1729 Gamma 0.6452
     % Tied 0.0090 Tau-a 0.2223
     Pairs 23780 c 0.8226
     ---------------------------------------------------------------
    
    
    
    
     Forward Selection: Step 3
    
     <U+2714> female1
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 372 371 368 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 290 1 82
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -11.5804 1.3980 -8.2836 0.0000
     read 1 0.1000 0.0210 4.7651 0.0000
     science 1 0.0798 0.0246 3.2390 0.0012
     female1 1 0.9324 0.3126 2.9826 0.0029
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8259 Somers' D 0.6607
     % Discordant 0.1687 Gamma 0.6572
     % Tied 0.0054 Tau-a 0.2265
     Pairs 23780 c 0.8286
     ---------------------------------------------------------------
    
    
    
    
    
     Variables Entered:
    
     <U+2714> read
     <U+2714> science
     <U+2714> female1
    
    
     Final Model Output
     ------------------
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     ------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     ------------------------------------------------------------------------
     data honcomp 372 371 368 TRUE
     ------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 290 1 82
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     -----------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     -----------------------------------------------------------------
     (Intercept) 1 -11.5804 1.3980 -8.2836 0.0000
     read 1 0.1000 0.0210 4.7651 0.0000
     science 1 0.0798 0.0246 3.2390 0.0012
     female1 1 0.9324 0.3126 2.9826 0.0029
     -----------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8259 Somers' D 0.6607
     % Discordant 0.1687 Gamma 0.6572
     % Tied 0.0054 Tau-a 0.2265
     Pairs 23780 c 0.8286
     ---------------------------------------------------------------
    
    
     Selection Summary
     ----------------------------------------------------
     Variable
     Step Entered AIC BIC Deviance
     ----------------------------------------------------
     1 read 316.3831 324.2209 312.3831
     2 science 310.5294 322.2861 304.5294
     3 female1 303.0855 318.7611 295.0855
     ---------------------------------------------------- Partition for the Hosmer & Lemeshow Test
     --------------------------------------------------------------
     def = 1 def = 0
     Group Total Observed Expected Observed Expected
     --------------------------------------------------------------
     1 20 0 0.16 20 19.84
     2 20 0 0.53 20 19.47
     3 20 2 0.99 18 19.01
     4 20 1 1.64 19 18.36
     5 21 3 2.72 18 18.28
     6 19 3 4.05 16 14.95
     7 20 7 6.50 13 13.50
     8 20 10 8.90 10 11.10
     9 20 13 11.49 7 8.51
     10 20 14 16.02 6 3.98
     --------------------------------------------------------------
    
     Goodness of Fit Test
     ------------------------------
     Chi-Square DF Pr > ChiSq
     ------------------------------
     4.4998 8 0.8095
     ------------------------------ Model Fit Statistics
     ---------------------------------------------------------------------------------
     Log-Lik Intercept Only: -115.644 Log-Lik Full Model: -80.118
     Deviance(196): 160.236 LR(3): 71.052
     Prob > LR: 0.000
     MCFadden's R2 0.307 McFadden's Adj R2: 0.273
     ML (Cox-Snell) R2: 0.299 Cragg-Uhler(Nagelkerke) R2: 0.436
     McKelvey & Zavoina's R2: 0.518 Efron's R2: 0.330
     Count R2: 0.810 Adj Count R2: 0.283
     BIC: 181.430 AIC: 168.236
     --------------------------------------------------------------------------------- Measures Model 1 Model 2
     1 Log-Lik Intercept Only -115.644 -115.644
     2 Log-Lik Full Model: -80.118 -84.570
     3 Deviance 160.236 169.141
     4 LR 71.052 62.148
     5 Prob > LR: 0.000 0.000
     6 MCFadden's R2 0.307 0.269
     7 McFadden's Adj R2: 0.273 0.225
     8 ML (Cox-Snell) R2: 0.299 0.267
     9 Cragg-Uhler(Nagelkerke) R2: 0.436 0.390
     10 McKelvey & Zavoina's R2: 0.518 0.440
     11 Efron's R2: 0.330 0.281
     12 Count R2: 0.810 0.785
     13 Adj Count R2: 0.283 0.189
     14 AIC: 168.236 179.141
     15 BIC: 181.430 195.632 Likelihood Ratio Test
     ------------------------------
     Chi-Square DF Pr > ChiSq
     ------------------------------
     71.0525 3 0.0000
     ------------------------------Stepwise Selection Method
     -------------------------
    
     Candidate Terms:
    
     1 . x1
     2 . x2
     3 . x3
     4 . x4
     5 . x5
     6 . x6
    
    
     Variables Entered/Removed:
    
     - x6 added
     - x1 added
     - x3 added
     - x2 added
     - x6 removed
     - x5 added
    
     No more variables to be added or removed.Stepwise Selection Method
     ---------------------------
    
     Candidate Terms:
    
     1. x1
     2. x2
     3. x3
     4. x4
     5. x5
     6. x6
    
     We are selecting variables based on p value...
    
     Variables Entered/Removed:
    
     - x6 added
     - x5 added
     - x6 added
    
     No more variables to be added/removed.
    
    
     Final Model Output
     ------------------
    
     - Creating model overview.
     - Creating response profile.
     - Extracting maximum likelihood estimates.
     - Estimating concordant and discordant pairs.
     Model Overview
     -------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     -------------------------------------------------------------------------
     data y 20000 19999 19995 TRUE
     -------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 10041 1 9959
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     ------------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     ------------------------------------------------------------------
     (Intercept) 1 -1.5228 0.0287 -53.1302 0.0000
     x1 1 1.0276 0.0212 48.4927 0.0000
     x2 1 0.9807 0.0209 46.9690 0.0000
     x3 1 1.0260 0.0213 48.2799 0.0000
     x5 1 0.0357 0.0192 1.8531 0.0639
     ------------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8911 Somers' D 0.7821
     % Discordant 0.1089 Gamma 0.7821
     % Tied 0.0000 Tau-a 0.3911
     Pairs 99998319 c 0.8911
     ---------------------------------------------------------------
    
     Stepwise Selection Method
     -------------------------
    
     Candidate Terms:
    
     1 . x1
     2 . x2
     3 . x3
     4 . x4
     5 . x5
     6 . x6
    
    
     Variables Entered/Removed:
    
     <U+2714> x6
     <U+2714> x1
     <U+2714> x3
     <U+2714> x2
     <U+2716> x6
     <U+2714> x5
    
     No more variables to be added or removed.
    
     Stepwise Summary
     -----------------------------------------------------------
     Variable Method AIC BIC Deviance
     -----------------------------------------------------------
     x6 addition 18869.627 18885.434 18865.627
     x1 addition 18571.376 18595.087 18565.376
     x3 addition 18016.724 18048.338 18008.724
     x2 addition 16642.374 16681.891 16632.374
     x6 removal 16640.653 16672.267 16632.653
     x5 addition 16639.219 16678.736 16629.219
     -----------------------------------------------------------Stepwise Selection Method
     ---------------------------
    
     Candidate Terms:
    
     1. x1
     2. x2
     3. x3
     4. x4
     5. x5
     6. x6
    
     We are selecting variables based on p value...
    
     Variables Entered/Removed:
    
     <U+2714> x6
     <U+2714> x1
     <U+2714> x3
     <U+2714> x2
     <U+2714> x5
     <U+2716> x6
    
     No more variables to be added/removed.
    
    
     Final Model Output
     ------------------
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     -------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     -------------------------------------------------------------------------
     data y 20000 19999 19995 TRUE
     -------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 10041 1 9959
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     ------------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     ------------------------------------------------------------------
     (Intercept) 1 -1.5228 0.0287 -53.1302 0.0000
     x1 1 1.0276 0.0212 48.4927 0.0000
     x3 1 1.0260 0.0213 48.2799 0.0000
     x2 1 0.9807 0.0209 46.9690 0.0000
     x5 1 0.0357 0.0192 1.8531 0.0639
     ------------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8911 Somers' D 0.7821
     % Discordant 0.1089 Gamma 0.7821
     % Tied 0.0000 Tau-a 0.3911
     Pairs 99998319 c 0.8911
     ---------------------------------------------------------------
    
    
     Stepwise Selection Summary
     ----------------------------------------------------------------------
     Added/
     Step Variable Removed AIC BIC C(p)
     ----------------------------------------------------------------------
     1 x6 addition 18869.627 18885.434 18865.6270
     2 x1 addition 18571.376 18595.087 18565.3760
     3 x3 addition 18016.724 18048.338 18008.7240
     4 x2 addition 16642.374 16681.891 16632.3740
     5 x5 addition 16640.883 16688.304 16628.8830
     6 x6 removal 16639.219 16678.736 16629.2190
     ----------------------------------------------------------------------Stepwise Selection Method
     ---------------------------
    
     Candidate Terms:
    
     1. x1
     2. x2
     3. x3
     4. x4
     5. x5
     6. x6
    
     We are selecting variables based on p value...
    
    
     Stepwise Selection: Step 1
    
     <U+2714> x6
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     -------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     -------------------------------------------------------------------------
     data y 20000 19999 19998 TRUE
     -------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 10041 1 9959
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     ------------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     ------------------------------------------------------------------
     (Intercept) 1 -1.1331 0.0242 -46.8217 0.0000
     x6 1 0.7490 0.0107 69.8309 0.0000
     ------------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8558 Somers' D 0.7115
     % Discordant 0.1442 Gamma 0.7115
     % Tied 0.0000 Tau-a 0.3558
     Pairs 99998319 c 0.8558
     ---------------------------------------------------------------
    
    
    
    
     Stepwise Selection: Step 2
    
     <U+2714> x1
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     -------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     -------------------------------------------------------------------------
     data y 20000 19999 19997 TRUE
     -------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 10041 1 9959
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     ------------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     ------------------------------------------------------------------
     (Intercept) 1 -1.1836 0.0248 -47.8070 0.0000
     x6 1 0.6619 0.0116 56.9586 0.0000
     x1 1 0.3595 0.0210 17.0908 0.0000
     ------------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8610 Somers' D 0.7220
     % Discordant 0.1390 Gamma 0.7220
     % Tied 0.0000 Tau-a 0.3610
     Pairs 99998319 c 0.8610
     ---------------------------------------------------------------
    
    
    
    
     Stepwise Selection: Step 3
    
     <U+2714> x3
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     -------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     -------------------------------------------------------------------------
     data y 20000 19999 19996 TRUE
     -------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 10041 1 9959
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     ------------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     ------------------------------------------------------------------
     (Intercept) 1 -1.2730 0.0257 -49.4449 0.0000
     x6 1 0.4865 0.0135 35.9577 0.0000
     x1 1 0.5367 0.0229 23.4089 0.0000
     x3 1 0.5331 0.0232 22.9908 0.0000
     ------------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8704 Somers' D 0.7407
     % Discordant 0.1296 Gamma 0.7407
     % Tied 0.0000 Tau-a 0.3704
     Pairs 99998319 c 0.8704
     ---------------------------------------------------------------
    
    
    
    
     Stepwise Selection: Step 4
    
     <U+2714> x2
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     -------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     -------------------------------------------------------------------------
     data y 20000 19999 19995 TRUE
     -------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 10041 1 9959
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     ------------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     ------------------------------------------------------------------
     (Intercept) 1 -1.5229 0.0287 -53.1387 0.0000
     x6 1 -0.0102 0.0193 -0.5290 0.5968
     x1 1 1.0381 0.0287 36.1728 0.0000
     x3 1 1.0365 0.0290 35.7651 0.0000
     x2 1 0.9910 0.0285 34.7112 0.0000
     ------------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8910 Somers' D 0.7820
     % Discordant 0.1090 Gamma 0.7820
     % Tied 0.0000 Tau-a 0.3910
     Pairs 99998319 c 0.8910
     ---------------------------------------------------------------
    
    
    
    
     Stepwise Selection: Step 5
    
     <U+2714> x5
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     -------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     -------------------------------------------------------------------------
     data y 20000 19999 19994 TRUE
     -------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 10041 1 9959
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     ------------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     ------------------------------------------------------------------
     (Intercept) 1 -1.5228 0.0287 -53.1294 0.0000
     x6 1 -0.0112 0.0193 -0.5790 0.5626
     x1 1 1.0388 0.0287 36.1852 0.0000
     x3 1 1.0374 0.0290 35.7813 0.0000
     x2 1 0.9919 0.0286 34.7282 0.0000
     x5 1 0.0360 0.0193 1.8680 0.0618
     ------------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8911 Somers' D 0.7821
     % Discordant 0.1089 Gamma 0.7821
     % Tied 0.0000 Tau-a 0.3911
     Pairs 99998319 c 0.8911
     ---------------------------------------------------------------
    
    
    
    
     Stepwise Selection: Step 6
    
     <U+2716> x6
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     -------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     -------------------------------------------------------------------------
     data y 20000 19999 19995 TRUE
     -------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 10041 1 9959
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     ------------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     ------------------------------------------------------------------
     (Intercept) 1 -1.5228 0.0287 -53.1302 0.0000
     x1 1 1.0276 0.0212 48.4927 0.0000
     x3 1 1.0260 0.0213 48.2799 0.0000
     x2 1 0.9807 0.0209 46.9690 0.0000
     x5 1 0.0357 0.0192 1.8531 0.0639
     ------------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8911 Somers' D 0.7821
     % Discordant 0.1089 Gamma 0.7821
     % Tied 0.0000 Tau-a 0.3911
     Pairs 99998319 c 0.8911
     ---------------------------------------------------------------
    
    
    
    
     No more variables to be added/removed.
    
    
     Final Model Output
     ------------------
    
     <U+2714> Creating model overview.
     <U+2714> Creating response profile.
     <U+2714> Extracting maximum likelihood estimates.
     <U+2714> Estimating concordant and discordant pairs.
    
     Model Overview
     -------------------------------------------------------------------------
     Data Set Resp Var Obs. Df. Model Df. Residual Convergence
     -------------------------------------------------------------------------
     data y 20000 19999 19995 TRUE
     -------------------------------------------------------------------------
    
     Response Summary
     --------------------------------------------------------
     Outcome Frequency Outcome Frequency
     --------------------------------------------------------
     0 10041 1 9959
     --------------------------------------------------------
    
     Maximum Likelihood Estimates
     ------------------------------------------------------------------
     Parameter DF Estimate Std. Error z value Pr(>|z|)
     ------------------------------------------------------------------
     (Intercept) 1 -1.5228 0.0287 -53.1302 0.0000
     x1 1 1.0276 0.0212 48.4927 0.0000
     x3 1 1.0260 0.0213 48.2799 0.0000
     x2 1 0.9807 0.0209 46.9690 0.0000
     x5 1 0.0357 0.0192 1.8531 0.0639
     ------------------------------------------------------------------
    
     Association of Predicted Probabilities and Observed Responses
     ---------------------------------------------------------------
     % Concordant 0.8911 Somers' D 0.7821
     % Discordant 0.1089 Gamma 0.7821
     % Tied 0.0000 Tau-a 0.3911
     Pairs 99998319 c 0.8911
     ---------------------------------------------------------------
    
    
     Stepwise Selection Summary
     ----------------------------------------------------------------------
     Added/
     Step Variable Removed AIC BIC C(p)
     ----------------------------------------------------------------------
     1 x6 addition 18869.627 18885.434 18865.6270
     2 x1 addition 18571.376 18595.087 18565.3760
     3 x3 addition 18016.724 18048.338 18008.7240
     4 x2 addition 16642.374 16681.891 16632.3740
     5 x5 addition 16640.883 16688.304 16628.8830
     6 x6 removal 16639.219 16678.736 16629.2190
     ----------------------------------------------------------------------== testthat results ===========================================================
     [ OK: 74 | SKIPPED: 28 | WARNINGS: 1 | FAILED: 2 ]
     1. Failure: output from blr_segment is as expected (@test-bivariate-analysis.R#34)
     2. Failure: output from blr_segment_dist is as expected (@test-bivariate-analysis.R#92)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-windows-ix86+x86_64-gcc8