Loading Data Set from the world bank. The data is is the world development indicator

library(tidyverse)
## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
## ✔ dplyr     1.1.2     ✔ readr     2.1.4
## ✔ forcats   1.0.0     ✔ stringr   1.5.0
## ✔ ggplot2   3.4.2     ✔ tibble    3.2.1
## ✔ lubridate 1.9.2     ✔ tidyr     1.3.0
## ✔ purrr     1.0.1     
## ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
## ✖ dplyr::filter() masks stats::filter()
## ✖ dplyr::lag()    masks stats::lag()
## ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
setwd("C:/Users/StarKid/Desktop/Data_Science/Data_101/week_5/project3/WDI_CSV")
econ_freedom <- read.csv("efw_cc.csv")

Checking Data Set

str(econ_freedom)
## 'data.frame':    3726 obs. of  36 variables:
##  $ year                               : int  2016 2016 2016 2016 2016 2016 2016 2016 2016 2016 ...
##  $ ISO_code                           : chr  "ALB" "DZA" "AGO" "ARG" ...
##  $ countries                          : chr  "Albania" "Algeria" "Angola" "Argentina" ...
##  $ ECONOMIC.FREEDOM                   : num  7.54 4.99 5.17 4.84 7.57 7.98 7.58 6.49 7.34 7.56 ...
##  $ rank                               : int  34 159 155 160 29 10 27 106 49 30 ...
##  $ quartile                           : int  1 4 4 4 1 1 1 3 2 1 ...
##  $ X1a_government_consumption         : num  8.23 2.15 7.6 5.34 7.26 ...
##  $ X1b_transfers                      : num  7.51 7.82 8.89 6.05 7.75 ...
##  $ X1c_gov_enterprises                : int  8 0 0 6 8 10 10 0 7 10 ...
##  $ X1d_top_marg_tax_rate              : num  8 4.5 9.5 4 5 5 3.5 6.5 10 10 ...
##  $ X1_size_government                 : num  7.94 3.62 6.5 5.35 7 ...
##  $ X2a_judicial_independence          : num  2.67 4.19 1.84 3.69 3.87 ...
##  $ X2b_impartial_courts               : num  3.15 4.33 1.97 2.93 4.2 ...
##  $ X2c_protection_property_rights     : num  4.51 4.69 2.51 4.26 5.66 ...
##  $ X2d_military_interference          : num  8.33 4.17 3.33 7.5 5.83 ...
##  $ X2e_integrity_legal_system         : num  4.17 5 4.17 3.33 5 ...
##  $ X2f_legal_enforcement_contracts    : num  4.39 4.51 2.3 3.63 5.2 ...
##  $ X2g_restrictions_sale_real_property: num  6.49 6.63 5.46 6.86 9.8 ...
##  $ X2h_reliability_police             : num  6.93 6.14 3.02 3.39 5.71 ...
##  $ X2i_business_costs_crime           : num  6.22 6.74 4.29 4.13 7.01 ...
##  $ X2j_gender_adjustment              : num  0.949 0.821 0.846 0.769 1 ...
##  $ X2_property_rights                 : num  5.07 4.69 2.96 3.9 5.81 ...
##  $ X3a_money_growth                   : num  8.99 6.96 9.39 5.23 9.08 ...
##  $ X3b_std_inflation                  : num  9.48 8.34 4.99 5.22 9.26 ...
##  $ X3c_inflation                      : num  9.74 8.72 3.05 2 9.75 ...
##  $ X3d_freedom_own_foreign_currency   : int  10 5 5 10 10 10 10 5 0 10 ...
##  $ X3_sound_money                     : num  9.55 7.25 5.61 5.61 9.52 ...
##  $ X4a_tariffs                        : num  8.96 6.87 6.99 6.42 8.55 ...
##  $ X4b_regulatory_trade_barriers      : num  7.49 2.48 2.02 4.81 7.19 ...
##  $ X4c_black_market                   : num  10 5.56 10 0 10 ...
##  $ X4d_control_movement_capital_ppl   : num  6.41 1.59 2.04 4.7 6.83 ...
##  $ X4_trade                           : num  8.21 4.13 5.26 3.98 8.14 ...
##  $ X5a_credit_market_reg              : num  7.1 5.1 7.06 5.42 9.1 ...
##  $ X5b_labor_market_reg               : num  6.92 5.03 4.56 5.15 6.23 ...
##  $ X5c_business_reg                   : num  6.71 5.68 4.93 5.54 6.8 ...
##  $ X5_regulation                      : num  6.91 5.27 5.52 5.37 7.38 ...
#which(is.na(econ_freedom))
summary(econ_freedom)
##       year        ISO_code          countries         ECONOMIC.FREEDOM
##  Min.   :1970   Length:3726        Length:3726        Min.   :1.970   
##  1st Qu.:1995   Class :character   Class :character   1st Qu.:5.855   
##  Median :2005   Mode  :character   Mode  :character   Median :6.680   
##  Mean   :2001                                         Mean   :6.520   
##  3rd Qu.:2011                                         3rd Qu.:7.350   
##  Max.   :2016                                         Max.   :9.190   
##                                                       NA's   :723     
##       rank           quartile     X1a_government_consumption X1b_transfers   
##  Min.   :  1.00   Min.   :1.000   Min.   : 0.000             Min.   : 0.000  
##  1st Qu.: 33.00   1st Qu.:1.000   1st Qu.: 4.450             1st Qu.: 6.208  
##  Median : 66.00   Median :3.000   Median : 6.082             Median : 8.432  
##  Mean   : 68.31   Mean   :2.498   Mean   : 5.862             Mean   : 7.673  
##  3rd Qu.:102.00   3rd Qu.:3.000   3rd Qu.: 7.571             3rd Qu.: 9.482  
##  Max.   :162.00   Max.   :4.000   Max.   :10.000             Max.   :10.000  
##  NA's   :723      NA's   :723     NA's   :589                NA's   :960     
##  X1c_gov_enterprises X1d_top_marg_tax_rate X1_size_government
##  Min.   : 0.000      Min.   : 0.000        Min.   :0.6538    
##  1st Qu.: 4.000      1st Qu.: 4.000        1st Qu.:5.2294    
##  Median : 7.000      Median : 6.000        Median :6.3197    
##  Mean   : 5.738      Mean   : 5.813        Mean   :6.2321    
##  3rd Qu.: 8.000      3rd Qu.: 8.000        3rd Qu.:7.2677    
##  Max.   :10.000      Max.   :10.000        Max.   :9.9047    
##  NA's   :646         NA's   :1047          NA's   :647       
##  X2a_judicial_independence X2b_impartial_courts X2c_protection_property_rights
##  Min.   :0.000             Min.   :0.000        Min.   : 0.000                
##  1st Qu.:3.259             1st Qu.:3.352        1st Qu.: 4.093                
##  Median :4.698             Median :4.333        Median : 5.299                
##  Mean   :5.019             Mean   :4.675        Mean   : 5.487                
##  3rd Qu.:6.823             3rd Qu.:5.857        3rd Qu.: 7.058                
##  Max.   :9.817             Max.   :9.686        Max.   :10.000                
##  NA's   :1553              NA's   :1179         NA's   :1129                  
##  X2d_military_interference X2e_integrity_legal_system
##  Min.   : 0.000            Min.   : 0.000            
##  1st Qu.: 4.500            1st Qu.: 4.167            
##  Median : 6.667            Median : 6.667            
##  Mean   : 6.510            Mean   : 6.200            
##  3rd Qu.: 8.333            3rd Qu.: 8.333            
##  Max.   :10.000            Max.   :10.000            
##  NA's   :1186              NA's   :1153              
##  X2f_legal_enforcement_contracts X2g_restrictions_sale_real_property
##  Min.   :0.000                   Min.   :0.000                      
##  1st Qu.:3.376                   1st Qu.:6.001                      
##  Median :4.492                   Median :7.528                      
##  Mean   :4.449                   Mean   :7.045                      
##  3rd Qu.:5.583                   3rd Qu.:8.523                      
##  Max.   :8.479                   Max.   :9.981                      
##  NA's   :1361                    NA's   :1384                       
##  X2h_reliability_police X2i_business_costs_crime X2j_gender_adjustment
##  Min.   :0.000          Min.   :0.000            Min.   :0.0000       
##  1st Qu.:4.064          1st Qu.:4.641            1st Qu.:0.7931       
##  Median :5.321          Median :6.055            Median :0.9564       
##  Mean   :5.505          Mean   :5.904            Mean   :0.8732       
##  3rd Qu.:7.111          3rd Qu.:7.315            3rd Qu.:1.0000       
##  Max.   :9.688          Max.   :9.673            Max.   :1.0000       
##  NA's   :2071           NA's   :2071             NA's   :66           
##  X2_property_rights X3a_money_growth X3b_std_inflation X3c_inflation   
##  Min.   :0.9556     Min.   :0.000    Min.   :0.000     Min.   : 0.000  
##  1st Qu.:3.9439     1st Qu.:7.867    1st Qu.:7.555     1st Qu.: 8.192  
##  Median :5.2306     Median :8.697    Median :8.881     Median : 9.106  
##  Mean   :5.2529     Mean   :8.235    Mean   :8.008     Mean   : 8.464  
##  3rd Qu.:6.3925     3rd Qu.:9.256    3rd Qu.:9.404     3rd Qu.: 9.574  
##  Max.   :9.2783     Max.   :9.999    Max.   :9.952     Max.   :10.000  
##  NA's   :755        NA's   :644      NA's   :607       NA's   :607     
##  X3d_freedom_own_foreign_currency X3_sound_money   X4a_tariffs    
##  Min.   : 0.00                    Min.   :0.000   Min.   : 0.000  
##  1st Qu.: 0.00                    1st Qu.:6.604   1st Qu.: 6.209  
##  Median : 5.00                    Median :7.969   Median : 7.480  
##  Mean   : 5.92                    Mean   :7.661   Mean   : 7.079  
##  3rd Qu.:10.00                    3rd Qu.:9.257   3rd Qu.: 8.334  
##  Max.   :10.00                    Max.   :9.922   Max.   :10.000  
##  NA's   :621                      NA's   :611     NA's   :681     
##  X4b_regulatory_trade_barriers X4c_black_market
##  Min.   :0.000                 Min.   : 0.000  
##  1st Qu.:5.463                 1st Qu.:10.000  
##  Median :6.592                 Median :10.000  
##  Mean   :6.333                 Mean   : 9.115  
##  3rd Qu.:7.516                 3rd Qu.:10.000  
##  Max.   :9.833                 Max.   :10.000  
##  NA's   :1348                  NA's   :617     
##  X4d_control_movement_capital_ppl    X4_trade      X5a_credit_market_reg
##  Min.   : 0.000                   Min.   : 0.000   Min.   : 0.000       
##  1st Qu.: 2.000                   1st Qu.: 5.947   1st Qu.: 6.800       
##  Median : 4.769                   Median : 7.011   Median : 8.306       
##  Mean   : 4.376                   Mean   : 6.720   Mean   : 7.732       
##  3rd Qu.: 6.493                   3rd Qu.: 7.916   3rd Qu.: 9.333       
##  Max.   :10.000                   Max.   :10.000   Max.   :10.000       
##  NA's   :592                      NA's   :691      NA's   :619          
##  X5b_labor_market_reg X5c_business_reg X5_regulation  
##  Min.   :1.837        Min.   :2.010    Min.   :1.002  
##  1st Qu.:5.073        1st Qu.:5.387    1st Qu.:5.878  
##  Median :6.197        Median :6.170    Median :6.759  
##  Mean   :6.168        Mean   :6.189    Mean   :6.638  
##  3rd Qu.:7.344        3rd Qu.:7.007    3rd Qu.:7.486  
##  Max.   :9.725        Max.   :9.504    Max.   :9.440  
##  NA's   :1158         NA's   :1402     NA's   :728
head(econ_freedom,10)
##    year ISO_code  countries ECONOMIC.FREEDOM rank quartile
## 1  2016      ALB    Albania             7.54   34        1
## 2  2016      DZA    Algeria             4.99  159        4
## 3  2016      AGO     Angola             5.17  155        4
## 4  2016      ARG  Argentina             4.84  160        4
## 5  2016      ARM    Armenia             7.57   29        1
## 6  2016      AUS  Australia             7.98   10        1
## 7  2016      AUT    Austria             7.58   27        1
## 8  2016      AZE Azerbaijan             6.49  106        3
## 9  2016      BHS    Bahamas             7.34   49        2
## 10 2016      BHR    Bahrain             7.56   30        1
##    X1a_government_consumption X1b_transfers X1c_gov_enterprises
## 1                    8.232353      7.509902                   8
## 2                    2.150000      7.817129                   0
## 3                    7.600000      8.886739                   0
## 4                    5.335294      6.048930                   6
## 5                    7.264706      7.748532                   8
## 6                    4.511765      6.664948                  10
## 7                    3.744118      3.101062                  10
## 8                    6.320588      7.881208                   0
## 9                    7.085294      9.040503                   7
## 10                   3.688235      9.581704                  10
##    X1d_top_marg_tax_rate X1_size_government X2a_judicial_independence
## 1                    8.0           7.935564                  2.668222
## 2                    4.5           3.616782                  4.186704
## 3                    9.5           6.496685                  1.843129
## 4                    4.0           5.346056                  3.689690
## 5                    5.0           7.003310                  3.867379
## 6                    5.0           6.544178                  8.766929
## 7                    3.5           5.086295                  7.650855
## 8                    6.5           5.175449                  5.676886
## 9                   10.0           8.281449                        NA
## 10                  10.0           8.317485                  6.822563
##    X2b_impartial_courts X2c_protection_property_rights
## 1              3.145462                       4.512228
## 2              4.327113                       4.689952
## 3              1.974566                       2.512364
## 4              2.930563                       4.255995
## 5              4.197569                       5.664317
## 6              5.610653                       7.998304
## 7              5.482200                       8.092565
## 8              5.861119                       6.321836
## 9              6.700000                             NA
## 10             6.231401                       7.435713
##    X2d_military_interference X2e_integrity_legal_system
## 1                   8.333333                   4.166667
## 2                   4.166667                   5.000000
## 3                   3.333333                   4.166667
## 4                   7.500000                   3.333333
## 5                   5.833333                   5.000000
## 6                  10.000000                   9.166667
## 7                  10.000000                  10.000000
## 8                   5.000000                   5.833333
## 9                  10.000000                   6.666667
## 10                  5.000000                   7.500000
##    X2f_legal_enforcement_contracts X2g_restrictions_sale_real_property
## 1                         4.387444                            6.485287
## 2                         4.507538                            6.626692
## 3                         2.302200                            5.455882
## 4                         3.632872                            6.857195
## 5                         5.196693                            9.801963
## 6                         6.025331                            8.205655
## 7                         6.220993                            8.100494
## 8                         7.252962                            9.830312
## 9                         4.699257                            6.149350
## 10                        4.785814                            8.855315
##    X2h_reliability_police X2i_business_costs_crime X2j_gender_adjustment
## 1                6.933500                 6.215401             0.9487179
## 2                6.136845                 6.737383             0.8205128
## 3                3.016104                 4.291197             0.8461538
## 4                3.385786                 4.133832             0.7692308
## 5                5.714028                 7.007654             1.0000000
## 6                8.707445                 6.790183             1.0000000
## 7                8.501867                 7.194909             1.0000000
## 8                6.170495                 7.280192             0.7179487
## 9                      NA                       NA             0.9459459
## 10               7.764706                 7.287250             0.5365854
##    X2_property_rights X3a_money_growth X3b_std_inflation X3c_inflation
## 1            5.071814         8.986454          9.484575       9.74360
## 2            4.690743         6.955962          8.339152       8.72046
## 3            2.963635         9.385679          4.986742       3.05400
## 4            3.904030         5.233264          5.224079       2.00000
## 5            5.809215         9.078264          9.263496       9.74600
## 6            7.919019         8.564838          9.500704       9.74462
## 7            7.915987         8.033869          9.875451       9.82200
## 8            5.652732         9.240398          6.649350       9.16420
## 9            6.658107         8.654101          8.975514       9.93080
## 10           5.265602         9.961596          8.215418       9.44040
##    X3d_freedom_own_foreign_currency X3_sound_money X4a_tariffs
## 1                                10       9.553657    8.963556
## 2                                 5       7.253894    6.872533
## 3                                 5       5.606605    6.989244
## 4                                10       5.614336    6.421600
## 5                                10       9.521940    8.547556
## 6                                10       9.452540    8.820000
## 7                                10       9.432830    8.266133
## 8                                 5       7.513487    7.973778
## 9                                 0       6.890104    3.253067
## 10                               10       9.404353    8.523200
##    X4b_regulatory_trade_barriers X4c_black_market
## 1                       7.489905         10.00000
## 2                       2.481294          5.56391
## 3                       2.024949         10.00000
## 4                       4.811105          0.00000
## 5                       7.194410         10.00000
## 6                       7.427103         10.00000
## 7                       8.254011         10.00000
## 8                       6.799052         10.00000
## 9                       8.105925         10.00000
## 10                      6.295595         10.00000
##    X4d_control_movement_capital_ppl X4_trade X5a_credit_market_reg
## 1                          6.406138 8.214900              7.098562
## 2                          1.590362 4.127025              5.100509
## 3                          2.044823 5.264754              7.064905
## 4                          4.697482 3.982547              5.419820
## 5                          6.830998 8.143241              9.102046
## 6                          3.859781 7.526721              9.576358
## 7                          5.906786 8.106733              9.129015
## 8                          4.093268 7.216525              7.467778
## 9                          5.384615 6.685902              8.622733
## 10                         4.794819 7.403403              7.609167
##    X5b_labor_market_reg X5c_business_reg X5_regulation
## 1              6.916278         6.705863      6.906901
## 2              5.029513         5.676956      5.268992
## 3              4.560325         4.930271      5.518500
## 4              5.151405         5.535831      5.369019
## 5              6.234630         6.797530      7.378069
## 6              7.698589         8.121631      8.465526
## 7              5.565118         7.419870      7.371334
## 8              6.076782         7.080078      6.874880
## 9              8.361606         7.523034      8.169125
## 10             6.619418         8.018774      7.415786
glimpse(econ_freedom)
## Rows: 3,726
## Columns: 36
## $ year                                <int> 2016, 2016, 2016, 2016, 2016, 2016…
## $ ISO_code                            <chr> "ALB", "DZA", "AGO", "ARG", "ARM",…
## $ countries                           <chr> "Albania", "Algeria", "Angola", "A…
## $ ECONOMIC.FREEDOM                    <dbl> 7.54, 4.99, 5.17, 4.84, 7.57, 7.98…
## $ rank                                <int> 34, 159, 155, 160, 29, 10, 27, 106…
## $ quartile                            <int> 1, 4, 4, 4, 1, 1, 1, 3, 2, 1, 3, 3…
## $ X1a_government_consumption          <dbl> 8.232353, 2.150000, 7.600000, 5.33…
## $ X1b_transfers                       <dbl> 7.509902, 7.817129, 8.886739, 6.04…
## $ X1c_gov_enterprises                 <int> 8, 0, 0, 6, 8, 10, 10, 0, 7, 10, 7…
## $ X1d_top_marg_tax_rate               <dbl> 8.0, 4.5, 9.5, 4.0, 5.0, 5.0, 3.5,…
## $ X1_size_government                  <dbl> 7.935564, 3.616782, 6.496685, 5.34…
## $ X2a_judicial_independence           <dbl> 2.6682218, 4.1867042, 1.8431292, 3…
## $ X2b_impartial_courts                <dbl> 3.145462, 4.327113, 1.974566, 2.93…
## $ X2c_protection_property_rights      <dbl> 4.512228, 4.689952, 2.512364, 4.25…
## $ X2d_military_interference           <dbl> 8.333333, 4.166667, 3.333333, 7.50…
## $ X2e_integrity_legal_system          <dbl> 4.166667, 5.000000, 4.166667, 3.33…
## $ X2f_legal_enforcement_contracts     <dbl> 4.3874441, 4.5075380, 2.3022004, 3…
## $ X2g_restrictions_sale_real_property <dbl> 6.485287, 6.626692, 5.455882, 6.85…
## $ X2h_reliability_police              <dbl> 6.933500, 6.136845, 3.016104, 3.38…
## $ X2i_business_costs_crime            <dbl> 6.215401, 6.737383, 4.291197, 4.13…
## $ X2j_gender_adjustment               <dbl> 0.9487179, 0.8205128, 0.8461538, 0…
## $ X2_property_rights                  <dbl> 5.071814, 4.690743, 2.963635, 3.90…
## $ X3a_money_growth                    <dbl> 8.986454, 6.955962, 9.385679, 5.23…
## $ X3b_std_inflation                   <dbl> 9.484575, 8.339152, 4.986742, 5.22…
## $ X3c_inflation                       <dbl> 9.743600, 8.720460, 3.054000, 2.00…
## $ X3d_freedom_own_foreign_currency    <int> 10, 5, 5, 10, 10, 10, 10, 5, 0, 10…
## $ X3_sound_money                      <dbl> 9.553657, 7.253894, 5.606605, 5.61…
## $ X4a_tariffs                         <dbl> 8.963556, 6.872533, 6.989244, 6.42…
## $ X4b_regulatory_trade_barriers       <dbl> 7.489905, 2.481294, 2.024949, 4.81…
## $ X4c_black_market                    <dbl> 10.00000, 5.56391, 10.00000, 0.000…
## $ X4d_control_movement_capital_ppl    <dbl> 6.406138, 1.590362, 2.044823, 4.69…
## $ X4_trade                            <dbl> 8.214900, 4.127025, 5.264754, 3.98…
## $ X5a_credit_market_reg               <dbl> 7.098562, 5.100509, 7.064905, 5.41…
## $ X5b_labor_market_reg                <dbl> 6.916278, 5.029513, 4.560325, 5.15…
## $ X5c_business_reg                    <dbl> 6.705863, 5.676956, 4.930271, 5.53…
## $ X5_regulation                       <dbl> 6.906901, 5.268992, 5.518500, 5.36…

Question 1

1. A metadata listing for each variable. In other words, list the names of the variables, types, and brief descriptions of values if needed. This answer is just text – no code needed.

#### This dataset is from the faiser insitute which studies economic freedoms around the globe. They are divided in 5 Area's and each Area is indicated by its number and letter. For example 1a, 1b, 1c, 2a, 2b, and etc. The data is a collection of 3 years from 2016-2018. There are 36 variables and 3724 rows. These variables and there respected observations are listed below


## Area 1: Size of Goverment

#### 1a Goverment Consumpiton 1b Transfer, 1c Goverment Enterprises 1d Top Margin Tax Rate 1_ Size of Goverment

## Area 2: Legal System and Property Rights

#### 2a Judicial Independence, 2b Impartial Courts, 2c Proptection Propertiy Rights, 2d Military Interference, 2e Integreity Legal System, 2f Legal Enforcement Contracts, 2g Restrictions Sales Real Property, 2h Reliability Police, 2i Business Cost Crime, 2j Gender Adjustments, 2_ Property Rights

## Area 3: Sound Money

#### 3a Money Growth, 3b Standard Inflations, 3c Inflation, 3d Freddom Own Foreign Currency 3_ Sound Money

## Area 4: Freedom To Trade Internationally

#### 4a Tariffs, 4b Regulatory Trade Barriers, 4c Black Markets, 4d Control Movement Captial 4_ Trade

## Area 5: Regulation

#### 5a Credit Market Regulation 5b Labor Market Regulation 5c Business Regulation 5_ Regulation

Question 2

2. Summary statistics: mean, median, mode, min, max, count and standard deviation for 2-3 key quantitative variables.

ECONOMIC FREEDOM- Mean, Median, Mode, Min, Max, Count, and Standard Deviation

# Economic Freedom
summary(econ_freedom$ECONOMIC.FREEDOM)
##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max.    NA's 
##   1.970   5.855   6.680   6.520   7.350   9.190     723
# Mean
mean(econ_freedom$ECONOMIC.FREEDOM, na.rm = TRUE)
## [1] 6.51964
# Median
median(econ_freedom$ECONOMIC.FREEDOM, na.rm = TRUE)
## [1] 6.68
# Mode
df <- econ_freedom$ECONOMIC.FREEDOM

getmode <- function(df) {
   uniqv <- na.omit(unique(df))
   uniqv[which.max(tabulate(match(df, uniqv)))]
}
result <-getmode(df)
print(result)
## [1] 7.32
# Minimum
min(econ_freedom$ECONOMIC.FREEDOM, na.rm = TRUE)
## [1] 1.97
# Maximum
max(econ_freedom$ECONOMIC.FREEDOM, na.rm = TRUE)
## [1] 9.19
# Count
econ_freedom %>% 
  count(ECONOMIC.FREEDOM)
##     ECONOMIC.FREEDOM   n
## 1               1.97   1
## 2               2.47   1
## 3               2.66   1
## 4               2.71   1
## 5               2.74   1
## 6               2.75   1
## 7               2.83   1
## 8               2.84   1
## 9               2.87   1
## 10              2.88   1
## 11              2.90   1
## 12              2.93   1
## 13              2.96   3
## 14              3.01   1
## 15              3.03   1
## 16              3.10   1
## 17              3.12   2
## 18              3.13   1
## 19              3.16   1
## 20              3.20   1
## 21              3.21   2
## 22              3.25   1
## 23              3.27   1
## 24              3.28   2
## 25              3.29   1
## 26              3.32   2
## 27              3.33   1
## 28              3.34   2
## 29              3.41   1
## 30              3.44   1
## 31              3.45   1
## 32              3.46   1
## 33              3.49   1
## 34              3.50   3
## 35              3.51   2
## 36              3.52   3
## 37              3.53   3
## 38              3.55   1
## 39              3.58   1
## 40              3.59   3
## 41              3.60   2
## 42              3.64   1
## 43              3.65   1
## 44              3.68   1
## 45              3.69   2
## 46              3.71   2
## 47              3.72   1
## 48              3.73   2
## 49              3.74   2
## 50              3.75   1
## 51              3.79   3
## 52              3.81   5
## 53              3.82   2
## 54              3.83   1
## 55              3.85   1
## 56              3.86   1
## 57              3.87   3
## 58              3.89   1
## 59              3.91   1
## 60              3.92   3
## 61              3.93   1
## 62              3.94   1
## 63              3.96   1
## 64              3.97   1
## 65              3.98   1
## 66              3.99   1
## 67              4.01   1
## 68              4.03   1
## 69              4.04   3
## 70              4.06   1
## 71              4.07   2
## 72              4.08   2
## 73              4.09   1
## 74              4.11   1
## 75              4.12   1
## 76              4.15   1
## 77              4.17   1
## 78              4.18   1
## 79              4.19   1
## 80              4.20   1
## 81              4.21   1
## 82              4.22   3
## 83              4.23   1
## 84              4.25   2
## 85              4.26   3
## 86              4.27   2
## 87              4.28   1
## 88              4.29   3
## 89              4.30   3
## 90              4.31   2
## 91              4.32   2
## 92              4.33   4
## 93              4.34   1
## 94              4.35   2
## 95              4.36   2
## 96              4.37   1
## 97              4.38   2
## 98              4.39   3
## 99              4.41   2
## 100             4.42   1
## 101             4.44   6
## 102             4.45   3
## 103             4.46   1
## 104             4.47   1
## 105             4.48   4
## 106             4.49   2
## 107             4.50   3
## 108             4.51   2
## 109             4.53   2
## 110             4.54   3
## 111             4.55   4
## 112             4.56   1
## 113             4.57   1
## 114             4.58   1
## 115             4.59   1
## 116             4.60   2
## 117             4.61   2
## 118             4.62   3
## 119             4.63   3
## 120             4.64   1
## 121             4.65   1
## 122             4.66   4
## 123             4.67   2
## 124             4.68   1
## 125             4.69   3
## 126             4.71   2
## 127             4.72   6
## 128             4.73   3
## 129             4.74   4
## 130             4.76   3
## 131             4.77   1
## 132             4.78   4
## 133             4.79   4
## 134             4.80   3
## 135             4.81   7
## 136             4.82   3
## 137             4.83   3
## 138             4.84   6
## 139             4.85   2
## 140             4.86   2
## 141             4.87   2
## 142             4.88   5
## 143             4.89   5
## 144             4.90   3
## 145             4.91   4
## 146             4.92   2
## 147             4.93   5
## 148             4.94   4
## 149             4.95   5
## 150             4.96   4
## 151             4.97   5
## 152             4.98   3
## 153             4.99   3
## 154             5.00   5
## 155             5.01   5
## 156             5.02   8
## 157             5.03   1
## 158             5.04   5
## 159             5.05   4
## 160             5.06   6
## 161             5.07   4
## 162             5.08   3
## 163             5.09   4
## 164             5.10   1
## 165             5.11   2
## 166             5.12   1
## 167             5.13   4
## 168             5.14   2
## 169             5.15   2
## 170             5.16   6
## 171             5.17   5
## 172             5.18   5
## 173             5.19   3
## 174             5.20   6
## 175             5.21   1
## 176             5.22   1
## 177             5.23   5
## 178             5.24   1
## 179             5.25   4
## 180             5.26   3
## 181             5.27   4
## 182             5.28   7
## 183             5.29   1
## 184             5.30   7
## 185             5.31   4
## 186             5.32   3
## 187             5.33   5
## 188             5.34   4
## 189             5.35   4
## 190             5.36   6
## 191             5.37   5
## 192             5.38   2
## 193             5.39   2
## 194             5.40   6
## 195             5.42   5
## 196             5.43   9
## 197             5.44   6
## 198             5.45   2
## 199             5.46   4
## 200             5.47   4
## 201             5.48   1
## 202             5.49   2
## 203             5.50   8
## 204             5.51   3
## 205             5.52   4
## 206             5.53   4
## 207             5.54   4
## 208             5.55  10
## 209             5.56   6
## 210             5.57  10
## 211             5.58   7
## 212             5.59   4
## 213             5.60   6
## 214             5.61   6
## 215             5.62   6
## 216             5.63   7
## 217             5.64   4
## 218             5.65   7
## 219             5.66   4
## 220             5.67   8
## 221             5.68  11
## 222             5.69   7
## 223             5.70   6
## 224             5.71   5
## 225             5.72   6
## 226             5.73   5
## 227             5.74   8
## 228             5.75   8
## 229             5.76   7
## 230             5.77   7
## 231             5.78  14
## 232             5.79   9
## 233             5.80   6
## 234             5.81  11
## 235             5.82   8
## 236             5.83   3
## 237             5.84   7
## 238             5.85   8
## 239             5.86   6
## 240             5.87  10
## 241             5.88   7
## 242             5.89   9
## 243             5.90  14
## 244             5.91   9
## 245             5.92   8
## 246             5.93   7
## 247             5.94   6
## 248             5.95  10
## 249             5.96   9
## 250             5.97   4
## 251             5.98  10
## 252             5.99   8
## 253             6.00  14
## 254             6.01   7
## 255             6.02   6
## 256             6.03  12
## 257             6.04  12
## 258             6.05  12
## 259             6.06  11
## 260             6.07   8
## 261             6.08   5
## 262             6.09   9
## 263             6.10   6
## 264             6.11   4
## 265             6.12  12
## 266             6.13   3
## 267             6.14   7
## 268             6.15   9
## 269             6.16   8
## 270             6.17   7
## 271             6.18   9
## 272             6.19  11
## 273             6.20   8
## 274             6.21   9
## 275             6.22   9
## 276             6.23   9
## 277             6.24  10
## 278             6.25   6
## 279             6.26   5
## 280             6.27   8
## 281             6.28  12
## 282             6.29   7
## 283             6.30  13
## 284             6.31  13
## 285             6.32   8
## 286             6.33   7
## 287             6.34  12
## 288             6.35   9
## 289             6.36   5
## 290             6.37  11
## 291             6.38   9
## 292             6.39  13
## 293             6.40  14
## 294             6.41   8
## 295             6.42   7
## 296             6.43   7
## 297             6.44  10
## 298             6.45  10
## 299             6.46   9
## 300             6.47  10
## 301             6.48   7
## 302             6.49   7
## 303             6.50   7
## 304             6.51   6
## 305             6.52  12
## 306             6.53   9
## 307             6.54   7
## 308             6.55  13
## 309             6.56  12
## 310             6.57   4
## 311             6.58  11
## 312             6.59   8
## 313             6.60  14
## 314             6.61  15
## 315             6.62  10
## 316             6.63  16
## 317             6.64  12
## 318             6.65  11
## 319             6.66   6
## 320             6.67   9
## 321             6.68  10
## 322             6.69   5
## 323             6.70   7
## 324             6.71   7
## 325             6.72  15
## 326             6.73   8
## 327             6.74  10
## 328             6.75  14
## 329             6.76  12
## 330             6.77  11
## 331             6.78   5
## 332             6.79   8
## 333             6.80   7
## 334             6.81  10
## 335             6.82  10
## 336             6.83  10
## 337             6.84  13
## 338             6.85  15
## 339             6.86   9
## 340             6.87  15
## 341             6.88  10
## 342             6.89  12
## 343             6.90   8
## 344             6.91  11
## 345             6.92  15
## 346             6.93  12
## 347             6.94   6
## 348             6.95  13
## 349             6.96  10
## 350             6.97  14
## 351             6.98  12
## 352             6.99  10
## 353             7.00  10
## 354             7.01  12
## 355             7.02  10
## 356             7.03   9
## 357             7.04  11
## 358             7.05  11
## 359             7.06   6
## 360             7.07  10
## 361             7.08  11
## 362             7.09   7
## 363             7.10  11
## 364             7.11   6
## 365             7.12  11
## 366             7.13  13
## 367             7.14  10
## 368             7.15  15
## 369             7.16  11
## 370             7.17  10
## 371             7.18  14
## 372             7.19   9
## 373             7.20  14
## 374             7.21  11
## 375             7.22  20
## 376             7.23  15
## 377             7.24  13
## 378             7.25  12
## 379             7.26  11
## 380             7.27  16
## 381             7.28   6
## 382             7.29   8
## 383             7.30   9
## 384             7.31   9
## 385             7.32  21
## 386             7.33  17
## 387             7.34  17
## 388             7.35  19
## 389             7.36  15
## 390             7.37  18
## 391             7.38  14
## 392             7.39  12
## 393             7.40  16
## 394             7.41  11
## 395             7.42  11
## 396             7.43  10
## 397             7.44  10
## 398             7.45  11
## 399             7.46  14
## 400             7.47  17
## 401             7.48  12
## 402             7.49  10
## 403             7.50  14
## 404             7.51  10
## 405             7.52  12
## 406             7.53  13
## 407             7.54  11
## 408             7.55  16
## 409             7.56  16
## 410             7.57  12
## 411             7.58  11
## 412             7.59  15
## 413             7.60  11
## 414             7.61   4
## 415             7.62  13
## 416             7.63   6
## 417             7.64  12
## 418             7.65  11
## 419             7.66   9
## 420             7.67   9
## 421             7.68  10
## 422             7.69   7
## 423             7.70   9
## 424             7.71  11
## 425             7.72   8
## 426             7.73  10
## 427             7.74   8
## 428             7.75   6
## 429             7.76  10
## 430             7.77   9
## 431             7.78   2
## 432             7.79   4
## 433             7.80   6
## 434             7.81   9
## 435             7.82   1
## 436             7.83   2
## 437             7.84   3
## 438             7.85   7
## 439             7.86   6
## 440             7.87   7
## 441             7.88   7
## 442             7.89   5
## 443             7.90   6
## 444             7.91   7
## 445             7.92   1
## 446             7.93   5
## 447             7.94   2
## 448             7.95   3
## 449             7.96   8
## 450             7.97   5
## 451             7.98   8
## 452             7.99   3
## 453             8.00   4
## 454             8.01   9
## 455             8.02   6
## 456             8.03   4
## 457             8.04   2
## 458             8.05   3
## 459             8.06   4
## 460             8.07   5
## 461             8.08   5
## 462             8.09   1
## 463             8.11   1
## 464             8.12   3
## 465             8.13   4
## 466             8.14   1
## 467             8.15   2
## 468             8.16   2
## 469             8.17   3
## 470             8.18   5
## 471             8.19   1
## 472             8.20   3
## 473             8.21   2
## 474             8.22   4
## 475             8.23   1
## 476             8.24   1
## 477             8.25   2
## 478             8.26   3
## 479             8.27   2
## 480             8.29   1
## 481             8.30   2
## 482             8.31   1
## 483             8.33   1
## 484             8.34   3
## 485             8.37   2
## 486             8.39   4
## 487             8.40   1
## 488             8.41   1
## 489             8.42   4
## 490             8.43   1
## 491             8.44   1
## 492             8.45   1
## 493             8.46   2
## 494             8.47   3
## 495             8.48   7
## 496             8.49   3
## 497             8.50   1
## 498             8.52   1
## 499             8.55   1
## 500             8.56   2
## 501             8.58   1
## 502             8.62   1
## 503             8.64   3
## 504             8.67   1
## 505             8.70   1
## 506             8.72   1
## 507             8.73   3
## 508             8.76   2
## 509             8.77   1
## 510             8.79   1
## 511             8.80   2
## 512             8.81   1
## 513             8.84   4
## 514             8.85   1
## 515             8.88   1
## 516             8.89   1
## 517             8.91   1
## 518             8.92   2
## 519             8.96   3
## 520             8.97   2
## 521             8.98   1
## 522             8.99   1
## 523             9.00   1
## 524             9.02   1
## 525             9.05   1
## 526             9.09   1
## 527             9.11   2
## 528             9.16   1
## 529             9.19   1
## 530               NA 723
# Standard deviation

sd(econ_freedom$ECONOMIC.FREEDOM, na.rm = TRUE)
## [1] 1.133638

JUDICIAL INDEPENDENCE - Mean, Median, Mode, Min, Max, Count, and Standard Deviation

# JUDICIAL INDEPENDENCE
summary(econ_freedom$X2a_judicial_independence)
##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max.    NA's 
##   0.000   3.259   4.698   5.019   6.823   9.817    1553
# Mean
mean(econ_freedom$X2a_judicial_independence, na.rm = TRUE)
## [1] 5.019474
# Median
median(econ_freedom$X2a_judicial_independence, na.rm = TRUE)
## [1] 4.698028
# Mode
df2 <- econ_freedom$X2a_judicial_independence

getmode <- function(df2) {
   uniqv <- na.omit(unique(df2))
   uniqv[which.max(tabulate(match(df2, uniqv)))]
}
result2 <-getmode(df2)
print(result2)
## [1] 5
# Minimum
min(econ_freedom$X2a_judicial_independence, na.rm = TRUE)
## [1] 0
# Maximum
max(econ_freedom$X2a_judicial_independence, na.rm = TRUE)
## [1] 9.816667
# Count
econ_freedom %>% 
  count(X2a_judicial_independence)
##      X2a_judicial_independence    n
## 1                    0.0000000    2
## 2                    0.1666667    3
## 3                    0.1885711    1
## 4                    0.1887273    1
## 5                    0.1920619    1
## 6                    0.2128107    1
## 7                    0.2167672    1
## 8                    0.3076923    1
## 9                    0.3135119    1
## 10                   0.3333333    1
## 11                   0.3589744    1
## 12                   0.3639847    1
## 13                   0.4540352    1
## 14                   0.4609929    1
## 15                   0.4861110    1
## 16                   0.5238095    1
## 17                   0.6284859    1
## 18                   0.6666667    2
## 19                   0.7279693    1
## 20                   0.7438396    1
## 21                   0.7511351    1
## 22                   0.8095238    1
## 23                   0.8333333    1
## 24                   0.9139824    1
## 25                   0.9556840    1
## 26                   0.9562561    2
## 27                   0.9617053    1
## 28                   0.9689923    1
## 29                   0.9722223    1
## 30                   0.9915612    1
## 31                   1.0000000    1
## 32                   1.0459134    2
## 33                   1.0795455    1
## 34                   1.0808352    1
## 35                   1.0817056    1
## 36                   1.0844444    1
## 37                   1.0952381    1
## 38                   1.1121654    1
## 39                   1.1311508    2
## 40                   1.1433481    1
## 41                   1.1481400    1
## 42                   1.1538501    1
## 43                   1.1639152    1
## 44                   1.1659473    1
## 45                   1.1666667    2
## 46                   1.1890782    1
## 47                   1.2082951    1
## 48                   1.2284750    1
## 49                   1.2784988    1
## 50                   1.2847222    1
## 51                   1.2849567    1
## 52                   1.2962895    1
## 53                   1.3162331    1
## 54                   1.3258245    1
## 55                   1.3333333    3
## 56                   1.3378822    1
## 57                   1.3522013    1
## 58                   1.3585979    1
## 59                   1.3639090    1
## 60                   1.3809524    1
## 61                   1.3958333    1
## 62                   1.4319764    1
## 63                   1.4616953    1
## 64                   1.4619883    1
## 65                   1.4952764    1
## 66                   1.5000000    4
## 67                   1.5015723    1
## 68                   1.5030000    1
## 69                   1.5154410    1
## 70                   1.5311411    1
## 71                   1.5382859    1
## 72                   1.5455995    1
## 73                   1.5561133    1
## 74                   1.5597954    1
## 75                   1.5866649    1
## 76                   1.5896820    1
## 77                   1.5909091    1
## 78                   1.5925926    1
## 79                   1.6197373    1
## 80                   1.6251539    1
## 81                   1.6504474    1
## 82                   1.6552814    1
## 83                   1.6571458    1
## 84                   1.6634794    1
## 85                   1.6666667    7
## 86                   1.6700000    1
## 87                   1.6937492    1
## 88                   1.7011381    1
## 89                   1.7073878    1
## 90                   1.7136150    1
## 91                   1.7187369    4
## 92                   1.7257620    1
## 93                   1.7261855    1
## 94                   1.7315029    1
## 95                   1.7361704    1
## 96                   1.7380236    1
## 97                   1.7427312    1
## 98                   1.7624536    1
## 99                   1.7678761    1
## 100                  1.7715509    1
## 101                  1.7747917    1
## 102                  1.7829967    1
## 103                  1.7971621    1
## 104                  1.7977740    1
## 105                  1.8009831    1
## 106                  1.8101589    1
## 107                  1.8177989    1
## 108                  1.8196717    1
## 109                  1.8249706    1
## 110                  1.8274157    1
## 111                  1.8321486    1
## 112                  1.8333333    2
## 113                  1.8388366    1
## 114                  1.8421054    1
## 115                  1.8431292    4
## 116                  1.8452381    1
## 117                  1.8480506    1
## 118                  1.8539802    4
## 119                  1.8750000    1
## 120                  1.8992824    1
## 121                  1.9000000    1
## 122                  1.9006219    1
## 123                  1.9078027    1
## 124                  1.9141914    1
## 125                  1.9178873    1
## 126                  1.9509833    1
## 127                  1.9562098    1
## 128                  1.9564392    1
## 129                  1.9586302    1
## 130                  1.9607843    1
## 131                  1.9658120    1
## 132                  1.9739853    1
## 133                  1.9803922    1
## 134                  1.9833333    1
## 135                  1.9841510    1
## 136                  1.9886545    1
## 137                  1.9888799    1
## 138                  1.9889825    1
## 139                  1.9936797    1
## 140                  2.0000000    6
## 141                  2.0035462    1
## 142                  2.0042480    1
## 143                  2.0161751    1
## 144                  2.0185836    1
## 145                  2.0253165    1
## 146                  2.0306200    1
## 147                  2.0310877    1
## 148                  2.0339279    1
## 149                  2.0390071    1
## 150                  2.0496188    1
## 151                  2.0498085    1
## 152                  2.0560913    1
## 153                  2.0634921    1
## 154                  2.0861850    1
## 155                  2.0878634    1
## 156                  2.0948613    1
## 157                  2.0959805    1
## 158                  2.0962922    1
## 159                  2.0982702    1
## 160                  2.0991656    1
## 161                  2.1036631    1
## 162                  2.1097046    1
## 163                  2.1124031    1
## 164                  2.1153250    1
## 165                  2.1153917    1
## 166                  2.1212121    1
## 167                  2.1234040    1
## 168                  2.1287095    1
## 169                  2.1306636    1
## 170                  2.1339035    1
## 171                  2.1345739    1
## 172                  2.1410737    1
## 173                  2.1425780    1
## 174                  2.1514731    1
## 175                  2.1547418    1
## 176                  2.1666666    1
## 177                  2.1666667    1
## 178                  2.1710000    1
## 179                  2.1735683    1
## 180                  2.1783937    1
## 181                  2.1837126    1
## 182                  2.1891161    1
## 183                  2.1913385    1
## 184                  2.1928466    1
## 185                  2.2151201    1
## 186                  2.2186045    1
## 187                  2.2202879    1
## 188                  2.2252846    1
## 189                  2.2267571    1
## 190                  2.2436796    1
## 191                  2.2465352    1
## 192                  2.2587719    1
## 193                  2.2680412    1
## 194                  2.2705314    1
## 195                  2.2744585    1
## 196                  2.2764228    1
## 197                  2.2795029    1
## 198                  2.2916667    1
## 199                  2.2938915    1
## 200                  2.2944519    1
## 201                  2.2960160    1
## 202                  2.2988562    2
## 203                  2.3077540    1
## 204                  2.3147440    1
## 205                  2.3182845    1
## 206                  2.3333333    8
## 207                  2.3467791    1
## 208                  2.3489093    1
## 209                  2.3567291    1
## 210                  2.3587255    1
## 211                  2.3632305    2
## 212                  2.3717948    1
## 213                  2.3725490    1
## 214                  2.3794188    1
## 215                  2.3809524    1
## 216                  2.3834568    1
## 217                  2.3918935    1
## 218                  2.3935563    1
## 219                  2.3943662    1
## 220                  2.3958333    1
## 221                  2.3966668    1
## 222                  2.3978348    1
## 223                  2.4003772    1
## 224                  2.4019600    1
## 225                  2.4041427    1
## 226                  2.4178500    1
## 227                  2.4323808    1
## 228                  2.4349206    1
## 229                  2.4375000    1
## 230                  2.4377967    1
## 231                  2.4507541    1
## 232                  2.4523810    1
## 233                  2.4531835    1
## 234                  2.4561404    1
## 235                  2.4582186    1
## 236                  2.4612354    1
## 237                  2.4654619    1
## 238                  2.4713878    1
## 239                  2.4723722    1
## 240                  2.4761905    1
## 241                  2.4773525    1
## 242                  2.4790957    1
## 243                  2.4888121    1
## 244                  2.4906367    1
## 245                  2.4975434    1
## 246                  2.5000000    5
## 247                  2.5011908    1
## 248                  2.5081901    1
## 249                  2.5081964    1
## 250                  2.5089606    1
## 251                  2.5157229    1
## 252                  2.5217407    1
## 253                  2.5268817    1
## 254                  2.5274363    1
## 255                  2.5285171    1
## 256                  2.5316456    1
## 257                  2.5349531    1
## 258                  2.5360976    1
## 259                  2.5373133    1
## 260                  2.5391124    1
## 261                  2.5397736    1
## 262                  2.5451552    1
## 263                  2.5490197    1
## 264                  2.5576520    1
## 265                  2.5589215    1
## 266                  2.5641022    1
## 267                  2.5671738    1
## 268                  2.5698925    1
## 269                  2.5704894    1
## 270                  2.5776835    1
## 271                  2.5811841    1
## 272                  2.5847648    1
## 273                  2.5920928    1
## 274                  2.5935027    1
## 275                  2.5937200    1
## 276                  2.5974311    1
## 277                  2.5990935    1
## 278                  2.6000432    1
## 279                  2.6023759    1
## 280                  2.6044709    1
## 281                  2.6060606    1
## 282                  2.6166667    1
## 283                  2.6192416    1
## 284                  2.6257862    1
## 285                  2.6313982    1
## 286                  2.6327360    1
## 287                  2.6362650    1
## 288                  2.6410948    1
## 289                  2.6432111    1
## 290                  2.6465036    1
## 291                  2.6521851    1
## 292                  2.6618044    1
## 293                  2.6666667    1
## 294                  2.6673861    1
## 295                  2.6681939    1
## 296                  2.6682218    1
## 297                  2.6707507    1
## 298                  2.6720000    1
## 299                  2.6721738    1
## 300                  2.6830246    1
## 301                  2.6859846    1
## 302                  2.6892048    1
## 303                  2.6903366    1
## 304                  2.6959348    1
## 305                  2.6969544    3
## 306                  2.7000000    1
## 307                  2.7001242    1
## 308                  2.7016633    1
## 309                  2.7074004    1
## 310                  2.7147386    1
## 311                  2.7156616    1
## 312                  2.7257007    1
## 313                  2.7279991    1
## 314                  2.7290673    1
## 315                  2.7329902    1
## 316                  2.7452571    1
## 317                  2.7460469    1
## 318                  2.7461557    1
## 319                  2.7473767    1
## 320                  2.7480133    1
## 321                  2.7494903    1
## 322                  2.7500000    1
## 323                  2.7520655    2
## 324                  2.7653329    1
## 325                  2.7681405    1
## 326                  2.7707503    1
## 327                  2.7710007    1
## 328                  2.7762020    1
## 329                  2.7828384    1
## 330                  2.7909547    1
## 331                  2.7946410    1
## 332                  2.7951309    1
## 333                  2.8050264    1
## 334                  2.8084476    1
## 335                  2.8098612    1
## 336                  2.8150123    1
## 337                  2.8157519    1
## 338                  2.8174603    1
## 339                  2.8181818    1
## 340                  2.8207755    1
## 341                  2.8236896    1
## 342                  2.8258739    1
## 343                  2.8266997    1
## 344                  2.8277448    1
## 345                  2.8331778    1
## 346                  2.8333333    4
## 347                  2.8421053    1
## 348                  2.8464725    1
## 349                  2.8500000    1
## 350                  2.8576610    1
## 351                  2.8596491    1
## 352                  2.8599323    1
## 353                  2.8649330    1
## 354                  2.8723403    1
## 355                  2.8723647    1
## 356                  2.8730926    1
## 357                  2.8794268    1
## 358                  2.8859649    1
## 359                  2.8869238    1
## 360                  2.8876580    1
## 361                  2.8950654    1
## 362                  2.8954867    1
## 363                  2.8963987    1
## 364                  2.9017499    1
## 365                  2.9172906    1
## 366                  2.9193800    1
## 367                  2.9242274    1
## 368                  2.9267815    1
## 369                  2.9390681    1
## 370                  2.9453702    1
## 371                  2.9618647    1
## 372                  2.9685109    1
## 373                  2.9739261    1
## 374                  2.9759719    1
## 375                  2.9777778    1
## 376                  2.9790080    1
## 377                  2.9849774    1
## 378                  2.9878480    1
## 379                  2.9912771    1
## 380                  2.9915233    1
## 381                  2.9985193    1
## 382                  3.0000000    3
## 383                  3.0005985    1
## 384                  3.0008207    1
## 385                  3.0040302    1
## 386                  3.0054645    2
## 387                  3.0058161    1
## 388                  3.0060000    1
## 389                  3.0113636    1
## 390                  3.0113637    1
## 391                  3.0142127    1
## 392                  3.0148063    1
## 393                  3.0158730    1
## 394                  3.0166733    1
## 395                  3.0232558    1
## 396                  3.0305783    1
## 397                  3.0310881    1
## 398                  3.0370115    1
## 399                  3.0389470    1
## 400                  3.0396525    1
## 401                  3.0413883    1
## 402                  3.0429867    1
## 403                  3.0461927    1
## 404                  3.0472572    1
## 405                  3.0487342    1
## 406                  3.0493827    1
## 407                  3.0505544    1
## 408                  3.0552110    1
## 409                  3.0635650    1
## 410                  3.0666667    1
## 411                  3.0684622    2
## 412                  3.0702618    1
## 413                  3.0728773    1
## 414                  3.0733516    1
## 415                  3.0741143    1
## 416                  3.0759872    1
## 417                  3.0795551    1
## 418                  3.0808081    2
## 419                  3.0817183    1
## 420                  3.0867324    1
## 421                  3.0877626    1
## 422                  3.0932725    1
## 423                  3.0944638    2
## 424                  3.0968349    1
## 425                  3.0974442    1
## 426                  3.1000000    1
## 427                  3.1043651    4
## 428                  3.1067959    1
## 429                  3.1076513    1
## 430                  3.1084755    1
## 431                  3.1097561    1
## 432                  3.1302028    1
## 433                  3.1317073    2
## 434                  3.1333335    1
## 435                  3.1347791    1
## 436                  3.1350230    1
## 437                  3.1353135    1
## 438                  3.1358065    1
## 439                  3.1372549    1
## 440                  3.1382753    1
## 441                  3.1450672    1
## 442                  3.1462514    1
## 443                  3.1543513    1
## 444                  3.1609889    1
## 445                  3.1666667    4
## 446                  3.1669768    1
## 447                  3.1723897    1
## 448                  3.1730000    2
## 449                  3.1745609    2
## 450                  3.1749590    1
## 451                  3.1752735    1
## 452                  3.1804707    1
## 453                  3.1815450    1
## 454                  3.1826474    1
## 455                  3.1833333    1
## 456                  3.1848294    1
## 457                  3.1922102    1
## 458                  3.1960785    1
## 459                  3.1992567    1
## 460                  3.1996512    1
## 461                  3.2067164    1
## 462                  3.2122564    1
## 463                  3.2218837    1
## 464                  3.2247346    1
## 465                  3.2273433    1
## 466                  3.2278889    1
## 467                  3.2368601    1
## 468                  3.2387826    1
## 469                  3.2457865    1
## 470                  3.2479026    1
## 471                  3.2511288    1
## 472                  3.2516541    1
## 473                  3.2562350    1
## 474                  3.2568807    1
## 475                  3.2569464    1
## 476                  3.2590667    1
## 477                  3.2617458    1
## 478                  3.2630993    1
## 479                  3.2688005    1
## 480                  3.2688491    1
## 481                  3.2709686    1
## 482                  3.2739379    1
## 483                  3.2779433    1
## 484                  3.2785234    1
## 485                  3.2809318    1
## 486                  3.2814469    1
## 487                  3.2832817    1
## 488                  3.2884461    1
## 489                  3.2907977    1
## 490                  3.2992731    1
## 491                  3.3028413    1
## 492                  3.3048489    1
## 493                  3.3062657    1
## 494                  3.3072917    1
## 495                  3.3082258    1
## 496                  3.3085167    1
## 497                  3.3100277    1
## 498                  3.3202100    1
## 499                  3.3235513    1
## 500                  3.3244485    1
## 501                  3.3252764    1
## 502                  3.3306623    1
## 503                  3.3333333    9
## 504                  3.3376616    1
## 505                  3.3384497    1
## 506                  3.3400000    2
## 507                  3.3411950    1
## 508                  3.3487640    1
## 509                  3.3523270    1
## 510                  3.3595384    1
## 511                  3.3619397    1
## 512                  3.3634296    1
## 513                  3.3663266    1
## 514                  3.3679994    1
## 515                  3.3695652    1
## 516                  3.3706518    1
## 517                  3.3781479    1
## 518                  3.3898271    1
## 519                  3.3958194    1
## 520                  3.3982770    4
## 521                  3.4061023    2
## 522                  3.4128077    1
## 523                  3.4166065    1
## 524                  3.4219742    1
## 525                  3.4236668    1
## 526                  3.4261706    1
## 527                  3.4276800    1
## 528                  3.4277208    1
## 529                  3.4303400    1
## 530                  3.4312638    1
## 531                  3.4331248    2
## 532                  3.4373196    1
## 533                  3.4373196    1
## 534                  3.4422600    1
## 535                  3.4425369    1
## 536                  3.4443617    1
## 537                  3.4444443    1
## 538                  3.4494483    1
## 539                  3.4522489    1
## 540                  3.4528588    1
## 541                  3.4568743    2
## 542                  3.4610853    1
## 543                  3.4679750    1
## 544                  3.4703196    1
## 545                  3.4711870    1
## 546                  3.4776828    1
## 547                  3.4791087    1
## 548                  3.4831342    1
## 549                  3.4833333    1
## 550                  3.4867749    1
## 551                  3.4889385    1
## 552                  3.5000000    8
## 553                  3.5035677    1
## 554                  3.5040448    1
## 555                  3.5069444    1
## 556                  3.5070000    2
## 557                  3.5072158    2
## 558                  3.5112292    1
## 559                  3.5157315    1
## 560                  3.5162484    1
## 561                  3.5211269    1
## 562                  3.5236204    1
## 563                  3.5245062    1
## 564                  3.5267577    1
## 565                  3.5277049    1
## 566                  3.5278676    1
## 567                  3.5284504    1
## 568                  3.5342448    1
## 569                  3.5388128    1
## 570                  3.5407306    1
## 571                  3.5413699    1
## 572                  3.5503326    1
## 573                  3.5607536    1
## 574                  3.5615909    1
## 575                  3.5669336    1
## 576                  3.5706548    1
## 577                  3.5719104    1
## 578                  3.5729871    1
## 579                  3.5792181    1
## 580                  3.5891473    1
## 581                  3.5902058    1
## 582                  3.5902532    1
## 583                  3.5924692    1
## 584                  3.5925583    1
## 585                  3.5981967    1
## 586                  3.6008412    2
## 587                  3.6042836    1
## 588                  3.6100440    1
## 589                  3.6101284    1
## 590                  3.6224452    1
## 591                  3.6237176    1
## 592                  3.6239852    1
## 593                  3.6255183    1
## 594                  3.6299144    1
## 595                  3.6301441    1
## 596                  3.6346068    1
## 597                  3.6381031    1
## 598                  3.6455955    1
## 599                  3.6486018    1
## 600                  3.6507936    1
## 601                  3.6619719    1
## 602                  3.6631743    1
## 603                  3.6666667    5
## 604                  3.6717192    2
## 605                  3.6728986    1
## 606                  3.6815087    1
## 607                  3.6826058    1
## 608                  3.6851852    1
## 609                  3.6859031    1
## 610                  3.6896900    1
## 611                  3.6901885    1
## 612                  3.6917563    1
## 613                  3.6927029    1
## 614                  3.6948309    1
## 615                  3.7010657    1
## 616                  3.7022991    1
## 617                  3.7047660    1
## 618                  3.7047732    1
## 619                  3.7100473    1
## 620                  3.7146346    1
## 621                  3.7157688    1
## 622                  3.7166667    2
## 623                  3.7237958    1
## 624                  3.7240767    1
## 625                  3.7272074    1
## 626                  3.7295751    1
## 627                  3.7350738    1
## 628                  3.7376652    1
## 629                  3.7381301    1
## 630                  3.7500000    1
## 631                  3.7523363    1
## 632                  3.7547744    1
## 633                  3.7581566    1
## 634                  3.7649431    1
## 635                  3.7655583    1
## 636                  3.7730664    1
## 637                  3.7746307    1
## 638                  3.7751621    1
## 639                  3.7804878    1
## 640                  3.7831132    1
## 641                  3.7892410    1
## 642                  3.7894614    1
## 643                  3.7931034    1
## 644                  3.7971246    1
## 645                  3.7973965    1
## 646                  3.7990196    1
## 647                  3.8000000    1
## 648                  3.8038046    1
## 649                  3.8170674    1
## 650                  3.8189012    1
## 651                  3.8220851    1
## 652                  3.8230749    1
## 653                  3.8254718    1
## 654                  3.8257019    1
## 655                  3.8310640    1
## 656                  3.8329545    1
## 657                  3.8333333    3
## 658                  3.8469136    1
## 659                  3.8501883    4
## 660                  3.8511197    1
## 661                  3.8545477    1
## 662                  3.8564838    1
## 663                  3.8582484    3
## 664                  3.8617005    1
## 665                  3.8636327    1
## 666                  3.8666667    1
## 667                  3.8673786    1
## 668                  3.8730720    1
## 669                  3.8750936    1
## 670                  3.8785116    1
## 671                  3.8833333    1
## 672                  3.8884502    1
## 673                  3.8888454    1
## 674                  3.8921353    1
## 675                  3.8952460    1
## 676                  3.9015015    1
## 677                  3.9025592    2
## 678                  3.9054726    1
## 679                  3.9134356    1
## 680                  3.9181287    1
## 681                  3.9213751    1
## 682                  3.9230768    1
## 683                  3.9308176    2
## 684                  3.9317673    1
## 685                  3.9341926    1
## 686                  3.9351485    1
## 687                  3.9351853    1
## 688                  3.9354210    1
## 689                  3.9392817    1
## 690                  3.9393939    1
## 691                  3.9407052    1
## 692                  3.9429312    1
## 693                  3.9478412    1
## 694                  3.9520334    1
## 695                  3.9609053    1
## 696                  3.9618405    1
## 697                  3.9674873    1
## 698                  3.9699074    1
## 699                  3.9779446    1
## 700                  3.9783205    1
## 701                  3.9798884    1
## 702                  3.9844867    1
## 703                  3.9896703    1
## 704                  3.9909418    1
## 705                  3.9922104    1
## 706                  3.9969136    1
## 707                  4.0000000    5
## 708                  4.0048072    1
## 709                  4.0054286    1
## 710                  4.0069630    1
## 711                  4.0078232    1
## 712                  4.0084631    1
## 713                  4.0095223    1
## 714                  4.0171610    1
## 715                  4.0203762    1
## 716                  4.0226859    1
## 717                  4.0290115    1
## 718                  4.0302465    1
## 719                  4.0311340    1
## 720                  4.0313808    1
## 721                  4.0412092    1
## 722                  4.0494318    1
## 723                  4.0498842    1
## 724                  4.0563779    1
## 725                  4.0565592    1
## 726                  4.0641251    1
## 727                  4.0681004    1
## 728                  4.0686275    1
## 729                  4.0717559    1
## 730                  4.0721914    1
## 731                  4.0885417    1
## 732                  4.0894614    1
## 733                  4.0909092    1
## 734                  4.0929269    1
## 735                  4.0937949    1
## 736                  4.1008790    1
## 737                  4.1020893    1
## 738                  4.1034101    1
## 739                  4.1085026    1
## 740                  4.1151119    1
## 741                  4.1198557    1
## 742                  4.1232814    2
## 743                  4.1236787    1
## 744                  4.1292333    1
## 745                  4.1323123    1
## 746                  4.1326695    1
## 747                  4.1338583    1
## 748                  4.1367054    1
## 749                  4.1379310    1
## 750                  4.1383782    1
## 751                  4.1402267    1
## 752                  4.1479881    1
## 753                  4.1497103    1
## 754                  4.1561181    1
## 755                  4.1577061    1
## 756                  4.1604938    1
## 757                  4.1609912    1
## 758                  4.1664927    1
## 759                  4.1666667    3
## 760                  4.1694082    1
## 761                  4.1726619    1
## 762                  4.1729878    1
## 763                  4.1750000    1
## 764                  4.1758201    1
## 765                  4.1760300    1
## 766                  4.1767630    1
## 767                  4.1769724    1
## 768                  4.1782058    1
## 769                  4.1795911    1
## 770                  4.1817074    1
## 771                  4.1818144    1
## 772                  4.1840704    1
## 773                  4.1867042    1
## 774                  4.1867737    1
## 775                  4.1912678    1
## 776                  4.1959516    1
## 777                  4.1973114    1
## 778                  4.1996678    1
## 779                  4.2021266    1
## 780                  4.2031097    1
## 781                  4.2059310    1
## 782                  4.2068273    1
## 783                  4.2073483    1
## 784                  4.2286070    1
## 785                  4.2315290    1
## 786                  4.2316354    3
## 787                  4.2331172    1
## 788                  4.2364456    1
## 789                  4.2368494    1
## 790                  4.2391461    1
## 791                  4.2496251    1
## 792                  4.2511781    1
## 793                  4.2515459    1
## 794                  4.2552279    1
## 795                  4.2552640    2
## 796                  4.2554451    1
## 797                  4.2559483    1
## 798                  4.2573767    1
## 799                  4.2614398    1
## 800                  4.2646190    1
## 801                  4.2646619    1
## 802                  4.2693084    3
## 803                  4.2718474    1
## 804                  4.2779831    1
## 805                  4.2793870    1
## 806                  4.2815902    1
## 807                  4.2819590    1
## 808                  4.2834401    1
## 809                  4.2849383    1
## 810                  4.2857142    1
## 811                  4.2912106    2
## 812                  4.2923597    1
## 813                  4.3010753    1
## 814                  4.3018108    1
## 815                  4.3032787    1
## 816                  4.3055556    1
## 817                  4.3138332    1
## 818                  4.3172705    1
## 819                  4.3187797    1
## 820                  4.3204063    1
## 821                  4.3229167    1
## 822                  4.3257044    1
## 823                  4.3261719    1
## 824                  4.3303027    1
## 825                  4.3322828    1
## 826                  4.3333333    3
## 827                  4.3366080    1
## 828                  4.3377697    1
## 829                  4.3420000    1
## 830                  4.3429849    1
## 831                  4.3444077    1
## 832                  4.3486851    1
## 833                  4.3487254    1
## 834                  4.3564783    1
## 835                  4.3566462    1
## 836                  4.3638801    1
## 837                  4.3740666    1
## 838                  4.3751323    1
## 839                  4.3786275    1
## 840                  4.3794970    1
## 841                  4.3809613    1
## 842                  4.3918784    1
## 843                  4.3948289    1
## 844                  4.3965940    1
## 845                  4.4033994    1
## 846                  4.4101592    1
## 847                  4.4105691    1
## 848                  4.4117906    1
## 849                  4.4202899    1
## 850                  4.4225108    1
## 851                  4.4243057    1
## 852                  4.4291503    1
## 853                  4.4317384    1
## 854                  4.4318182    1
## 855                  4.4350029    1
## 856                  4.4411901    1
## 857                  4.4466556    1
## 858                  4.4508559    1
## 859                  4.4523995    1
## 860                  4.4572535    1
## 861                  4.4600940    1
## 862                  4.4613976    1
## 863                  4.4637631    1
## 864                  4.4648648    1
## 865                  4.4682043    1
## 866                  4.4709944    1
## 867                  4.4723074    1
## 868                  4.4723288    1
## 869                  4.4769230    1
## 870                  4.4936709    1
## 871                  4.4948608    1
## 872                  4.5000000   10
## 873                  4.5025845    1
## 874                  4.5078322    1
## 875                  4.5088367    1
## 876                  4.5090000    2
## 877                  4.5093612    1
## 878                  4.5120741    1
## 879                  4.5152098    1
## 880                  4.5157187    1
## 881                  4.5173614    1
## 882                  4.5223427    1
## 883                  4.5246793    1
## 884                  4.5288387    1
## 885                  4.5293352    1
## 886                  4.5303778    1
## 887                  4.5419755    1
## 888                  4.5469014    1
## 889                  4.5493834    1
## 890                  4.5578741    1
## 891                  4.5609764    1
## 892                  4.5637850    1
## 893                  4.5649683    1
## 894                  4.5653841    1
## 895                  4.5668437    1
## 896                  4.5707071    1
## 897                  4.5756217    1
## 898                  4.5778378    1
## 899                  4.5843764    1
## 900                  4.5870272    1
## 901                  4.5883031    1
## 902                  4.5922285    1
## 903                  4.5926491    1
## 904                  4.5927492    1
## 905                  4.5935470    1
## 906                  4.5945946    1
## 907                  4.5949074    1
## 908                  4.5976653    1
## 909                  4.6010546    1
## 910                  4.6020415    1
## 911                  4.6029047    2
## 912                  4.6049781    1
## 913                  4.6056164    1
## 914                  4.6072867    1
## 915                  4.6122164    1
## 916                  4.6162883    1
## 917                  4.6167678    1
## 918                  4.6205411    1
## 919                  4.6245608    1
## 920                  4.6254682    1
## 921                  4.6321050    2
## 922                  4.6421996    1
## 923                  4.6459919    1
## 924                  4.6474278    1
## 925                  4.6485261    1
## 926                  4.6487168    1
## 927                  4.6524980    1
## 928                  4.6544715    1
## 929                  4.6557470    1
## 930                  4.6566665    1
## 931                  4.6567392    1
## 932                  4.6588239    1
## 933                  4.6621747    1
## 934                  4.6622180    1
## 935                  4.6648612    1
## 936                  4.6666667    3
## 937                  4.6687060    1
## 938                  4.6707510    1
## 939                  4.6760000    1
## 940                  4.6769787    1
## 941                  4.6828419    1
## 942                  4.6838397    1
## 943                  4.6853400    1
## 944                  4.6898453    1
## 945                  4.6911387    1
## 946                  4.6925084    1
## 947                  4.6944665    1
## 948                  4.6967911    1
## 949                  4.6980281    2
## 950                  4.6989568    1
## 951                  4.6998998    1
## 952                  4.7003745    1
## 953                  4.7012579    1
## 954                  4.7101449    1
## 955                  4.7136585    1
## 956                  4.7159540    1
## 957                  4.7197549    1
## 958                  4.7205925    1
## 959                  4.7269559    1
## 960                  4.7327754    1
## 961                  4.7337600    1
## 962                  4.7338717    1
## 963                  4.7348485    1
## 964                  4.7354497    1
## 965                  4.7405554    1
## 966                  4.7426530    1
## 967                  4.7472715    1
## 968                  4.7491315    1
## 969                  4.7499404    1
## 970                  4.7637790    1
## 971                  4.7706455    1
## 972                  4.7747748    1
## 973                  4.7787097    2
## 974                  4.7798066    1
## 975                  4.7799414    1
## 976                  4.7813345    1
## 977                  4.7817898    1
## 978                  4.7887093    1
## 979                  4.7892867    1
## 980                  4.7912378    1
## 981                  4.7937713    1
## 982                  4.7958787    1
## 983                  4.7984092    1
## 984                  4.8133079    1
## 985                  4.8162878    1
## 986                  4.8202077    1
## 987                  4.8326792    1
## 988                  4.8333333    4
## 989                  4.8430000    1
## 990                  4.8474946    1
## 991                  4.8522672    1
## 992                  4.8545735    1
## 993                  4.8606575    1
## 994                  4.8628272    1
## 995                  4.8637124    1
## 996                  4.8666667    1
## 997                  4.8678192    1
## 998                  4.8740443    1
## 999                  4.8756736    1
## 1000                 4.8888752    1
## 1001                 4.8892209    1
## 1002                 4.8899513    1
## 1003                 4.8902626    1
## 1004                 4.8913042    1
## 1005                 4.8968866    1
## 1006                 4.9029618    1
## 1007                 4.9140893    1
## 1008                 4.9144170    1
## 1009                 4.9278081    1
## 1010                 4.9300332    1
## 1011                 4.9361896    1
## 1012                 4.9479208    1
## 1013                 4.9505864    1
## 1014                 4.9508772    1
## 1015                 4.9571757    1
## 1016                 4.9580758    1
## 1017                 4.9604672    1
## 1018                 4.9606353    1
## 1019                 4.9714357    1
## 1020                 4.9773766    1
## 1021                 4.9829563    1
## 1022                 4.9873381    1
## 1023                 4.9986919    1
## 1024                 5.0000000   13
## 1025                 5.0022870    1
## 1026                 5.0086692    1
## 1027                 5.0095284    1
## 1028                 5.0095908    1
## 1029                 5.0100000    1
## 1030                 5.0106266    1
## 1031                 5.0106735    2
## 1032                 5.0113833    1
## 1033                 5.0126461    1
## 1034                 5.0160257    1
## 1035                 5.0200621    1
## 1036                 5.0208227    1
## 1037                 5.0243702    1
## 1038                 5.0260417    1
## 1039                 5.0347782    1
## 1040                 5.0354608    1
## 1041                 5.0381905    1
## 1042                 5.0490042    1
## 1043                 5.0512821    1
## 1044                 5.0533249    1
## 1045                 5.0633463    1
## 1046                 5.0655247    1
## 1047                 5.0713168    1
## 1048                 5.0730189    1
## 1049                 5.0732882    1
## 1050                 5.0833333    1
## 1051                 5.0844948    1
## 1052                 5.0980393    1
## 1053                 5.1025284    1
## 1054                 5.1094747    1
## 1055                 5.1166667    1
## 1056                 5.1189626    1
## 1057                 5.1219161    1
## 1058                 5.1220171    1
## 1059                 5.1241276    1
## 1060                 5.1268550    1
## 1061                 5.1276428    1
## 1062                 5.1297824    1
## 1063                 5.1313864    1
## 1064                 5.1315454    1
## 1065                 5.1344085    1
## 1066                 5.1353488    1
## 1067                 5.1367444    1
## 1068                 5.1375360    1
## 1069                 5.1423949    1
## 1070                 5.1428571    1
## 1071                 5.1506889    1
## 1072                 5.1512392    1
## 1073                 5.1547321    1
## 1074                 5.1573380    1
## 1075                 5.1620370    1
## 1076                 5.1638117    1
## 1077                 5.1649831    1
## 1078                 5.1653402    1
## 1079                 5.1666667    5
## 1080                 5.1744933    1
## 1081                 5.1756644    1
## 1082                 5.1806565    1
## 1083                 5.1972587    1
## 1084                 5.1974588    3
## 1085                 5.2024764    2
## 1086                 5.2083333    1
## 1087                 5.2157717    1
## 1088                 5.2176566    1
## 1089                 5.2248596    1
## 1090                 5.2283105    1
## 1091                 5.2317732    1
## 1092                 5.2322811    1
## 1093                 5.2351738    1
## 1094                 5.2354612    1
## 1095                 5.2381399    1
## 1096                 5.2393919    1
## 1097                 5.2396356    1
## 1098                 5.2536880    2
## 1099                 5.2599803    1
## 1100                 5.2666667    1
## 1101                 5.2680016    1
## 1102                 5.2695866    1
## 1103                 5.2696612    1
## 1104                 5.2756917    1
## 1105                 5.2916963    1
## 1106                 5.2963086    1
## 1107                 5.2991454    1
## 1108                 5.3000000    1
## 1109                 5.3044753    1
## 1110                 5.3076792    1
## 1111                 5.3157895    1
## 1112                 5.3164557    1
## 1113                 5.3187126    1
## 1114                 5.3253715    1
## 1115                 5.3318169    1
## 1116                 5.3333333    5
## 1117                 5.3390838    1
## 1118                 5.3428839    1
## 1119                 5.3429111    1
## 1120                 5.3440000    3
## 1121                 5.3512636    1
## 1122                 5.3575333    1
## 1123                 5.3730439    1
## 1124                 5.3797468    1
## 1125                 5.3809524    1
## 1126                 5.3875971    1
## 1127                 5.3897238    1
## 1128                 5.3985507    1
## 1129                 5.3995948    1
## 1130                 5.4047622    1
## 1131                 5.4115753    1
## 1132                 5.4116732    1
## 1133                 5.4124658    1
## 1134                 5.4136252    1
## 1135                 5.4154204    1
## 1136                 5.4259261    1
## 1137                 5.4304184    1
## 1138                 5.4344068    1
## 1139                 5.4392036    1
## 1140                 5.4404784    1
## 1141                 5.4500000    1
## 1142                 5.4575165    1
## 1143                 5.4666667    1
## 1144                 5.4672134    1
## 1145                 5.4703461    1
## 1146                 5.4705956    1
## 1147                 5.4758290    1
## 1148                 5.4878049    1
## 1149                 5.4941671    1
## 1150                 5.5000000    1
## 1151                 5.5015968    1
## 1152                 5.5081069    1
## 1153                 5.5092589    1
## 1154                 5.5110000    1
## 1155                 5.5144353    1
## 1156                 5.5158730    1
## 1157                 5.5210497    1
## 1158                 5.5330496    1
## 1159                 5.5333333    1
## 1160                 5.5366679    1
## 1161                 5.5500000    1
## 1162                 5.5544355    1
## 1163                 5.5565095    1
## 1164                 5.5642218    1
## 1165                 5.5649718    1
## 1166                 5.5661694    1
## 1167                 5.5670103    1
## 1168                 5.5722610    1
## 1169                 5.5732021    1
## 1170                 5.5840380    1
## 1171                 5.5883233    1
## 1172                 5.5888980    1
## 1173                 5.5900881    1
## 1174                 5.6000002    1
## 1175                 5.6002363    1
## 1176                 5.6078000    1
## 1177                 5.6099804    1
## 1178                 5.6277056    1
## 1179                 5.6405648    1
## 1180                 5.6443596    1
## 1181                 5.6459128    1
## 1182                 5.6548824    1
## 1183                 5.6594889    1
## 1184                 5.6666667    5
## 1185                 5.6666668    1
## 1186                 5.6759620    1
## 1187                 5.6768862    1
## 1188                 5.6794068    1
## 1189                 5.6800319    1
## 1190                 5.6801429    1
## 1191                 5.6860386    1
## 1192                 5.6906667    1
## 1193                 5.7017541    1
## 1194                 5.7031250    1
## 1195                 5.7127155    1
## 1196                 5.7180042    1
## 1197                 5.7186245    1
## 1198                 5.7228067    1
## 1199                 5.7241284    1
## 1200                 5.7291132    1
## 1201                 5.7404319    1
## 1202                 5.7404321    1
## 1203                 5.7496244    1
## 1204                 5.7500940    1
## 1205                 5.7534615    1
## 1206                 5.7555938    1
## 1207                 5.7666667    1
## 1208                 5.7678534    1
## 1209                 5.7741669    1
## 1210                 5.7833333    1
## 1211                 5.7908197    1
## 1212                 5.8114115    1
## 1213                 5.8141840    1
## 1214                 5.8176385    1
## 1215                 5.8232292    1
## 1216                 5.8273784    1
## 1217                 5.8322031    1
## 1218                 5.8333333    3
## 1219                 5.8450000    2
## 1220                 5.8494130    1
## 1221                 5.8549403    1
## 1222                 5.8575674    1
## 1223                 5.8682882    1
## 1224                 5.8704754    1
## 1225                 5.8712121    1
## 1226                 5.8750002    1
## 1227                 5.8796295    1
## 1228                 5.8809527    1
## 1229                 5.8861949    1
## 1230                 5.8932069    1
## 1231                 5.9009009    2
## 1232                 5.9033605    1
## 1233                 5.9113181    2
## 1234                 5.9129014    1
## 1235                 5.9235213    1
## 1236                 5.9333333    1
## 1237                 5.9563864    1
## 1238                 5.9570986    1
## 1239                 5.9867811    1
## 1240                 5.9957709    1
## 1241                 5.9966773    1
## 1242                 5.9996446    1
## 1243                 6.0000000    6
## 1244                 6.0120000    1
## 1245                 6.0139603    1
## 1246                 6.0153082    1
## 1247                 6.0203497    1
## 1248                 6.0217569    1
## 1249                 6.0234816    1
## 1250                 6.0281380    1
## 1251                 6.0302925    1
## 1252                 6.0370374    1
## 1253                 6.0406569    1
## 1254                 6.0603545    1
## 1255                 6.0635404    1
## 1256                 6.0704953    1
## 1257                 6.0777758    1
## 1258                 6.0804353    1
## 1259                 6.0828437    1
## 1260                 6.0876307    1
## 1261                 6.0897438    1
## 1262                 6.0913226    1
## 1263                 6.0913229    1
## 1264                 6.0914413    1
## 1265                 6.0919531    1
## 1266                 6.0936567    1
## 1267                 6.0940022    1
## 1268                 6.0973085    1
## 1269                 6.1000000    1
## 1270                 6.1007810    1
## 1271                 6.1064425    1
## 1272                 6.1091048    1
## 1273                 6.1098738    1
## 1274                 6.1111111    1
## 1275                 6.1240014    1
## 1276                 6.1240310    1
## 1277                 6.1297518    1
## 1278                 6.1591697    1
## 1279                 6.1602719    1
## 1280                 6.1647393    1
## 1281                 6.1666667    5
## 1282                 6.1667372    1
## 1283                 6.1790000    5
## 1284                 6.1815396    1
## 1285                 6.1819817    1
## 1286                 6.1831150    1
## 1287                 6.1982323    1
## 1288                 6.2014815    1
## 1289                 6.2037039    1
## 1290                 6.2121212    1
## 1291                 6.2143865    1
## 1292                 6.2166667    1
## 1293                 6.2203395    1
## 1294                 6.2394889    1
## 1295                 6.2399012    1
## 1296                 6.2559017    1
## 1297                 6.2619401    1
## 1298                 6.2676056    1
## 1299                 6.2758394    1
## 1300                 6.2762641    1
## 1301                 6.2768730    1
## 1302                 6.2843418    1
## 1303                 6.2883590    1
## 1304                 6.2962963    1
## 1305                 6.3036757    1
## 1306                 6.3111355    1
## 1307                 6.3181894    1
## 1308                 6.3257576    1
## 1309                 6.3333333    9
## 1310                 6.3460000    3
## 1311                 6.3494918    1
## 1312                 6.3514070    1
## 1313                 6.3626584    1
## 1314                 6.3644510    1
## 1315                 6.3675214    1
## 1316                 6.3715278    1
## 1317                 6.3754613    1
## 1318                 6.3827048    1
## 1319                 6.3856098    1
## 1320                 6.3861550    1
## 1321                 6.3890669    1
## 1322                 6.3936659    1
## 1323                 6.4019140    1
## 1324                 6.4026403    1
## 1325                 6.4287287    1
## 1326                 6.4301636    2
## 1327                 6.4344474    1
## 1328                 6.4381361    1
## 1329                 6.4398249    1
## 1330                 6.4447335    1
## 1331                 6.4498828    1
## 1332                 6.4500000    1
## 1333                 6.4537463    1
## 1334                 6.4553992    1
## 1335                 6.4578263    1
## 1336                 6.4589395    1
## 1337                 6.4647088    1
## 1338                 6.4666667    1
## 1339                 6.4716312    1
## 1340                 6.4743877    1
## 1341                 6.4748350    1
## 1342                 6.4883262    1
## 1343                 6.4989592    1
## 1344                 6.5000000    3
## 1345                 6.5001218    1
## 1346                 6.5104121    1
## 1347                 6.5130000    1
## 1348                 6.5172275    1
## 1349                 6.5186212    1
## 1350                 6.5190962    1
## 1351                 6.5195391    1
## 1352                 6.5277553    1
## 1353                 6.5294118    1
## 1354                 6.5361232    1
## 1355                 6.5384618    1
## 1356                 6.5509259    1
## 1357                 6.5547430    1
## 1358                 6.5718608    1
## 1359                 6.5727703    1
## 1360                 6.5819238    1
## 1361                 6.5842311    1
## 1362                 6.5869478    1
## 1363                 6.5916510    1
## 1364                 6.5922769    1
## 1365                 6.5939096    1
## 1366                 6.5999602    1
## 1367                 6.6002950    1
## 1368                 6.6019042    1
## 1369                 6.6079730    1
## 1370                 6.6082541    1
## 1371                 6.6114698    1
## 1372                 6.6142675    1
## 1373                 6.6163281    1
## 1374                 6.6166667    2
## 1375                 6.6210047    1
## 1376                 6.6219951    1
## 1377                 6.6313118    1
## 1378                 6.6504884    1
## 1379                 6.6666667    9
## 1380                 6.6681228    1
## 1381                 6.6833333    1
## 1382                 6.6879247    1
## 1383                 6.6958282    1
## 1384                 6.7009416    1
## 1385                 6.7049404    1
## 1386                 6.7099567    1
## 1387                 6.7105261    1
## 1388                 6.7206880    1
## 1389                 6.7294611    1
## 1390                 6.7300028    1
## 1391                 6.7310629    1
## 1392                 6.7320332    1
## 1393                 6.7325583    1
## 1394                 6.7329580    1
## 1395                 6.7341093    1
## 1396                 6.7352881    1
## 1397                 6.7366687    1
## 1398                 6.7500000    1
## 1399                 6.7556088    1
## 1400                 6.7611541    1
## 1401                 6.7625571    1
## 1402                 6.7628062    1
## 1403                 6.7628205    1
## 1404                 6.7647661    1
## 1405                 6.7661692    1
## 1406                 6.7741818    1
## 1407                 6.7751737    1
## 1408                 6.7753623    1
## 1409                 6.7857548    1
## 1410                 6.7946480    1
## 1411                 6.7950555    1
## 1412                 6.7962954    1
## 1413                 6.8007660    1
## 1414                 6.8018067    1
## 1415                 6.8139850    1
## 1416                 6.8225630    1
## 1417                 6.8225632    1
## 1418                 6.8315455    1
## 1419                 6.8366040    1
## 1420                 6.8378390    1
## 1421                 6.8385366    1
## 1422                 6.8438720    1
## 1423                 6.8470000    1
## 1424                 6.8659807    1
## 1425                 6.8717949    1
## 1426                 6.8728518    1
## 1427                 6.8741450    1
## 1428                 6.8750000    1
## 1429                 6.8813470    1
## 1430                 6.8890766    1
## 1431                 6.8910486    1
## 1432                 6.8990546    1
## 1433                 6.9125683    1
## 1434                 6.9188251    1
## 1435                 6.9216409    1
## 1436                 6.9313319    1
## 1437                 6.9444442    1
## 1438                 6.9472777    1
## 1439                 6.9492654    1
## 1440                 6.9571528    1
## 1441                 6.9620252    1
## 1442                 6.9623896    1
## 1443                 6.9659907    1
## 1444                 6.9722222    1
## 1445                 6.9819820    1
## 1446                 6.9831224    1
## 1447                 6.9841270    1
## 1448                 6.9860507    1
## 1449                 6.9907450    1
## 1450                 6.9918699    1
## 1451                 6.9920774    1
## 1452                 6.9951137    1
## 1453                 6.9983446    1
## 1454                 7.0000000    8
## 1455                 7.0061728    1
## 1456                 7.0075451    1
## 1457                 7.0129870    1
## 1458                 7.0140000    2
## 1459                 7.0213134    1
## 1460                 7.0225626    1
## 1461                 7.0233758    1
## 1462                 7.0233792    1
## 1463                 7.0241689    1
## 1464                 7.0242021    1
## 1465                 7.0316003    1
## 1466                 7.0385201    1
## 1467                 7.0455152    1
## 1468                 7.0572805    3
## 1469                 7.0599254    1
## 1470                 7.0608553    1
## 1471                 7.0679013    1
## 1472                 7.0698925    1
## 1473                 7.0775561    1
## 1474                 7.0847541    1
## 1475                 7.0972050    1
## 1476                 7.1033759    1
## 1477                 7.1052978    1
## 1478                 7.1055167    1
## 1479                 7.1142439    2
## 1480                 7.1149248    1
## 1481                 7.1173226    1
## 1482                 7.1182479    2
## 1483                 7.1183801    1
## 1484                 7.1265087    1
## 1485                 7.1288007    1
## 1486                 7.1288927    1
## 1487                 7.1291471    1
## 1488                 7.1367883    1
## 1489                 7.1374086    1
## 1490                 7.1424180    1
## 1491                 7.1447025    1
## 1492                 7.1479406    1
## 1493                 7.1481700    1
## 1494                 7.1586569    1
## 1495                 7.1666667    8
## 1496                 7.1712078    1
## 1497                 7.1713456    1
## 1498                 7.1749723    1
## 1499                 7.1752263    1
## 1500                 7.1774194    1
## 1501                 7.1785646    1
## 1502                 7.1793378    1
## 1503                 7.1810000    2
## 1504                 7.1878400    1
## 1505                 7.1938978    1
## 1506                 7.1971839    1
## 1507                 7.2041300    1
## 1508                 7.2065707    1
## 1509                 7.2131148    1
## 1510                 7.2222222    1
## 1511                 7.2309432    1
## 1512                 7.2309474    1
## 1513                 7.2333333    1
## 1514                 7.2374429    1
## 1515                 7.2377288    1
## 1516                 7.2380952    1
## 1517                 7.2557433    1
## 1518                 7.2721956    1
## 1519                 7.2735608    1
## 1520                 7.2741904    1
## 1521                 7.2752356    1
## 1522                 7.2817460    1
## 1523                 7.2873563    1
## 1524                 7.2909966    1
## 1525                 7.3000000    2
## 1526                 7.3026565    1
## 1527                 7.3141319    1
## 1528                 7.3290126    1
## 1529                 7.3333333    2
## 1530                 7.3480000    2
## 1531                 7.3596402    1
## 1532                 7.3605313    1
## 1533                 7.3774630    2
## 1534                 7.3931624    1
## 1535                 7.3988233    1
## 1536                 7.4072676    1
## 1537                 7.4186187    1
## 1538                 7.4255531    1
## 1539                 7.4293785    1
## 1540                 7.4337303    1
## 1541                 7.4456501    1
## 1542                 7.4484800    1
## 1543                 7.4580095    1
## 1544                 7.4688713    1
## 1545                 7.4734607    1
## 1546                 7.4751233    1
## 1547                 7.4861777    1
## 1548                 7.4898575    1
## 1549                 7.4908767    1
## 1550                 7.5000000    6
## 1551                 7.5115055    1
## 1552                 7.5137838    1
## 1553                 7.5150000    1
## 1554                 7.5170652    1
## 1555                 7.5196744    1
## 1556                 7.5200273    1
## 1557                 7.5246506    1
## 1558                 7.5256793    1
## 1559                 7.5274785    1
## 1560                 7.5399138    1
## 1561                 7.5671423    1
## 1562                 7.5672043    1
## 1563                 7.5682870    1
## 1564                 7.5688704    1
## 1565                 7.5861822    1
## 1566                 7.5961538    1
## 1567                 7.5968989    1
## 1568                 7.5981406    1
## 1569                 7.6147167    1
## 1570                 7.6190480    1
## 1571                 7.6263330    1
## 1572                 7.6282051    1
## 1573                 7.6304283    1
## 1574                 7.6378241    1
## 1575                 7.6458001    1
## 1576                 7.6469493    1
## 1577                 7.6508554    1
## 1578                 7.6587302    1
## 1579                 7.6627961    1
## 1580                 7.6666667    4
## 1581                 7.6820000    1
## 1582                 7.6823600    2
## 1583                 7.6837492    1
## 1584                 7.6903987    2
## 1585                 7.6996950    1
## 1586                 7.7083333    1
## 1587                 7.7304651    1
## 1588                 7.7339528    1
## 1589                 7.7619048    1
## 1590                 7.7711335    1
## 1591                 7.7799895    1
## 1592                 7.7806763    1
## 1593                 7.7833333    1
## 1594                 7.7835218    2
## 1595                 7.7892691    1
## 1596                 7.7917298    1
## 1597                 7.7927928    1
## 1598                 7.7948634    1
## 1599                 7.7968032    1
## 1600                 7.8037336    1
## 1601                 7.8214763    1
## 1602                 7.8232602    1
## 1603                 7.8306553    1
## 1604                 7.8333333    4
## 1605                 7.8374447    1
## 1606                 7.8390749    1
## 1607                 7.8440709    1
## 1608                 7.8468207    1
## 1609                 7.8538815    1
## 1610                 7.8559846    1
## 1611                 7.8561626    1
## 1612                 7.8595415    1
## 1613                 7.8745176    1
## 1614                 7.8835470    1
## 1615                 7.8855721    1
## 1616                 7.8882751    1
## 1617                 7.8946172    1
## 1618                 7.9014773    1
## 1619                 7.9015843    1
## 1620                 7.9065704    1
## 1621                 7.9122807    1
## 1622                 7.9170683    1
## 1623                 7.9292933    1
## 1624                 7.9427741    1
## 1625                 7.9520959    1
## 1626                 7.9540197    1
## 1627                 7.9572307    1
## 1628                 7.9618478    1
## 1629                 7.9655529    1
## 1630                 7.9824559    1
## 1631                 7.9825523    1
## 1632                 7.9897274    1
## 1633                 7.9997780    1
## 1634                 8.0000000    2
## 1635                 8.0028736    1
## 1636                 8.0160000    2
## 1637                 8.0271639    3
## 1638                 8.0349714    1
## 1639                 8.0424346    1
## 1640                 8.0465254    1
## 1641                 8.0478959    1
## 1642                 8.0542820    1
## 1643                 8.0639517    1
## 1644                 8.0666667    1
## 1645                 8.0745482    1
## 1646                 8.0930414    1
## 1647                 8.1012056    1
## 1648                 8.1018519    1
## 1649                 8.1089744    1
## 1650                 8.1111111    1
## 1651                 8.1118513    1
## 1652                 8.1212121    1
## 1653                 8.1403367    1
## 1654                 8.1465407    1
## 1655                 8.1481481    1
## 1656                 8.1498471    1
## 1657                 8.1500000    1
## 1658                 8.1592040    1
## 1659                 8.1666667    4
## 1660                 8.1765517    1
## 1661                 8.1793684    1
## 1662                 8.1821057    1
## 1663                 8.1830000    1
## 1664                 8.1951151    1
## 1665                 8.2182794    1
## 1666                 8.2283607    1
## 1667                 8.2323400    1
## 1668                 8.2696246    1
## 1669                 8.2795699    1
## 1670                 8.2843137    1
## 1671                 8.2911843    1
## 1672                 8.2989691    1
## 1673                 8.3000000    1
## 1674                 8.3132787    1
## 1675                 8.3281809    1
## 1676                 8.3333333    7
## 1677                 8.3396752    1
## 1678                 8.3441558    1
## 1679                 8.3500000    1
## 1680                 8.3558884    1
## 1681                 8.3598291    1
## 1682                 8.3661349    1
## 1683                 8.3687943    1
## 1684                 8.3719559    1
## 1685                 8.3734433    1
## 1686                 8.3786519    1
## 1687                 8.3790025    1
## 1688                 8.3805477    1
## 1689                 8.3861947    1
## 1690                 8.3888889    1
## 1691                 8.3908046    1
## 1692                 8.3910498    1
## 1693                 8.3950615    1
## 1694                 8.4049637    1
## 1695                 8.4055242    1
## 1696                 8.4210526    1
## 1697                 8.4217951    1
## 1698                 8.4249084    1
## 1699                 8.4311771    1
## 1700                 8.4333333    1
## 1701                 8.4363733    1
## 1702                 8.4504117    1
## 1703                 8.4620786    1
## 1704                 8.4673431    1
## 1705                 8.4676932    1
## 1706                 8.4691386    1
## 1707                 8.4703873    1
## 1708                 8.4769222    1
## 1709                 8.4799449    1
## 1710                 8.4824284    1
## 1711                 8.4850123    1
## 1712                 8.5000000    5
## 1713                 8.5153929    1
## 1714                 8.5170000    1
## 1715                 8.5202970    1
## 1716                 8.5205992    1
## 1717                 8.5309489    1
## 1718                 8.5355218    1
## 1719                 8.5436875    1
## 1720                 8.5696093    1
## 1721                 8.5714286    1
## 1722                 8.5763032    1
## 1723                 8.5835040    1
## 1724                 8.5835965    1
## 1725                 8.5878135    1
## 1726                 8.5878341    1
## 1727                 8.5947712    1
## 1728                 8.5951003    1
## 1729                 8.5959110    1
## 1730                 8.6035078    1
## 1731                 8.6112135    1
## 1732                 8.6162866    1
## 1733                 8.6294827    1
## 1734                 8.6342593    1
## 1735                 8.6346870    1
## 1736                 8.6401065    1
## 1737                 8.6420778    1
## 1738                 8.6436783    1
## 1739                 8.6484122    1
## 1740                 8.6569901    1
## 1741                 8.6603620    1
## 1742                 8.6643272    1
## 1743                 8.6666667    1
## 1744                 8.6687517    1
## 1745                 8.6688110    1
## 1746                 8.6777312    1
## 1747                 8.6791934    1
## 1748                 8.6798919    1
## 1749                 8.6814934    1
## 1750                 8.6833333    1
## 1751                 8.6840000    3
## 1752                 8.6991866    1
## 1753                 8.7025786    1
## 1754                 8.7054187    1
## 1755                 8.7092356    1
## 1756                 8.7121209    1
## 1757                 8.7124500    1
## 1758                 8.7179486    1
## 1759                 8.7232086    1
## 1760                 8.7234043    1
## 1761                 8.7296908    1
## 1762                 8.7343835    1
## 1763                 8.7359580    1
## 1764                 8.7380952    1
## 1765                 8.7393367    1
## 1766                 8.7476545    1
## 1767                 8.7575361    2
## 1768                 8.7644647    1
## 1769                 8.7669285    1
## 1770                 8.7768428    1
## 1771                 8.7810945    1
## 1772                 8.7840799    1
## 1773                 8.7878788    1
## 1774                 8.7887701    1
## 1775                 8.7914721    1
## 1776                 8.7919382    1
## 1777                 8.7935238    1
## 1778                 8.7942692    1
## 1779                 8.8003537    1
## 1780                 8.8018447    1
## 1781                 8.8039216    1
## 1782                 8.8083560    1
## 1783                 8.8090631    1
## 1784                 8.8099758    1
## 1785                 8.8166667    3
## 1786                 8.8172046    1
## 1787                 8.8282850    1
## 1788                 8.8333333    4
## 1789                 8.8354788    1
## 1790                 8.8397676    1
## 1791                 8.8557214    1
## 1792                 8.8587347    2
## 1793                 8.8636364    1
## 1794                 8.8652482    1
## 1795                 8.8736092    1
## 1796                 8.8788836    1
## 1797                 8.8833201    1
## 1798                 8.8833243    1
## 1799                 8.8888892    1
## 1800                 8.8904502    1
## 1801                 8.9048865    1
## 1802                 8.9082361    1
## 1803                 8.9102244    1
## 1804                 8.9107396    1
## 1805                 8.9192457    1
## 1806                 8.9439685    1
## 1807                 8.9441651    1
## 1808                 8.9515943    1
## 1809                 8.9702379    1
## 1810                 8.9765196    1
## 1811                 8.9853184    1
## 1812                 8.9880951    1
## 1813                 8.9979683    1
## 1814                 9.0000000    4
## 1815                 9.0025684    1
## 1816                 9.0079909    2
## 1817                 9.0098079    1
## 1818                 9.0108497    1
## 1819                 9.0180000    2
## 1820                 9.0212168    1
## 1821                 9.0443131    1
## 1822                 9.0476190    1
## 1823                 9.0500000    1
## 1824                 9.0648471    1
## 1825                 9.0726119    1
## 1826                 9.0735344    1
## 1827                 9.0758634    1
## 1828                 9.0832875    1
## 1829                 9.1111562    1
## 1830                 9.1186250    1
## 1831                 9.1301922    1
## 1832                 9.1304350    1
## 1833                 9.1321831    1
## 1834                 9.1497750    1
## 1835                 9.1571114    1
## 1836                 9.1666667    1
## 1837                 9.1708308    1
## 1838                 9.1713546    1
## 1839                 9.1822773    1
## 1840                 9.1825341    1
## 1841                 9.1830065    1
## 1842                 9.1850000    3
## 1843                 9.1902829    1
## 1844                 9.1913072    1
## 1845                 9.2053749    1
## 1846                 9.2107171    1
## 1847                 9.2312671    1
## 1848                 9.2500003    1
## 1849                 9.2550309    1
## 1850                 9.2589918    1
## 1851                 9.2666667    1
## 1852                 9.2701101    1
## 1853                 9.2818004    1
## 1854                 9.2875593    1
## 1855                 9.3000000    1
## 1856                 9.3232707    1
## 1857                 9.3248138    1
## 1858                 9.3293571    1
## 1859                 9.3333333    3
## 1860                 9.3450456    1
## 1861                 9.3452382    1
## 1862                 9.3500000    1
## 1863                 9.3520000    2
## 1864                 9.3666667    1
## 1865                 9.3759859    1
## 1866                 9.3859685    1
## 1867                 9.4500000    2
## 1868                 9.4637991    1
## 1869                 9.4662036    1
## 1870                 9.4666667    1
## 1871                 9.4725564    1
## 1872                 9.4845364    1
## 1873                 9.5000000    1
## 1874                 9.5141315    1
## 1875                 9.5166667    1
## 1876                 9.5190000    2
## 1877                 9.5532028    1
## 1878                 9.5635537    1
## 1879                 9.5710120    1
## 1880                 9.5827453    1
## 1881                 9.5966429    1
## 1882                 9.6860000    1
## 1883                 9.6974635    1
## 1884                 9.8166667    1
## 1885                        NA 1553
# Standard deviation

sd(econ_freedom$X2a_judicial_independence, na.rm = TRUE)
## [1] 2.24967

QUESTION 3

A frequency distribution and relative frequency distribution for a key categorical variable

library ('data.table')
## 
## Attaching package: 'data.table'
## The following objects are masked from 'package:lubridate':
## 
##     hour, isoweek, mday, minute, month, quarter, second, wday, week,
##     yday, year
## The following objects are masked from 'package:dplyr':
## 
##     between, first, last
## The following object is masked from 'package:purrr':
## 
##     transpose
library(lattice)

# Frequency Distribution

freq <- table(econ_freedom$ECONOMIC.FREEDOM)
barplot(freq)

# Relative Frequency

relative_freq <- table(freq) / length(freq) *100
relative_freq
## freq
##          1          2          3          4          5          6          7 
## 22.4952741 10.9640832  9.2627599  7.5614367  5.2930057  6.2381853  6.2381853 
##          8          9         10         11         12         13         14 
##  4.5368620  5.1039698  5.6710775  4.7258979  3.7807183  1.8903592  2.2684310 
##         15         16         17         18         19         20         21 
##  1.7013233  0.9451796  0.5671078  0.1890359  0.1890359  0.1890359  0.1890359
histogram(econ_freedom$ECONOMIC.FREEDOM)

QUESTION 4

4. A contingency table for two categorical variables.

setwd("C:/Users/StarKid/Desktop/Data_Science/Data_101/week_5/project3/WDI_CSV")
nba <- read.csv("all_seasons.csv")

str(nba)
## 'data.frame':    12305 obs. of  22 variables:
##  $ X                : int  0 1 2 3 4 5 6 7 8 9 ...
##  $ player_name      : chr  "Dennis Rodman" "Dwayne Schintzius" "Earl Cureton" "Ed O'Bannon" ...
##  $ team_abbreviation: chr  "CHI" "LAC" "TOR" "DAL" ...
##  $ age              : num  36 28 39 24 34 38 25 28 29 28 ...
##  $ player_height    : num  198 216 206 203 206 ...
##  $ player_weight    : num  99.8 117.9 95.3 100.7 108.9 ...
##  $ college          : chr  "Southeastern Oklahoma State" "Florida" "Detroit Mercy" "UCLA" ...
##  $ country          : chr  "USA" "USA" "USA" "USA" ...
##  $ draft_year       : chr  "1986" "1990" "1979" "1995" ...
##  $ draft_round      : chr  "2" "1" "3" "1" ...
##  $ draft_number     : chr  "27" "24" "58" "9" ...
##  $ gp               : int  55 15 9 64 27 52 80 77 71 82 ...
##  $ pts              : num  5.7 2.3 0.8 3.7 2.4 8.2 17.2 14.9 5.7 6.9 ...
##  $ reb              : num  16.1 1.5 1 2.3 2.4 2.7 4.1 8 1.6 1.5 ...
##  $ ast              : num  3.1 0.3 0.4 0.6 0.2 1 3.4 1.6 1.3 3 ...
##  $ net_rating       : num  16.1 12.3 -2.1 -8.7 -11.2 4.1 4.1 3.3 -0.3 -1.2 ...
##  $ oreb_pct         : num  0.186 0.078 0.105 0.06 0.109 0.034 0.035 0.095 0.036 0.018 ...
##  $ dreb_pct         : num  0.323 0.151 0.102 0.149 0.179 0.126 0.091 0.183 0.076 0.081 ...
##  $ usg_pct          : num  0.1 0.175 0.103 0.167 0.127 0.22 0.209 0.222 0.172 0.177 ...
##  $ ts_pct           : num  0.479 0.43 0.376 0.399 0.611 0.541 0.559 0.52 0.539 0.557 ...
##  $ ast_pct          : num  0.113 0.048 0.148 0.077 0.04 0.102 0.149 0.087 0.141 0.262 ...
##  $ season           : chr  "1996-97" "1996-97" "1996-97" "1996-97" ...
draft_percollege <- table(nba$college, nba$draft_round)
#view(draft_percollege)
table(nba$college, nba$draft_round)
##                                          
##                                              0    1    2    3    4    6    7
##                                              0    4    0    0    0    0    0
##                                              0    0    1    0    0    0    0
##   Alabama                                    0   77   18    0    0    0    0
##   Alabama-Birmingham                         0    0    1    0    0    0    0
##   Alabama A&M                                0    0    0    0    0    0    0
##   Alabama Huntsville                         1    0    0    0    0    0    0
##   Albany State (GA)                          0    0    0    0    0    0    0
##   American International                     0    0    0    0    0    0    5
##   American University                        0    0    0    0    0    0    0
##   Arizona                                    3  186   77    0    0    0    0
##   Arizona St.                                0    0    0    0    0    0    0
##   Arizona State                              0   26   24    0    0    0    0
##   Arkansas                                   0   61   21    0    0    0    0
##   Arkansas-Little Rock                       0   18    0    0    0    1    0
##   Auburn                                     0   28    7    0    0    0    0
##   Auburn-Montgomery                          0    0    0    0    0    0    0
##   Augsburg                                   0   11    0    0    0    0    0
##   Augusta State                              0    0    0    0    0    0    0
##   Augustana (SD)                             0    0    0    0    0    0    0
##   Austin Peay                                0    0   10    0    0    0    0
##   Ball State                                 0   10    0    0    0    0    0
##   Barton Community College                   0    2    0    0    0    0    0
##   Baylor                                     0   31   16    0    0    0    0
##   Belmont                                    0    2    0    0    0    0    0
##   Blinn                                      0    0    0    0    0    0    0
##   Boise State                                0    4    0    0    0    0    0
##   Boston College                             0   44   16    0    0    0    0
##   Boston U.                                  0    0    0    0    0    0    0
##   Bowling Green                              0   13    7    0    0    0    0
##   Bradley                                    0   18    0    0    0    0    0
##   Brigham Young                              0   18    2    0    0    0    0
##   Brigham Young-Hawaii                       0    0    0    0    0    0    0
##   Bucknell                                   0    0    9    0    0    0    0
##   Butler                                     0   12    8    0    0    0    0
##   Butler Community College                   0    0   14    0    0    0    0
##   Cal-Santa Barbara                          0    0    0    0    0    0    0
##   Cal Poly                                   0    0    0    0    0    0    0
##   Cal State-Bakersfield                      0    0    1    0    0    0    0
##   Cal State-Fullerton                        0    0    8    0    0    0    0
##   Cal State-Long Beach                       0    0    3    0    0    0    0
##   Cal State-San Bernardino                   0    0    0    0    0    0    0
##   California                                 0   61   44    0    0    0    0
##   California-Berkeley                        0    0    0    0    0    0    0
##   California-Irvine                          0    0    0    0    0    0    0
##   California-Los Angeles                     0    1    2    0    0    0    0
##   California-Santa Barbara                   0    7    3    0    0    0    0
##   California State-Long Beach                0    0    2    0    0    0    0
##   Campbell University                        0    0    0    0    0    0    0
##   Centenary (LA)                             0    1    0    0    0    0    0
##   Central Arkansas                           0    8    0    0    0    0    0
##   Central Connecticut State                  0    0    1    0    0    0    0
##   Central Florida                            0    0    2    0    1    0    0
##   Central Michigan                           0   19    0    0    0    0    0
##   Central Oklahoma                           0    0    0    0    0    0    0
##   Central State (OH)                         0    2    0    0    0    0    0
##   Chicago St.                                0    0    0    0    0    0    0
##   Cincinnati                                 0   52   37    0    0    0    0
##   Clemson                                    0   38   24    0    0    0    0
##   Cleveland State                            0    6    0    0    0    0    0
##   Colgate                                    0   12    0    0    0    0    0
##   College of Charleston                      0    0   19    0    0    0    0
##   Colorado                                   0   44   11    0    0    0    0
##   Colorado State                             0   11    0    0    0    0    0
##   Connecticut                                0  176   33    0    0    0    0
##   Coppin State                               0    0    0    0    0    0    0
##   Cornell                                    0    0    0    0    0    0    0
##   Creighton                                  0   16   25    0    0    0    0
##   Davidson                                   0   13    0    0    0    0    0
##   Dayton                                     0    2    3    0    0    0    0
##   Delaware                                   0    0    0    0    0    0    0
##   Delaware State                             0    0    0    0    0    0    0
##   Delta State                                0    0    0    0    0    0    0
##   Denver                                     0    0    0    0    0    0    0
##   DePaul                                     0   49   17    0    0    0    0
##   Detroit Mercy                              0    0   16    1    0    0    0
##   Drexel                                     0    0   13    0    0    0    0
##   Duke                                       0  283   62    0    0    0    0
##   Duquesne                                   0    0    1    0    0    0    0
##   East Carolina                              0    3    0    0    0    0    0
##   Eastern Illinois                           0    0    1    0    0    0    0
##   Eastern Michigan                           0    0   11    0    0    0    0
##   Eastern Washington                         0   10    0    0    0    0    0
##   Fairfield                                  0    0    0    0    0    0    0
##   Fayetteville State                         0    0    0    0    0    0    0
##   Florida                                    0  110   43    0    0    0    0
##   Florida A&M                                0    0    9    0    0    0    0
##   Florida Gulf Coast                         0    0    0    0    0    0    0
##   Florida International                      0    0    0    0    0    0    0
##   Florida State                              0   67   22    0    0    0    0
##   Fordham                                    0    0    0    0    0    0    0
##   Fresno State                               0   26   24    0    0    0    0
##   George Mason                               0    0    0    0    0    0    0
##   George Washington                          0    2    0    1    0    0    0
##   Georgetown                                 0  100   39    0    0    0    0
##   Georgia                                    0   29   18    0    0    0    0
##   Georgia Institute of Technology            0    1    0    0    0    0    0
##   Georgia Southern                           0    0    0    0    0    0    0
##   Georgia State                              0    4    0    0    0    0    0
##   Georgia Tech                               0  141   16    0    0    0    0
##   Gonzaga                                    1   49   15    0    0    0    0
##   Grand Canyon                               0    0    0    0    0    0    0
##   Hampton                                    0    0    3    0    0    0    0
##   Hartford                                   0   10    0    0    0    0    0
##   Harvard                                    0    0    0    0    0    0    0
##   Hawaii                                     0    0    0    0    0    0    0
##   Hofstra                                    0    7    3    0    0    0    0
##   Holy Cross                                 0    0    0    0    0    0    0
##   Houston                                    0   11   18    0    0    0    0
##   Idaho                                      0    0    3    0    0    0    0
##   Illinois                                   0   58   10    0    0    0    0
##   Illinois State                             0    0    0    0    0    0    0
##   Indian Hills Community College             0    0    1    0    0    0    0
##   Indiana                                    0   92   18    0    0    0    0
##   Indiana-Purdue Fort Wayne                  0    0    0    0    0    0    0
##   Indiana-Purdue Indianapolis                0    3    0    0    0    0    0
##   Indiana Purdue-Indianapolis                0    9    0    0    0    0    0
##   Iona                                       0    0    0    0    0    0    0
##   Iowa                                       0   17   16    1    0    0    0
##   Iowa State                                 0   37   37    0    0    0    0
##   Jackson State                              0   14    0    0    0    0    0
##   Jacksonville                               0    6    0    0    0    0    0
##   Jacksonville State                         0    0    0    0    1    0    0
##   Kansas                                     0  215   43    0    0    0    0
##   Kansas State                               0   17   12    0    0    0    0
##   Kent State                                 0    0    0    0    0    0    0
##   Kentucky                                   0  318   62    0    0    0    0
##   La Salle                                   0    1   20    0    0    0    0
##   Lamar                                      0    0    0    0    0    0    0
##   Le Moyne                                   0    7    0    0    0    0    0
##   Lebanon Valley                             0    0    0    0    0    0    0
##   Lehigh                                     0    9    0    0    0    0    0
##   Liberty                                    0    0    0    0    0    0    0
##   Lincoln Memorial                           0    0    0    0    0    0    0
##   Lipscomb                                   0    0    0    0    0    0    0
##   Long Beach State                           0    0   24    0    0    0    0
##   Long Island-Brooklyn                       0    0    0    0    0    0    0
##   Longwood                                   0    0    5    0    0    0    0
##   Louisana-Lafayette                         0    5    0    0    0    0    0
##   Louisiana-Lafayette                        0    3    4    0    0    0    0
##   Louisiana-Monroe                           0    0    1    0    0    0    0
##   Louisiana State                            0   54   57    0    0    0    0
##   Louisiana Tech                             0    8   28    0    0    0    0
##   Louisville                                 0   69   20    0    0    0    0
##   Loyola-Maryland                            0    1    0    0    0    0    0
##   Loyola (IL)                                0    0    0    0    0    0    0
##   LSU                                        0    0    1    0    0    0    0
##   Manhattan                                  0    0    1    0    0    0    0
##   Marist                                     0    4    0    0    0    0    0
##   Marquette                                  0   35   47    0    0    0    0
##   Marshall                                   0    0   13    0    0    0    0
##   Maryland                                   0   75   50    0    0    0    0
##   Massachusetts                              0   17    4    0    0    0    0
##   Master's                                   0    0    0    0    0    0    0
##   McNeese State                              0    3    0    0    0    0    0
##   Memphis                                    0   73   35    0    0    0    0
##   Mercer                                     0    0    0    6    0    0    0
##   Meridian Community College                 0    0    0    0    0    0    0
##   Miami                                      0    5    8    0    0    0    0
##   Miami (FL)                                 0   19   15    0    0    0    0
##   Miami (Fla.)                               0    0    0    0    0    0    0
##   Miami (OH)                                 0   15    0    0    0    0    0
##   Michigan                                   0  145   26    0    0    0    0
##   Michigan State                             0  107   46    0    0    0    0
##   Midland                                    0    0    2    0    0    0    0
##   Midwestern State                           0    0    0    0    0    0    0
##   Minnesota                                  0   53   12    0    0    0    0
##   Mississippi                                0    0    7    0    0    0    0
##   Mississippi State                          0   19   12    0    0    0    0
##   Missouri                                   0   50    9    0    0    0    0
##   Missouri-Kansas City                       0    2    0    0    0    0    0
##   Missouri State                             0    0    4    0    0    0    0
##   Molloy                                     0    0    0    0    0    0    0
##   Montana                                    0    0    1    0    0    0    0
##   Montana State                              0    0    0    0    0    0    0
##   Montevallo                                 0    0    0    0    0    0    0
##   Morehead State                             0    8    1    0    0    0    0
##   Morehouse                                  0    0    0    0    0    0    0
##   Mt. San Antonio                            0    0    0    0    0    0    0
##   Murray State                               0   10   16    0    0    0    0
##   Navy                                       0    7    0    0    0    0    0
##   Nebraska                                   0   23    1    0    0    0    0
##   Nebraska-Lincoln                           0    0    3    0    0    0    0
##   Nevada                                     0   20   14    0    0    0    0
##   Nevada-Las Vegas                           0   67    2    0    0    0    0
##   Nevada-Reno                                0    6    4    0    0    0    0
##   New Mexico                                 0   40    3    0    0    0    0
##   New Mexico State                           0    6    7    0    0    0    0
##   New Orleans                                0   10    2    0    0    0    0
##   Nicholls State                             0    0    0    0    0    0    0
##   No College                                 0    1    1    0    0    0    0
##   None                                       0 1103  452    0    0    1    0
##   Norfolk State                              0    0    8    0    0    0    0
##   North Carolina                             0  288   33    0    0    0    0
##   North Carolina-Charlotte                   0    4    1    0    0    0    0
##   North Carolina-Wilmington                  0    0    1    0    0    0    0
##   North Carolina State                       0   40   20    0    1    0    0
##   North Dakota                               0    0    1    0    0    0    0
##   North Texas                                0    0    1    0    0    0    0
##   Northeast Mississippi Community College    0    4    0    0    0    0    0
##   Northeastern                               0    0    0    0    0    0    0
##   Northern Arizona                           0    0    1    0    0    0    0
##   Northern Illinois                          0    0    0    0    0    0    0
##   Northwest Florida State                    0    4    0    0    0    0    0
##   Northwestern                               0    0    4    0    0    0    0
##   Northwestern Oklahoma                      0    0    1    0    0    0    0
##   Northwestern State                         0    0    0    0    0    0    0
##   Notre Dame                                 0   44   13    2    0    2    0
##   Oakland                                    0    0    1    0    0    0    0
##   Ohio                                       0    8    2    0    0    0    0
##   Ohio State                                 0   75   24    0    0    0    0
##   Ohio U.                                    0    0    0    0    0    0    0
##   Oklahoma                                   0   33   20    1    0    0    0
##   Oklahoma State                             0   51    6    0    0    0    0
##   Old Dominion                               0    9    4    0    0    0    0
##   Oral Roberts                               0    0    3    0    0    0    0
##   Oregon                                     0   46   20    0    0    0    0
##   Oregon State                               0   37    0    0    0    0    0
##   Pacific                                    0    9    0    0    0    0    0
##   Penn State                                 0    0   10    1    0    0    0
##   Pennsylvania                               0    0    1    0    0    0    0
##   Pepperdine                                 0   14    3    0    0    0    0
##   Pfeiffer                                   0    0    0    0    0    0    0
##   Pittsburgh                                 0   14   30    0    0    0    0
##   Portland                                   0    0    0    0    0    0    0
##   Portland State                             0    0    0    0    0    0    0
##   Princeton                                  0    0    0    0    0    0    0
##   Providence                                 0   48   17    0    0    0    0
##   Purdue                                     0   13   43    0    0    0    0
##   Radford                                    0    0    0    0    0    0    0
##   Rhode Island                               0   14   12    0    0    0    0
##   Rice                                       0    5    0    0    0    0    0
##   Richmond                                   0    0    9    0    0    0    0
##   Rider                                      0    8    0    0    0    0    0
##   Robert Morris (IL)                         0    0    0    0    0    0    0
##   Rutgers                                    0    3    3    0    0    0    0
##   S.E. Missouri                              0    0    0    0    0    0    0
##   Saint Joseph's                             0   22    0    0    0    0    0
##   Saint Louis                                0   13    0    0    0    0    0
##   Saint Mary's (CA)                          0    0    8    0    0    0    0
##   Saint Rose                                 0    0    0    0    0    0    0
##   Saint Vincent                              0    0    0    0    0    0    0
##   San Diego State                            0   15    6    0    0    0    0
##   San Jose State                             0    6    0    0    0    0    0
##   Santa Clara                                0   18    0    0    0    0    0
##   Seton Hall                                 0   30    3    0    0    0    0
##   Seward County Community College            0    0    1    0    0    0    0
##   Shaw                                       0    0    8    0    0    0    0
##   Siena                                      0    0    0    0    0    0    0
##   South Carolina                             0    6    8    0    0    0    0
##   South Carolina State                       0    0    0    0    0    0    0
##   South Carolina Upstate                     0    0    0    0    0    0    0
##   South Dakota State                         0    0    3    0    0    0    0
##   South Florida                              0    3    8    0    0    0    0
##   Southeastern Illinois                      0    0    2    0    0    0    0
##   Southeastern Oklahoma State                0    0    4    0    0    0    0
##   Southern                                   0    0    4    0    0    0    0
##   Southern California                        0   58   22    0    0    0    0
##   Southern Illinois                          0    0    5    0    0    0    0
##   Southern Methodist                         0    2   14    0    0    0    0
##   Southern Mississippi                       0    9    0    0    0    0    0
##   St. Bonaventure                            0    5    0    0    0    0    0
##   St. John's                                 0    3    0    0    0    0    0
##   St. John's (NY)                            0   52   10    0    0    0    0
##   St. John's, N.Y.                           0    2    0    0    0    0    0
##   St. Joseph's (PA)                          0    3    0    0    0    0    0
##   St. Louis                                  0    0    0    0    0    0    0
##   St. Mary's (CA)                            0    0    2    0    0    0    0
##   St. Mary's (TX)                            0    0    0    0    0    0    0
##   St.Mary's College of California            0    0    3    0    0    0    0
##   Stanford                                   0   85   32    0    0    0    0
##   Stetson                                    0    0    0    0    0    0    0
##   Stony Brook, N.Y.                          0    0    0    0    0    0    0
##   Syracuse                                   0  108   38    0    0    0    0
##   TCU                                        0    2    0    0    0    0    0
##   Temple                                     0   33   13    0    0    0    0
##   Tennessee                                  1   33   20    0    0    0    0
##   Tennessee-Chattanooga                      0    3    3    0    0    0    0
##   Tennessee-Martin                           0    0    4    0    0    0    0
##   Tennessee State                            0    6    0    6    0    0    0
##   Tennessee Tech                             0    0    1    0    0    0    0
##   Texas                                      0   93   30    0    0    0    0
##   Texas-Arlington                            0    0    1    0    0    0    0
##   Texas-Austin                               0   26    5    0    0    0    0
##   Texas-El Paso                              0    7   18    0    0    0    0
##   Texas-San Antonio                          0    0    0    0    0    0    0
##   Texas A&M                                  0   14   24    0    0    0    0
##   Texas Christian                            0   17    6    0    0    0    0
##   Texas Legends                              0    0    0    0    0    0    0
##   Texas State                                0   13    0    0    0    0    0
##   Texas Tech                                 0   19   11    0    0    0    0
##   Thomas More                                0    0    0    0    0    0    0
##   Toledo                                     0    0    1    0    0    0    0
##   Towson                                     0    0    0    0    0    0    0
##   Trinity Valley Community College           0    7    0    0    0    0    0
##   Truman State                               0    0    0    0    0    0    0
##   Tulane                                     0    0    8    0    0    0    0
##   Tulsa                                      0    0   11    0    0    0    0
##   UCF                                        0    0    0    0    0    0    0
##   UCLA                                       0  161  118    0    2    0    0
##   UNC                                        0    1    0    0    0    0    0
##   University of California, Berkeley         0    0    2    0    0    0    0
##   University of Colorado Boulder             0    0    1    0    0    0    0
##   University of Dayton                       0    0    1    0    0    0    0
##   University of Texas at Austin              0    5    0    0    0    0    0
##   UNLV                                       0    2    4    0    0    0    0
##   USC                                        0    8    2    0    0    0    0
##   Utah                                       0   70    2    0    0    0    0
##   Utah State                                 0    0    3    0    0    0    0
##   Utah Valley                                0    0    0    0    0    0    0
##   Va Commonwealth                            0    0    0    0    0    0    0
##   Valparaiso                                 0    6    1    0    0    0    0
##   Vanderbilt                                 0   28   12    0    0    0    0
##   Venezuela                                  0    0    0    0    0    0    0
##   Vermont                                    0    0    0    0    0    0    0
##   Villanova                                  0   71   37    0    0    0    0
##   Virginia                                   0   31   38    0    0    0    0
##   Virginia Commonwealth                      0   12    0    0    0    0    0
##   Virginia Military Institute                0    0    0    0    0    0    0
##   Virginia Tech                              0    9   10    0    0    0    0
##   Virginia Tech                              0    0    0    0    0    0    0
##   Virginia Union                             0    8    0    0    0    0    0
##   Wake Forest                                0  102    9    0    0    0    0
##   Walsh                                      0    0    1    0    0    0    0
##   Washington                                 0   79   24    0    0    0    0
##   Washington State                           0    9    9    1    0    0    0
##   Weber State                                0   10    2    0    0    0    0
##   West Florida                               0    0    9    0    0    0    0
##   West Virginia                              0    2    8    0    0    0    0
##   West Virginia Tech                         0    0    0    0    0    1    0
##   Westchester CC NY                          0    0    0    0    0    0    0
##   Western Carolina                           0   12    1    0    0    0    0
##   Western Kentucky                           0   12   13    0    0    0    0
##   Western Michigan                           0    0    0    0    0    0    0
##   Wheeling Jesuit                            0    0    0    0    0    0    0
##   Wichita State                              0   10    2    0    0    0    0
##   William & Mary                             0    0    0    0    0    0    0
##   William Paterson                           0    0    0    0    0    0    0
##   Wingate                                    0    0    0    0    0    0    0
##   Wisc.-Green Bay                            0    0    0    0    0    0    0
##   Wisconsin                                  0   46    8    0    0    0    0
##   Wisconsin-Green Bay                        0    0    1    0    0    0    0
##   Wisconsin-Stevens Point                    0    6    0    0    0    0    0
##   Wright State                               0   11    0    0    0    0    0
##   Wyoming                                    0   23    2    0    0    0    0
##   Xavier                                     0   51   16    0    0    0    0
##   Yale                                       0    0    3    0    7    0    0
##   Yonsei (KOR)                               0    0    2    0    0    0    0
##                                          
##                                              8 Undrafted
##                                              0         0
##                                              0         0
##   Alabama                                    0        24
##   Alabama-Birmingham                         0         6
##   Alabama A&M                                0         1
##   Alabama Huntsville                         0         1
##   Albany State (GA)                          2         0
##   American International                     0         0
##   American University                        0         2
##   Arizona                                    0        13
##   Arizona St.                                0         1
##   Arizona State                              0        10
##   Arkansas                                   0        23
##   Arkansas-Little Rock                       0         7
##   Auburn                                     0        17
##   Auburn-Montgomery                          0         4
##   Augsburg                                   0         0
##   Augusta State                              0         1
##   Augustana (SD)                             0         1
##   Austin Peay                                0         1
##   Ball State                                 0         2
##   Barton Community College                   0         0
##   Baylor                                     0        22
##   Belmont                                    0         6
##   Blinn                                      0        15
##   Boise State                                0        12
##   Boston College                             0         1
##   Boston U.                                  0         2
##   Bowling Green                              0         4
##   Bradley                                    0         0
##   Brigham Young                              0         5
##   Brigham Young-Hawaii                       0         1
##   Bucknell                                   0         0
##   Butler                                     0         4
##   Butler Community College                   0         0
##   Cal-Santa Barbara                          0         4
##   Cal Poly                                   0         3
##   Cal State-Bakersfield                      0         0
##   Cal State-Fullerton                        0        18
##   Cal State-Long Beach                       0         0
##   Cal State-San Bernardino                   0         2
##   California                                 0        10
##   California-Berkeley                        0         3
##   California-Irvine                          0         2
##   California-Los Angeles                     0         0
##   California-Santa Barbara                   0         7
##   California State-Long Beach                0         0
##   Campbell University                        0         1
##   Centenary (LA)                             0         3
##   Central Arkansas                           0         0
##   Central Connecticut State                  0         3
##   Central Florida                            0         3
##   Central Michigan                           0         1
##   Central Oklahoma                           0         5
##   Central State (OH)                         0         0
##   Chicago St.                                0         1
##   Cincinnati                                 0        14
##   Clemson                                    0         6
##   Cleveland State                            0         1
##   Colgate                                    0         0
##   College of Charleston                      0         2
##   Colorado                                   0         7
##   Colorado State                             0         9
##   Connecticut                                0        21
##   Coppin State                               0         1
##   Cornell                                    0         1
##   Creighton                                  0        14
##   Davidson                                   0         3
##   Dayton                                     0        11
##   Delaware                                   0         1
##   Delaware State                             0         6
##   Delta State                                0         3
##   Denver                                     0         1
##   DePaul                                     0        10
##   Detroit Mercy                              0         7
##   Drexel                                     0         3
##   Duke                                       0        39
##   Duquesne                                   0        12
##   East Carolina                              0         1
##   Eastern Illinois                           0         0
##   Eastern Michigan                           0        15
##   Eastern Washington                         0         1
##   Fairfield                                  0         1
##   Fayetteville State                         0        12
##   Florida                                    0        35
##   Florida A&M                                0         0
##   Florida Gulf Coast                         0         3
##   Florida International                      0        21
##   Florida State                              0         9
##   Fordham                                    0         5
##   Fresno State                               0        20
##   George Mason                               0         1
##   George Washington                          0        12
##   Georgetown                                 0        18
##   Georgia                                    0        13
##   Georgia Institute of Technology            0         0
##   Georgia Southern                           0         9
##   Georgia State                              0         0
##   Georgia Tech                               0        33
##   Gonzaga                                    0        17
##   Grand Canyon                               0         2
##   Hampton                                    0         1
##   Hartford                                   0         0
##   Harvard                                    0         9
##   Hawaii                                     0        14
##   Hofstra                                    0         1
##   Holy Cross                                 0         3
##   Houston                                    0        41
##   Idaho                                      0         0
##   Illinois                                   0         4
##   Illinois State                             0         1
##   Indian Hills Community College             0         0
##   Indiana                                    0        11
##   Indiana-Purdue Fort Wayne                  0         3
##   Indiana-Purdue Indianapolis                0         0
##   Indiana Purdue-Indianapolis                0         0
##   Iona                                       0         5
##   Iowa                                       0        29
##   Iowa State                                 0        17
##   Jackson State                              0         3
##   Jacksonville                               0         0
##   Jacksonville State                         0         0
##   Kansas                                     0        20
##   Kansas State                               0        18
##   Kent State                                 0         2
##   Kentucky                                   0        40
##   La Salle                                   0         7
##   Lamar                                      0         4
##   Le Moyne                                   0         0
##   Lebanon Valley                             0         1
##   Lehigh                                     0         0
##   Liberty                                    0         1
##   Lincoln Memorial                           0         1
##   Lipscomb                                   0         3
##   Long Beach State                           0         2
##   Long Island-Brooklyn                       0         2
##   Longwood                                   0         0
##   Louisana-Lafayette                         0         0
##   Louisiana-Lafayette                        0         1
##   Louisiana-Monroe                           0         0
##   Louisiana State                            0        32
##   Louisiana Tech                             0         1
##   Louisville                                 0         8
##   Loyola-Maryland                            0         0
##   Loyola (IL)                                0         1
##   LSU                                        0         0
##   Manhattan                                  0         0
##   Marist                                     0         0
##   Marquette                                  0        26
##   Marshall                                   0         0
##   Maryland                                   0         3
##   Massachusetts                              0         2
##   Master's                                   0         2
##   McNeese State                              0         4
##   Memphis                                    0        17
##   Mercer                                     0         0
##   Meridian Community College                 0         5
##   Miami                                      0         0
##   Miami (FL)                                 0         3
##   Miami (Fla.)                               0         1
##   Miami (OH)                                 0         8
##   Michigan                                   0        17
##   Michigan State                             0        26
##   Midland                                    0         0
##   Midwestern State                           0         1
##   Minnesota                                  0         5
##   Mississippi                                0         3
##   Mississippi State                          0         2
##   Missouri                                   0         9
##   Missouri-Kansas City                       0         0
##   Missouri State                             0         3
##   Molloy                                     0         3
##   Montana                                    0         1
##   Montana State                              0         3
##   Montevallo                                 0         1
##   Morehead State                             0         1
##   Morehouse                                  0         1
##   Mt. San Antonio                            0         2
##   Murray State                               0         6
##   Navy                                       0         0
##   Nebraska                                   0        24
##   Nebraska-Lincoln                           0         0
##   Nevada                                     0         3
##   Nevada-Las Vegas                           0        29
##   Nevada-Reno                                0         4
##   New Mexico                                 0         2
##   New Mexico State                           0        10
##   New Orleans                                0         0
##   Nicholls State                             0         3
##   No College                                 0         0
##   None                                       0       233
##   Norfolk State                              0         0
##   North Carolina                             0        23
##   North Carolina-Charlotte                   0         2
##   North Carolina-Wilmington                  0         3
##   North Carolina State                       0        12
##   North Dakota                               0         0
##   North Texas                                0         0
##   Northeast Mississippi Community College    0         0
##   Northeastern                               0        14
##   Northern Arizona                           0         0
##   Northern Illinois                          0         4
##   Northwest Florida State                    0         0
##   Northwestern                               0         2
##   Northwestern Oklahoma                      0         0
##   Northwestern State                         0         1
##   Notre Dame                                 0        23
##   Oakland                                    0         4
##   Ohio                                       0         0
##   Ohio State                                 0         7
##   Ohio U.                                    0         1
##   Oklahoma                                   0         1
##   Oklahoma State                             0        27
##   Old Dominion                               0        11
##   Oral Roberts                               0         2
##   Oregon                                     0        10
##   Oregon State                               0        14
##   Pacific                                    0         1
##   Penn State                                 0        11
##   Pennsylvania                               0         9
##   Pepperdine                                 0         6
##   Pfeiffer                                   0         5
##   Pittsburgh                                 0         8
##   Portland                                   0         1
##   Portland State                             0         7
##   Princeton                                  0         4
##   Providence                                 0         9
##   Purdue                                     0        16
##   Radford                                    0         3
##   Rhode Island                               0         4
##   Rice                                       0        12
##   Richmond                                   0         0
##   Rider                                      0         0
##   Robert Morris (IL)                         0         3
##   Rutgers                                    0         0
##   S.E. Missouri                              0         2
##   Saint Joseph's                             0         8
##   Saint Louis                                0         2
##   Saint Mary's (CA)                          0         4
##   Saint Rose                                 0         1
##   Saint Vincent                              0         4
##   San Diego State                            0         6
##   San Jose State                             0         0
##   Santa Clara                                0         1
##   Seton Hall                                 0        15
##   Seward County Community College            0         0
##   Shaw                                       0         0
##   Siena                                      0         1
##   South Carolina                             0        12
##   South Carolina State                       0         2
##   South Carolina Upstate                     0         5
##   South Dakota State                         0         0
##   South Florida                              0        11
##   Southeastern Illinois                      0         0
##   Southeastern Oklahoma State                0         0
##   Southern                                   0         8
##   Southern California                        0        20
##   Southern Illinois                          0        15
##   Southern Methodist                         0         9
##   Southern Mississippi                       0         2
##   St. Bonaventure                            0         5
##   St. John's                                 0         2
##   St. John's (NY)                            0        10
##   St. John's, N.Y.                           0         3
##   St. Joseph's (PA)                          0         6
##   St. Louis                                  0         2
##   St. Mary's (CA)                            0         2
##   St. Mary's (TX)                            0         2
##   St.Mary's College of California            0         2
##   Stanford                                   0         4
##   Stetson                                    0         3
##   Stony Brook, N.Y.                          0         1
##   Syracuse                                   0        10
##   TCU                                        0         4
##   Temple                                     0        22
##   Tennessee                                  0        14
##   Tennessee-Chattanooga                      0         1
##   Tennessee-Martin                           0         0
##   Tennessee State                            0        10
##   Tennessee Tech                             0         0
##   Texas                                      0        13
##   Texas-Arlington                            0         0
##   Texas-Austin                               0         0
##   Texas-El Paso                              0         6
##   Texas-San Antonio                          0         8
##   Texas A&M                                  0        18
##   Texas Christian                            0         0
##   Texas Legends                              0         1
##   Texas State                                0         0
##   Texas Tech                                 0        13
##   Thomas More                                0         1
##   Toledo                                     0         0
##   Towson                                     0         7
##   Trinity Valley Community College           0         0
##   Truman State                               0         2
##   Tulane                                     0         7
##   Tulsa                                      0        12
##   UCF                                        0         1
##   UCLA                                       0        26
##   UNC                                        0         0
##   University of California, Berkeley         0         0
##   University of Colorado Boulder             0         0
##   University of Dayton                       0         2
##   University of Texas at Austin              0         0
##   UNLV                                       0        14
##   USC                                        0         3
##   Utah                                       0         2
##   Utah State                                 0         1
##   Utah Valley                                0        12
##   Va Commonwealth                            0         5
##   Valparaiso                                 0         1
##   Vanderbilt                                 0         5
##   Venezuela                                  0         2
##   Vermont                                    0         2
##   Villanova                                  0        19
##   Virginia                                   0        17
##   Virginia Commonwealth                      0         9
##   Virginia Military Institute                0         7
##   Virginia Tech                              0         8
##   Virginia Tech                              0         2
##   Virginia Union                             0        19
##   Wake Forest                                0        20
##   Walsh                                      0         0
##   Washington                                 0        20
##   Washington State                           0        11
##   Weber State                                0         9
##   West Florida                               0         0
##   West Virginia                              0         2
##   West Virginia Tech                         0         0
##   Westchester CC NY                          0         2
##   Western Carolina                           0         0
##   Western Kentucky                           0         0
##   Western Michigan                           0         4
##   Wheeling Jesuit                            0         1
##   Wichita State                              0        14
##   William & Mary                             0         2
##   William Paterson                           0         1
##   Wingate                                    0         3
##   Wisc.-Green Bay                            0         2
##   Wisconsin                                  0        11
##   Wisconsin-Green Bay                        0         2
##   Wisconsin-Stevens Point                    0         0
##   Wright State                               0         0
##   Wyoming                                    0        13
##   Xavier                                     0        20
##   Yale                                       0         0
##   Yonsei (KOR)                               0         0

QUESTION 5

#1 bar graph and 1 pie chart for two of your categorical variables. (A bar graph for one variable and a pie chart for the second variable.) Label your plots!

#college = as.numeric(nba$college)

barplot(table(nba$country),
        ylab= "How many from country",
        xlab= "Country")

# Frequency chart
barplot(table(nba$draft_round), legend = TRUE,
        ylab = "How many drafted",
        xlab = "Which Round they get drafted in")

#draft1 <- nba %>% 
 # filter(draft_year == "1984") %>% 
  #filter(draft_round == 1)


#pie
pie(nba$age)

pie(table(nba$age),  main = "Age of Nba Players")

Question # 6

2 histograms and 2 boxplots for two quantitative variables. (Both a histogram and boxplot for each variable.) Label your plots!

# histogram 1

histogram(econ_freedom$ECONOMIC.FREEDOM, xlab = "Economic Freedom", ylab = "Rating", main= "Economic Freedom Index")

# Histogram 2
histogram(econ_freedom$X2a_judicial_independence, xlab = "Judicial Independence", ylab = "Ratings", main = "Judicial Indepence Ratings in Economic Freedom Index Data Set")

#boxplot #1
boxplot(econ_freedom$ECONOMIC.FREEDOM, col = "lightgreen", xlab = "Economic Freedom", ylab = "Ratings", main = "Economic Freedom Index BoxPlot")

#boxplot #2

boxplot(econ_freedom$X2e_integrity_legal_system, col = "lightgreen", xlab = "Integrity of The Legal System", ylab = "Ratings", main = "Integrity Legal Systems BoxPlot")

Question 7

A two paragraph summary about what this information (answers to parts 1-6) is telling you about your data. This answer is just text – no code needed.

The first data set included the economic freedom index. It measures the economic freedom of a country. The impact of liberty and free markets around the globe. When the economic index is high it shows a positive corelation of propserity of that particular country and how healthy it is to do business. THe first two variables that I chose was economic freedom ratings and judicial independence. The reason I picked these because I wanted to know which country had the healthiest economic and I wanted to know how good was there judicial system was.

The reason you want to check the judicial system is to make sure if you do business in that particular country is there some form of justice. If a country has a poor judiciary system that means law’s arent being forced and most likley to be corrupted. When dealing with a country that has lots of corruption your going to deal with alot of bribery and unfortuate circumstances and doing business in those countries are more difficult. Failure to thrive and economy wont be healthy. Might take advantage of cheap labour or pay off politicians to look the other way when cutting corners.

When doing this data set I ran into a problem that this data set only had 1 categorical variable and it was the countries names. I ended up using another data set from the NBA data set. In the nba data set which I thought the categorical variable’s would be good but there were some problems with this data set as well. I guess nothing is perfect. So in this data set which I thought was really cool was the contingency table set. I thought putting the colleges and the number of players being drafted per college was a good idea. You can see which colleges produced the most nba players. Duke, North carolina, and Kanasas where the top schools. If I was a high school basketball player I would like to get play for these colleges because there’s more of a chance to make the nba if I went into these programs.