Call:  glm(formula = (hs > vs) ~ xmat - 1, family = binomial, data = nba)

Coefficients:
       xmat76ers       xmatBlazers         xmatBucks  
         0.01797          -0.20301          -0.63196  
     xmatBullets         xmatBulls     xmatCavaliers  
       -17.58916          -1.37873          -1.02582  
     xmatCeltics      xmatClippers     xmatGrizzlies  
         1.63135          -0.68321           0.26243  
       xmatHaifa         xmatHawks          xmatHeat  
       -16.81260          -1.65716          -0.26224  
     xmatHornets          xmatJazz         xmatKings  
        -0.30113          -0.07372          -1.53744  
      xmatKnicks        xmatLakers    xmatLong-Lions  
        -0.56544          -0.76124         -16.56607  
       xmatMagic     xmatMavericks          xmatNets  
        -0.05100          -1.24273          -0.58291  
     xmatNuggets        xmatPacers      xmatPelicans  
         0.18386          -0.45068          -0.63868  
     xmatPistons       xmatRaptors       xmatRockets  
         0.18303           0.19352           0.99978  
      xmatSharks         xmatSpurs          xmatSuns  
       -15.56629           0.23312          -1.02309  
     xmatThunder  xmatTimberwolves        xmatUnited  
        -0.33833           0.28085         -16.90439  
    xmatWarriors       xmatWizards  
         0.87814                NA  

Degrees of Freedom: 265 Total (i.e. Null);  231 Residual
Null Deviance:	    367.4 
Residual Deviance: 306.6 	AIC: 374.6

Call:  glm(formula = (hs > vs) ~ xmat - 1, family = binomial, data = nba, 
    subset = !nba$exhibition)

Coefficients:
       xmat76ers       xmatBlazers         xmatBucks  
         0.01797          -0.20301          -0.63196  
     xmatBullets         xmatBulls     xmatCavaliers  
              NA          -1.37873          -1.02582  
     xmatCeltics      xmatClippers     xmatGrizzlies  
         1.63135          -0.68321           0.26243  
       xmatHaifa         xmatHawks          xmatHeat  
              NA          -1.65716          -0.26224  
     xmatHornets          xmatJazz         xmatKings  
        -0.30113          -0.07372          -1.53744  
      xmatKnicks        xmatLakers    xmatLong-Lions  
        -0.56544          -0.76124                NA  
       xmatMagic     xmatMavericks          xmatNets  
        -0.05100          -1.24273          -0.58291  
     xmatNuggets        xmatPacers      xmatPelicans  
         0.18386          -0.45068          -0.63868  
     xmatPistons       xmatRaptors       xmatRockets  
         0.18303           0.19352           0.99978  
      xmatSharks         xmatSpurs          xmatSuns  
              NA           0.23312          -1.02309  
     xmatThunder  xmatTimberwolves        xmatUnited  
        -0.33833           0.28085                NA  
    xmatWarriors       xmatWizards  
         0.87814                NA  

Degrees of Freedom: 258 Total (i.e. Null);  229 Residual
Null Deviance:	    357.7 
Residual Deviance: 306.6 	AIC: 364.6

Call:  glm(formula = (hs > vs) ~ xmat, family = binomial, data = nba)

Coefficients:
     (Intercept)         xmat76ers       xmatBlazers  
         0.26834           0.12744          -0.24173  
       xmatBucks       xmatBullets         xmatBulls  
        -0.59481         -17.37303          -1.31110  
   xmatCavaliers       xmatCeltics      xmatClippers  
        -0.99803           1.74190          -0.75408  
   xmatGrizzlies         xmatHaifa         xmatHawks  
         0.29181         -16.52883          -1.50239  
        xmatHeat       xmatHornets          xmatJazz  
        -0.19920          -0.19968          -0.14395  
       xmatKings        xmatKnicks        xmatLakers  
        -1.46110          -0.60367          -0.83320  
  xmatLong-Lions         xmatMagic     xmatMavericks  
       -16.29773           0.01304          -1.22665  
        xmatNets       xmatNuggets        xmatPacers  
        -0.54986           0.20390          -0.30689  
    xmatPelicans       xmatPistons       xmatRaptors  
        -0.52005           0.21051           0.24606  
     xmatRockets        xmatSharks         xmatSpurs  
         1.08765         -15.21008           0.22395  
        xmatSuns       xmatThunder  xmatTimberwolves  
        -1.07530          -0.27363           0.37098  
      xmatUnited      xmatWarriors       xmatWizards  
       -16.57135           0.87818                NA  

Degrees of Freedom: 264 Total (i.e. Null);  230 Residual
Null Deviance:	    362.2 
Residual Deviance: 303.2 	AIC: 373.2

Call:  glm(formula = (hs > vs) ~ xmat, family = binomial, data = nba, 
    subset = !nba$exhibition)

Coefficients:
     (Intercept)         xmat76ers       xmatBlazers  
         0.26834           0.12744          -0.24173  
       xmatBucks       xmatBullets         xmatBulls  
        -0.59481                NA          -1.31110  
   xmatCavaliers       xmatCeltics      xmatClippers  
        -0.99803           1.74190          -0.75408  
   xmatGrizzlies         xmatHaifa         xmatHawks  
         0.29181         -15.52883          -1.50239  
        xmatHeat       xmatHornets          xmatJazz  
        -0.19920          -0.19968          -0.14395  
       xmatKings        xmatKnicks        xmatLakers  
        -1.46110          -0.60367          -0.83320  
  xmatLong-Lions         xmatMagic     xmatMavericks  
              NA           0.01304          -1.22665  
        xmatNets       xmatNuggets        xmatPacers  
        -0.54986           0.20390          -0.30689  
    xmatPelicans       xmatPistons       xmatRaptors  
        -0.52005           0.21051           0.24606  
     xmatRockets        xmatSharks         xmatSpurs  
         1.08765                NA           0.22395  
        xmatSuns       xmatThunder  xmatTimberwolves  
        -1.07530          -0.27363           0.37098  
      xmatUnited      xmatWarriors       xmatWizards  
              NA           0.87818                NA  

Degrees of Freedom: 260 Total (i.e. Null);  230 Residual
Null Deviance:	    357.6 
Residual Deviance: 303.2 	AIC: 365.2

Call:  glm(formula = (hs > vs) ~ xmat, family = binomial, data = nba)

Coefficients:
     (Intercept)         xmat76ers       xmatBlazers  
         0.26834           0.12744          -0.24173  
       xmatBucks       xmatBullets         xmatBulls  
        -0.59481         -17.37303          -1.31110  
   xmatCavaliers       xmatCeltics      xmatClippers  
        -0.99803           1.74190          -0.75408  
   xmatGrizzlies         xmatHaifa         xmatHawks  
         0.29181         -16.52883          -1.50239  
        xmatHeat       xmatHornets          xmatJazz  
        -0.19920          -0.19968          -0.14395  
       xmatKings        xmatKnicks        xmatLakers  
        -1.46110          -0.60367          -0.83320  
  xmatLong-Lions         xmatMagic     xmatMavericks  
       -16.29773           0.01304          -1.22665  
        xmatNets       xmatNuggets        xmatPacers  
        -0.54986           0.20390          -0.30689  
    xmatPelicans       xmatPistons       xmatRaptors  
        -0.52005           0.21051           0.24606  
     xmatRockets        xmatSharks         xmatSpurs  
         1.08765         -15.21008           0.22395  
        xmatSuns       xmatThunder  xmatTimberwolves  
        -1.07530          -0.27363           0.37098  
      xmatUnited      xmatWarriors       xmatWizards  
       -16.57135           0.87818                NA  

Degrees of Freedom: 264 Total (i.e. Null);  230 Residual
Null Deviance:	    362.2 
Residual Deviance: 303.2 	AIC: 373.2

 Exact Tests for Assoc. betw. treatment and infection  

Call:  glm(formula = c(1, 1, 0, 0) ~ c(-1, 1, -1, 1), family = binomial, 
    weights = c(7, 3, 3, 7))

Coefficients:
    (Intercept)  c(-1, 1, -1, 1)  
      1.249e-16       -8.473e-01  

Degrees of Freedom: 3 Total (i.e. Null);  2 Residual
Null Deviance:	    27.73 
Residual Deviance: 24.43 	AIC: 28.43

 asy  

Call:  glm(formula = c(1, 1, 0, 0) ~ c(-1, 1, -1, 1), family = binomial, 
    weights = c(7, 3, 3, 7))

Coefficients:
    (Intercept)  c(-1, 1, -1, 1)  
      1.249e-16       -8.473e-01  

Degrees of Freedom: 3 Total (i.e. Null);  2 Residual
Null Deviance:	    27.73 
Residual Deviance: 24.43 	AIC: 28.43