Professional Documents
Culture Documents
QMC Assignment - 2023T01
QMC Assignment - 2023T01
QMC Assignment - 2023T01
1
Part 1: Problem-solving (Individual contribution, 20% toward the total
mark)
You are required to work through the following questions in Part 1 as your preparation for
Part 2 of the Group Assignment – Group presentation. See the Unit Outline and Canvas site
for details on the Group assignment.
Rounding rules:
Questions:
2. Prevalence of gambling among Australian couples and the relationship between the spouses’
gambling behaviour (you can find the tips for manipulating data at the end of this document).
What is the percentage of couples in which the husbands engaged in gambling?
What is the percentage of couples in which the wives engaged in gambling?
What is the percentage of couples in which both spouses engaged in gambling?
What is the percentage of couples in which at least one spouse engaged in gambling in
2015?
5. Spending on gambling
Summarise the household spending on gambling by the gambling households (where at
least one spouse gambles) using descriptive measures including the mean, the median,
the standard deviation, and the quartiles. Draw a histogram of gambling spending by the
gamblers.
Calculate the average household spending on gambling by gamblers in each state.
2
Calculate the average household spending on gambling by the non-problem gamblers
(none of the spouses is a problem gambler but with positive spending on gambling)
and problem gamblers (at least one spouse is a problem gambler).
Relationship of gambling spending between the gambling spouses (the households
where both spouses spent more than 0 on gambling):
Create two new variables by taking ln (the natural log) of h amtgamble and w amtgamble ,
respectively (for example, =ln (hamtgamble )). Note that anyone whose spending is zero will
get a missing value for the two new variables. Calculate the correlation coefficient of
these two new variables (excluding anyone whose spending is 0), i.e., the logarithm of the
spending on gambling of the gambling couples. Draw a scatter plot of the two new
variables.
Is the percentage of Australian adults who engaged in gambling in 2015 high compared to
some other countries?
Do Indigenous Australians gamble more often than non-Indigenous Australians?
Are your sample statistics comparable with the findings from those in the literature? If not,
cite the main reasons (hint: you should pay attention to who is in your sample).
Which measure of centre and variability will be the best to use for the household
spending on gambling by the gambling households? Why?
3
Comment on the histogram of gambling spending by the gamblers.
Comment on the average household spending on gambling by gamblers in different
states.
What can you conclude based on the comparison of the average household spending on
gambling by the non-problem gamblers and problem gamblers?
Comment on the relationship of gambling spending between the gambling spouses.
__________________________________________________________________________________
An example:
You can cut the values of the husbands and paste them to the end of the data in the corresponding
column of the same variable for the wives (or vice versa). The columns for the wives will then contain
the values of both couples. For the variable state, you can copy and paste it in the same way to the
same state column. Note it is important you need to do this in one go without any other operation.