library(readr)
library(tidyverse)
library(Hmisc)
WNBA_per_game_team_stats <- read_csv("WNBA_Per_Game_Stats.csv")
WNBA_per_game_team_stats <- as_tibble(x=WNBA_per_game_team_stats)
summary(WNBA_per_game_team_stats)
##        Rk            Team                 G               MP       
##  Min.   : 1.00   Length:13          Min.   :35.00   Min.   :200.0  
##  1st Qu.: 3.75   Class :character   1st Qu.:35.00   1st Qu.:200.7  
##  Median : 6.50   Mode  :character   Median :35.00   Median :201.1  
##  Mean   : 6.50                      Mean   :35.15   Mean   :201.1  
##  3rd Qu.: 9.25                      3rd Qu.:35.00   3rd Qu.:201.4  
##  Max.   :12.00                      Max.   :36.00   Max.   :202.1  
##  NA's   :1                                                         
##        FG             FGA             FG%               3P        
##  Min.   :28.00   Min.   :65.70   Min.   :0.4110   Min.   : 4.600  
##  1st Qu.:29.10   1st Qu.:67.50   1st Qu.:0.4310   1st Qu.: 6.100  
##  Median :30.30   Median :68.30   Median :0.4380   Median : 7.700  
##  Mean   :29.89   Mean   :68.29   Mean   :0.4377   Mean   : 7.708  
##  3rd Qu.:30.70   3rd Qu.:68.70   3rd Qu.:0.4470   3rd Qu.: 9.200  
##  Max.   :31.50   Max.   :71.30   Max.   :0.4550   Max.   :10.100  
##                                                                   
##       3PA             3P%               2P             2PA       
##  Min.   :14.50   Min.   :0.2880   Min.   :19.50   Min.   :39.40  
##  1st Qu.:19.60   1st Qu.:0.3230   1st Qu.:20.60   1st Qu.:41.50  
##  Median :22.80   Median :0.3350   Median :21.90   Median :43.50  
##  Mean   :22.82   Mean   :0.3355   Mean   :22.18   Mean   :45.47  
##  3rd Qu.:26.00   3rd Qu.:0.3490   3rd Qu.:23.20   3rd Qu.:48.70  
##  Max.   :29.30   Max.   :0.3820   Max.   :25.70   Max.   :56.40  
##                                                                  
##       2P%               FT             FTA             FT%        
##  Min.   :0.4500   Min.   :11.10   Min.   :14.70   Min.   :0.7450  
##  1st Qu.:0.4770   1st Qu.:13.70   1st Qu.:17.00   1st Qu.:0.7610  
##  Median :0.4880   Median :14.60   Median :18.40   Median :0.7810  
##  Mean   :0.4891   Mean   :14.32   Mean   :18.26   Mean   :0.7851  
##  3rd Qu.:0.5050   3rd Qu.:15.40   3rd Qu.:18.90   3rd Qu.:0.8040  
##  Max.   :0.5230   Max.   :16.30   Max.   :21.80   Max.   :0.8330  
##                                                                   
##       ORB              DRB             TRB             AST       
##  Min.   : 5.700   Min.   :24.30   Min.   :32.00   Min.   :18.70  
##  1st Qu.: 7.200   1st Qu.:25.10   1st Qu.:33.30   1st Qu.:19.60  
##  Median : 8.300   Median :26.20   Median :34.50   Median :20.40  
##  Mean   : 8.292   Mean   :26.19   Mean   :34.48   Mean   :20.51  
##  3rd Qu.: 8.900   3rd Qu.:26.90   3rd Qu.:35.40   3rd Qu.:20.50  
##  Max.   :11.200   Max.   :28.50   Max.   :37.40   Max.   :23.20  
##                                                                  
##       STL             BLK             TOV              PF       
##  Min.   :5.900   Min.   :3.300   Min.   :11.10   Min.   :15.00  
##  1st Qu.:7.200   1st Qu.:3.600   1st Qu.:12.50   1st Qu.:16.60  
##  Median :7.300   Median :4.200   Median :13.40   Median :17.10  
##  Mean   :7.523   Mean   :4.154   Mean   :13.37   Mean   :17.41  
##  3rd Qu.:7.900   3rd Qu.:4.600   3rd Qu.:14.30   3rd Qu.:18.40  
##  Max.   :9.300   Max.   :5.300   Max.   :15.10   Max.   :19.10  
##                                                                 
##       PTS       
##  Min.   :77.30  
##  1st Qu.:79.30  
##  Median :81.80  
##  Mean   :81.82  
##  3rd Qu.:83.90  
##  Max.   :86.40  
## 
describe(WNBA_per_game_team_stats)
## WNBA_per_game_team_stats 
## 
##  25  Variables      13  Observations
## --------------------------------------------------------------------------------
## Rk 
##        n  missing distinct     Info     Mean      Gmd      .05      .10 
##       12        1       12        1      6.5    4.333     1.55     2.10 
##      .25      .50      .75      .90      .95 
##     3.75     6.50     9.25    10.90    11.45 
##                                                                             
## Value          1     2     3     4     5     6     7     8     9    10    11
## Frequency      1     1     1     1     1     1     1     1     1     1     1
## Proportion 0.083 0.083 0.083 0.083 0.083 0.083 0.083 0.083 0.083 0.083 0.083
##                 
## Value         12
## Frequency      1
## Proportion 0.083
## 
## For the frequency table, variable is rounded to the nearest 0
## --------------------------------------------------------------------------------
## Team 
##        n  missing distinct 
##       13        0       13 
## 
## lowest : Atlanta Dream      Chicago Sky        Connecticut Sun    Dallas Wings       Indiana Fever     
## highest: Minnesota Lynx     New York Liberty   Phoenix Mercury    Seattle Storm      Washington Mystics
## --------------------------------------------------------------------------------
## G 
##        n  missing distinct     Info     Mean      Gmd 
##       13        0        2    0.393    35.15   0.2821 
##                       
## Value         35    36
## Frequency     11     2
## Proportion 0.846 0.154
## --------------------------------------------------------------------------------
## MP 
##        n  missing distinct     Info     Mean      Gmd 
##       13        0        5     0.94    201.1   0.7718 
##                                         
## Value      200.0 200.7 201.1 201.4 202.1
## Frequency      2     4     1     4     2
## Proportion 0.154 0.308 0.077 0.308 0.154
## 
## For the frequency table, variable is rounded to the nearest 0
## --------------------------------------------------------------------------------
## FG 
##        n  missing distinct     Info     Mean      Gmd      .05      .10 
##       13        0       11    0.995    29.89    1.328    28.06    28.26 
##      .25      .50      .75      .90      .95 
##    29.10    30.30    30.70    31.04    31.26 
##                                                                             
## Value       28.0  28.1  28.9  29.1  29.2  29.9  30.3  30.7  30.8  31.1  31.5
## Frequency      1     1     1     1     1     1     2     2     1     1     1
## Proportion 0.077 0.077 0.077 0.077 0.077 0.077 0.154 0.154 0.077 0.077 0.077
## 
## For the frequency table, variable is rounded to the nearest 0
## --------------------------------------------------------------------------------
## FGA 
##        n  missing distinct     Info     Mean      Gmd      .05      .10 
##       13        0       12    0.997    68.29    2.095    65.82    65.98 
##      .25      .50      .75      .90      .95 
##    67.50    68.30    68.70    70.86    71.06 
##                                                                             
## Value       65.7  65.9  66.3  67.5  67.7  68.0  68.3  68.5  68.7  70.7  70.9
## Frequency      1     1     1     1     1     1     2     1     1     1     1
## Proportion 0.077 0.077 0.077 0.077 0.077 0.077 0.154 0.077 0.077 0.077 0.077
##                 
## Value       71.3
## Frequency      1
## Proportion 0.077
## 
## For the frequency table, variable is rounded to the nearest 0
## --------------------------------------------------------------------------------
## FG% 
##        n  missing distinct     Info     Mean      Gmd      .05      .10 
##       13        0       11    0.995   0.4377  0.01423   0.4194   0.4254 
##      .25      .50      .75      .90      .95 
##   0.4310   0.4380   0.4470   0.4510   0.4532 
##                                                                             
## Value      0.411 0.425 0.427 0.431 0.433 0.438 0.440 0.446 0.447 0.452 0.455
## Frequency      1     1     1     1     1     2     1     1     2     1     1
## Proportion 0.077 0.077 0.077 0.077 0.077 0.154 0.077 0.077 0.154 0.077 0.077
## 
## For the frequency table, variable is rounded to the nearest 0
## --------------------------------------------------------------------------------
## 3P 
##        n  missing distinct     Info     Mean      Gmd      .05      .10 
##       13        0       13        1    7.708    2.174     5.26     5.76 
##      .25      .50      .75      .90      .95 
##     6.10     7.70     9.20     9.78     9.92 
##                                                                             
## Value        4.6   5.7   6.0   6.1   6.2   7.3   7.7   8.7   9.1   9.2   9.7
## Frequency      1     1     1     1     1     1     1     1     1     1     1
## Proportion 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077
##                       
## Value        9.8  10.1
## Frequency      1     1
## Proportion 0.077 0.077
## 
## For the frequency table, variable is rounded to the nearest 0
## --------------------------------------------------------------------------------
## 3PA 
##        n  missing distinct     Info     Mean      Gmd      .05      .10 
##       13        0       13        1    22.82    5.005    16.42    17.94 
##      .25      .50      .75      .90      .95 
##    19.60    22.80    26.00    26.48    27.62 
##                                                                             
## Value       14.5  17.7  18.9  19.6  20.9  22.5  22.8  25.7  25.9  26.0  26.4
## Frequency      1     1     1     1     1     1     1     1     1     1     1
## Proportion 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077
##                       
## Value       26.5  29.3
## Frequency      1     1
## Proportion 0.077 0.077
## 
## For the frequency table, variable is rounded to the nearest 0
## --------------------------------------------------------------------------------
## 3P% 
##        n  missing distinct     Info     Mean      Gmd      .05      .10 
##       13        0       12    0.997   0.3355  0.02792   0.3036   0.3152 
##      .25      .50      .75      .90      .95 
##   0.3230   0.3350   0.3490   0.3640   0.3730 
##                                                                             
## Value      0.288 0.314 0.320 0.323 0.326 0.335 0.338 0.344 0.349 0.352 0.367
## Frequency      1     1     1     2     1     1     1     1     1     1     1
## Proportion 0.077 0.077 0.077 0.154 0.077 0.077 0.077 0.077 0.077 0.077 0.077
##                 
## Value      0.382
## Frequency      1
## Proportion 0.077
## 
## For the frequency table, variable is rounded to the nearest 0
## --------------------------------------------------------------------------------
## 2P 
##        n  missing distinct     Info     Mean      Gmd      .05      .10 
##       13        0       13        1    22.18    2.315    20.04    20.42 
##      .25      .50      .75      .90      .95 
##    20.60    21.90    23.20    25.26    25.52 
##                                                                             
## Value       19.5  20.4  20.5  20.6  20.7  21.5  21.9  22.0  22.2  23.2  24.7
## Frequency      1     1     1     1     1     1     1     1     1     1     1
## Proportion 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077
##                       
## Value       25.4  25.7
## Frequency      1     1
## Proportion 0.077 0.077
## 
## For the frequency table, variable is rounded to the nearest 0
## --------------------------------------------------------------------------------
## 2PA 
##        n  missing distinct     Info     Mean      Gmd      .05      .10 
##       13        0       13        1    45.47    5.987    40.00    40.50 
##      .25      .50      .75      .90      .95 
##    41.50    43.50    48.70    51.52    53.64 
##                                                                             
## Value       39.4  40.4  40.9  41.5  42.0  42.6  43.5  45.5  48.0  48.7  50.4
## Frequency      1     1     1     1     1     1     1     1     1     1     1
## Proportion 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077
##                       
## Value       51.8  56.4
## Frequency      1     1
## Proportion 0.077 0.077
## 
## For the frequency table, variable is rounded to the nearest 0
## --------------------------------------------------------------------------------
## 2P% 
##        n  missing distinct     Info     Mean      Gmd      .05      .10 
##       13        0       12    0.997   0.4891  0.02613   0.4530   0.4590 
##      .25      .50      .75      .90      .95 
##   0.4770   0.4880   0.5050   0.5170   0.5194 
##                                                                             
## Value      0.450 0.455 0.475 0.477 0.483 0.487 0.488 0.490 0.491 0.505 0.517
## Frequency      1     1     1     1     1     1     1     1     1     1     2
## Proportion 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.154
##                 
## Value      0.523
## Frequency      1
## Proportion 0.077
## 
## For the frequency table, variable is rounded to the nearest 0
## --------------------------------------------------------------------------------
## FT 
##        n  missing distinct     Info     Mean      Gmd      .05      .10 
##       13        0       12    0.997    14.32    1.613    12.00    12.74 
##      .25      .50      .75      .90      .95 
##    13.70    14.60    15.40    15.64    15.94 
##                                                                             
## Value       11.1  12.6  13.3  13.7  13.9  14.3  14.6  14.8  15.0  15.4  15.7
## Frequency      1     1     1     1     1     1     1     1     1     2     1
## Proportion 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.154 0.077
##                 
## Value       16.3
## Frequency      1
## Proportion 0.077
## 
## For the frequency table, variable is rounded to the nearest 0
## --------------------------------------------------------------------------------
## FTA 
##        n  missing distinct     Info     Mean      Gmd      .05      .10 
##       13        0       12    0.997    18.26    2.085    15.48    16.18 
##      .25      .50      .75      .90      .95 
##    17.00    18.40    18.90    20.08    20.84 
##                                                                             
## Value       14.7  16.0  16.9  17.0  18.3  18.4  18.5  18.8  18.9  19.6  20.2
## Frequency      1     1     1     1     2     1     1     1     1     1     1
## Proportion 0.077 0.077 0.077 0.077 0.154 0.077 0.077 0.077 0.077 0.077 0.077
##                 
## Value       21.8
## Frequency      1
## Proportion 0.077
## 
## For the frequency table, variable is rounded to the nearest 0
## --------------------------------------------------------------------------------
## FT% 
##        n  missing distinct     Info     Mean      Gmd      .05      .10 
##       13        0       13        1   0.7851  0.03497   0.7480   0.7518 
##      .25      .50      .75      .90      .95 
##   0.7610   0.7810   0.8040   0.8298   0.8324 
##                                                                             
## Value      0.745 0.750 0.759 0.761 0.768 0.778 0.781 0.785 0.789 0.804 0.821
## Frequency      1     1     1     1     1     1     1     1     1     1     1
## Proportion 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077
##                       
## Value      0.832 0.833
## Frequency      1     1
## Proportion 0.077 0.077
## 
## For the frequency table, variable is rounded to the nearest 0
## --------------------------------------------------------------------------------
## ORB 
##        n  missing distinct     Info     Mean      Gmd      .05      .10 
##       13        0       11    0.995    8.292    1.733     6.42     6.90 
##      .25      .50      .75      .90      .95 
##     7.20     8.30     8.90    10.30    10.84 
##                                                                             
## Value        5.7   6.9   7.2   7.6   8.3   8.5   8.6   8.9   9.1  10.6  11.2
## Frequency      1     2     1     1     2     1     1     1     1     1     1
## Proportion 0.077 0.154 0.077 0.077 0.154 0.077 0.077 0.077 0.077 0.077 0.077
## 
## For the frequency table, variable is rounded to the nearest 0
## --------------------------------------------------------------------------------
## DRB 
##        n  missing distinct     Info     Mean      Gmd      .05      .10 
##       13        0       11    0.995    26.19    1.528    24.54    24.72 
##      .25      .50      .75      .90      .95 
##    25.10    26.20    26.90    28.10    28.44 
##                                                                             
## Value       24.3  24.7  24.8  25.1  25.7  26.1  26.2  26.7  26.9  28.4  28.5
## Frequency      1     1     1     1     1     1     2     1     2     1     1
## Proportion 0.077 0.077 0.077 0.077 0.077 0.077 0.154 0.077 0.154 0.077 0.077
## 
## For the frequency table, variable is rounded to the nearest 0
## --------------------------------------------------------------------------------
## TRB 
##        n  missing distinct     Info     Mean      Gmd      .05      .10 
##       13        0       12    0.997    34.48        2    32.00    32.12 
##      .25      .50      .75      .90      .95 
##    33.30    34.50    35.40    36.56    36.98 
##                                                                             
## Value       32.0  32.6  33.3  34.2  34.3  34.5  34.9  35.0  35.4  36.0  36.7
## Frequency      2     1     1     1     1     1     1     1     1     1     1
## Proportion 0.154 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077
##                 
## Value       37.4
## Frequency      1
## Proportion 0.077
## 
## For the frequency table, variable is rounded to the nearest 0
## --------------------------------------------------------------------------------
## AST 
##        n  missing distinct     Info     Mean      Gmd      .05      .10 
##       13        0       11    0.989    20.51    1.497    18.94    19.18 
##      .25      .50      .75      .90      .95 
##    19.60    20.40    20.50    22.54    22.90 
##                                                                             
## Value       18.7  19.1  19.5  19.6  19.9  20.3  20.4  20.5  21.9  22.7  23.2
## Frequency      1     1     1     1     1     1     3     1     1     1     1
## Proportion 0.077 0.077 0.077 0.077 0.077 0.077 0.231 0.077 0.077 0.077 0.077
## 
## For the frequency table, variable is rounded to the nearest 0
## --------------------------------------------------------------------------------
## STL 
##        n  missing distinct     Info     Mean      Gmd      .05      .10 
##       13        0       11    0.989    7.523    1.046     6.32     6.64 
##      .25      .50      .75      .90      .95 
##     7.20     7.30     7.90     8.74     9.00 
##                                                                             
## Value        5.9   6.6   6.8   7.2   7.3   7.4   7.5   7.9   8.5   8.8   9.3
## Frequency      1     1     1     1     3     1     1     1     1     1     1
## Proportion 0.077 0.077 0.077 0.077 0.231 0.077 0.077 0.077 0.077 0.077 0.077
## 
## For the frequency table, variable is rounded to the nearest 0
## --------------------------------------------------------------------------------
## BLK 
##        n  missing distinct     Info     Mean      Gmd      .05      .10 
##       13        0       10    0.986    4.154   0.7795     3.30     3.30 
##      .25      .50      .75      .90      .95 
##     3.60     4.20     4.60     4.94     5.12 
##                                                                       
## Value        3.3   3.6   3.9   4.1   4.2   4.5   4.6   4.7   5.0   5.3
## Frequency      3     1     1     1     2     1     1     1     1     1
## Proportion 0.231 0.077 0.077 0.077 0.154 0.077 0.077 0.077 0.077 0.077
## 
## For the frequency table, variable is rounded to the nearest 0
## --------------------------------------------------------------------------------
## TOV 
##        n  missing distinct     Info     Mean      Gmd      .05      .10 
##       13        0       11    0.995    13.37    1.392    11.76    12.26 
##      .25      .50      .75      .90      .95 
##    12.50    13.40    14.30    14.88    14.98 
##                                                                             
## Value       11.1  12.2  12.5  12.7  13.2  13.4  13.7  14.3  14.8  14.9  15.1
## Frequency      1     1     2     1     1     2     1     1     1     1     1
## Proportion 0.077 0.077 0.154 0.077 0.077 0.154 0.077 0.077 0.077 0.077 0.077
## 
## For the frequency table, variable is rounded to the nearest 0
## --------------------------------------------------------------------------------
## PF 
##        n  missing distinct     Info     Mean      Gmd      .05      .10 
##       13        0       10    0.992    17.41    1.359    15.90    16.52 
##      .25      .50      .75      .90      .95 
##    16.60    17.10    18.40    18.70    18.86 
##                                                                       
## Value       15.0  16.5  16.6  16.8  17.0  17.1  17.4  18.4  18.7  19.1
## Frequency      1     1     2     1     1     1     1     2     2     1
## Proportion 0.077 0.077 0.154 0.077 0.077 0.077 0.077 0.154 0.154 0.077
## 
## For the frequency table, variable is rounded to the nearest 0
## --------------------------------------------------------------------------------
## PTS 
##        n  missing distinct     Info     Mean      Gmd      .05      .10 
##       13        0       13        1    81.82    3.397    78.08    78.66 
##      .25      .50      .75      .90      .95 
##    79.30    81.80    83.90    85.18    85.74 
##                                                                             
## Value       77.3  78.6  78.9  79.3  79.9  81.7  81.8  82.9  83.0  83.9  84.7
## Frequency      1     1     1     1     1     1     1     1     1     1     1
## Proportion 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077 0.077
##                       
## Value       85.3  86.4
## Frequency      1     1
## Proportion 0.077 0.077
## 
## For the frequency table, variable is rounded to the nearest 0
## --------------------------------------------------------------------------------