This Report will provide analysis of the expenditure (in millions of dollars) of different forms of Gambling in Australia during 2014-2015 with data sourced by the Queensland Government Statistician’s Office. The forms of Gambling being analysed have been broken down by four variables; state, gambling category and gambling type, to provide a thorough assessment of the net amount lost across all forms of gambling.

##Code
Data = read.csv("Gambling.csv")
Data
##     ï..State GamblingCategory                   GamblingType Expenditure
## 1        ACT          Racing             Offcoursebookmaker           NA
## 2        ACT          Racing              Oncoursebookmaker       0.0760
## 3        ACT          Racing            OncourseTotalisator       0.1850
## 4        ACT          Racing                            TAB      22.0890
## 5        ACT          Gaming                         Casino      16.8400
## 6        ACT          Gaming                 GamingMachines     167.4540
## 7        ACT          Gaming                 InstantLottery       1.9910
## 8        ACT          Gaming              InteractiveGaming           NA
## 9        ACT          Gaming                           Keno       1.1820
## 10       ACT          Gaming                      Lotteries       0.5920
## 11       ACT          Gaming                          Lotto      19.7000
## 12       ACT          Gaming                    MinorGaming           NA
## 13       ACT          Gaming                          Pools       0.0610
## 14       ACT   SportsBetting     BookmakerandotherFixedOdds           NA
## 15       ACT   SportsBetting   BookmakerandotherPoolBetting           NA
## 16       ACT   SportsBetting                   TabFixedOdds           NA
## 17       ACT   SportsBetting                    TabToteOdds           NA
## 18       NSW          Racing             Offcoursebookmaker       0.0310
## 19       NSW          Racing              Oncoursebookmaker      25.3880
## 20       NSW          Racing            OncourseTotalisator      14.3450
## 21       NSW          Racing                            TAB     905.7830
## 22       NSW          Gaming                         Casino    1417.9920
## 23       NSW          Gaming                 GamingMachines    5744.2910
## 24       NSW          Gaming                 InstantLottery      43.5980
## 25       NSW          Gaming              InteractiveGaming           NA
## 26       NSW          Gaming                           Keno     142.7710
## 27       NSW          Gaming                      Lotteries      23.3590
## 28       NSW          Gaming                          Lotto     428.8620
## 29       NSW          Gaming                    MinorGaming           NA
## 30       NSW          Gaming                          Pools       2.1140
## 31       NSW   SportsBetting     BookmakerandotherFixedOdds      23.6160
## 32       NSW   SportsBetting   BookmakerandotherPoolBetting           NA
## 33       NSW   SportsBetting                   TabFixedOdds     135.6340
## 34       NSW   SportsBetting                    TabToteOdds       3.6160
## 35        NT          Racing             Offcoursebookmaker           NA
## 36        NT          Racing              Oncoursebookmaker     638.9140
## 37        NT          Racing            OncourseTotalisator       1.9140
## 38        NT          Racing                            TAB      11.0710
## 39        NT          Gaming                         Casino     105.3510
## 40        NT          Gaming                 GamingMachines      82.6290
## 41        NT          Gaming                 InstantLottery       1.9050
## 42        NT          Gaming              InteractiveGaming           NA
## 43        NT          Gaming                           Keno      14.2080
## 44        NT          Gaming                      Lotteries           NA
## 45        NT          Gaming                          Lotto      39.5950
## 46        NT          Gaming                    MinorGaming           NA
## 47        NT          Gaming                          Pools       0.1090
## 48        NT   SportsBetting     BookmakerandotherFixedOdds     285.7000
## 49        NT   SportsBetting   BookmakerandotherPoolBetting           NA
## 50        NT   SportsBetting                   TabFixedOdds           NA
## 51        NT   SportsBetting                    TabToteOdds           NA
## 52       QLD          Racing             Offcoursebookmaker           NA
## 53       QLD          Racing              Oncoursebookmaker           NA
## 54       QLD          Racing            OncourseTotalisator           NA
## 55       QLD          Racing                            TAB     339.1890
## 56       QLD          Gaming                         Casino     690.3370
## 57       QLD          Gaming                 GamingMachines    2182.8390
## 58       QLD          Gaming                 InstantLottery      77.8580
## 59       QLD          Gaming              InteractiveGaming           NA
## 60       QLD          Gaming                           Keno     102.5610
## 61       QLD          Gaming                      Lotteries           NA
## 62       QLD          Gaming                          Lotto     329.1900
## 63       QLD          Gaming                    MinorGaming           NA
## 64       QLD          Gaming                          Pools       1.1580
## 65       QLD   SportsBetting     BookmakerandotherFixedOdds           NA
## 66       QLD   SportsBetting   BookmakerandotherPoolBetting           NA
## 67       QLD   SportsBetting                   TabFixedOdds      21.2180
## 68       QLD   SportsBetting                    TabToteOdds       0.4460
## 69        SA          Racing             Offcoursebookmaker       0.3830
## 70        SA          Racing              Oncoursebookmaker       0.9580
## 71        SA          Racing            OncourseTotalisator           NA
## 72        SA          Racing                            TAB           NA
## 73        SA          Gaming                         Casino     147.3970
## 74        SA          Gaming                 GamingMachines     725.9080
## 75        SA          Gaming                 InstantLottery       9.5510
## 76        SA          Gaming              InteractiveGaming           NA
## 77        SA          Gaming                           Keno      19.1270
## 78        SA          Gaming                      Lotteries           NA
## 79        SA          Gaming                          Lotto     111.4060
## 80        SA          Gaming                    MinorGaming           NA
## 81        SA          Gaming                          Pools       0.2360
## 82        SA   SportsBetting     BookmakerandotherFixedOdds       0.2800
## 83        SA   SportsBetting   BookmakerandotherPoolBetting           NA
## 84        SA   SportsBetting                   TabFixedOdds       9.3840
## 85        SA   SportsBetting                    TabToteOdds       0.0160
## 86       TAS          Racing             Offcoursebookmaker           NA
## 87       TAS          Racing              Oncoursebookmaker       0.0690
## 88       TAS          Racing            OncourseTotalisator       0.7110
## 89       TAS          Racing                            TAB      29.2860
## 90       TAS          Gaming                         Casino      92.5940
## 91       TAS          Gaming                 GamingMachines     113.8600
## 92       TAS          Gaming                 InstantLottery       4.6740
## 93       TAS          Gaming              InteractiveGaming           NA
## 94       TAS          Gaming                           Keno      33.3770
## 95       TAS          Gaming                      Lotteries       0.2550
## 96       TAS          Gaming                          Lotto      32.5020
## 97       TAS          Gaming                    MinorGaming           NA
## 98       TAS          Gaming                          Pools       0.0965
## 99       TAS   SportsBetting     BookmakerandotherFixedOdds           NA
## 100      TAS   SportsBetting   BookmakerandotherPoolBetting           NA
## 101      TAS   SportsBetting                   TabFixedOdds       3.1360
## 102      TAS   SportsBetting                    TabToteOdds       0.0160
## 103      VIC          Racing             Offcoursebookmaker           NA
## 104      VIC          Racing              Oncoursebookmaker           NA
## 105      VIC          Racing            OncourseTotalisator      51.0050
## 106      VIC          Racing                            TAB     491.7300
## 107      VIC          Gaming                         Casino    1864.3880
## 108      VIC          Gaming                 GamingMachines    2571.9260
## 109      VIC          Gaming                 InstantLottery      15.2190
## 110      VIC          Gaming              InteractiveGaming           NA
## 111      VIC          Gaming                           Keno      16.7380
## 112      VIC          Gaming                      Lotteries       0.6850
## 113      VIC          Gaming                          Lotto     481.2210
## 114      VIC          Gaming                    MinorGaming           NA
## 115      VIC          Gaming                          Pools       1.0820
## 116      VIC   SportsBetting     BookmakerandotherFixedOdds           NA
## 117      VIC   SportsBetting   BookmakerandotherPoolBetting           NA
## 118      VIC   SportsBetting                   TabFixedOdds     258.2580
## 119      VIC   SportsBetting                    TabToteOdds       1.4880
## 120       WA          Racing             Offcoursebookmaker           NA
## 121       WA          Racing              Oncoursebookmaker       1.4750
## 122       WA          Racing            OncourseTotalisator       7.2580
## 123       WA          Racing                            TAB     272.8690
## 124       WA          Gaming                         Casino     834.5340
## 125       WA          Gaming                 GamingMachines           NA
## 126       WA          Gaming                 InstantLottery      37.7140
## 127       WA          Gaming              InteractiveGaming           NA
## 128       WA          Gaming                           Keno           NA
## 129       WA          Gaming                      Lotteries           NA
## 130       WA          Gaming                          Lotto     327.7710
## 131       WA          Gaming                    MinorGaming      23.0900
## 132       WA          Gaming                          Pools       0.7340
## 133       WA   SportsBetting     BookmakerandotherFixedOdds       0.0050
## 134       WA   SportsBetting   BookmakerandotherPoolBetting           NA
## 135       WA   SportsBetting                   TabFixedOdds      71.4510
## 136       WA   SportsBetting                    TabToteOdds       0.3300

str(Data)
## 'data.frame':    136 obs. of  4 variables:
##  $ ï..State        : chr  "ACT" "ACT" "ACT" "ACT" ...
##  $ GamblingCategory: chr  " Racing " " Racing " " Racing " " Racing " ...
##  $ GamblingType    : chr  " Offcoursebookmaker " " Oncoursebookmaker " " OncourseTotalisator " " TAB " ...
##  $ Expenditure     : num  NA 0.076 0.185 22.089 16.84 ...
##Data Frame with 136 objects and 4 variables
##     Min.  1st Qu.   Median     Mean  3rd Qu.     Max.     NA's 
##    0.005    1.139   20.459  258.340  137.418 5744.291       48

The Expenditure or the gross winnings (GW) of gambling operators is measured by factors of central tendency. Such factors of central tendency allow us to identify the trends and distribution within a data set.

The mean of the GW indicates that between 2014-2015 Australia has made an average revenue of $258,340,000 from Gambling wagers. Must be noted that outliers have not been calculated and as such the mean may be incorrect.

The median indicates the middle value within the dataset and is $20,495,000. As the max value is 5,744,291,000 the median is indicative that the dataset is highly positively skewed.

Data$GamblingCategory = factor(Data$GamblingCategory)
Data$ï..State = factor(Data$ï..State)
Data$GamblingType = factor(Data$GamblingType)
summary(Data)
##     ï..State         GamblingCategory                         GamblingType
##  ACT    :17    Gaming        :72       BookmakerandotherFixedOdds   : 8   
##  NSW    :17    Racing        :32       BookmakerandotherPoolBetting : 8   
##  NT     :17    SportsBetting :32       Casino                       : 8   
##  QLD    :17                            GamingMachines               : 8   
##  SA     :17                            InstantLottery               : 8   
##  TAS    :17                            InteractiveGaming            : 8   
##  (Other):34                           (Other)                       :88   
##   Expenditure      
##  Min.   :   0.005  
##  1st Qu.:   1.139  
##  Median :  20.459  
##  Mean   : 258.340  
##  3rd Qu.: 137.418  
##  Max.   :5744.291  
##  NA's   :48
Figure 2 - Shows the distribution of Expenditure from Gambling within Australia from 2014-2015

Figure 2 - Shows the distribution of Expenditure from Gambling within Australia from 2014-2015

Figure 3 - Shows the distribution of Expenditure from Gambling within Australia from 2014-2015

Figure 3 - Shows the distribution of Expenditure from Gambling within Australia from 2014-2015

Figure 3 - Shows the distribution of Expenditure from Gambling within Australia from 2014-2015

Figure 3 - Shows the distribution of Expenditure from Gambling within Australia from 2014-2015

Evidenced in the above boxplot the expenditure from Gambling across Australia is significantly positively skewed.Moreover evidenced in the histogram and normal curve it is extremely evident that the datas distribution is positively skewed.


##Additional exploration of Data

Figure 4 - Total expenditure from gambling across the States of Australia

Figure 4 - Total expenditure from gambling across the States of Australia

sd(Data$Expenditure)
## [1] NA