STAT 270 Assignment 1 Upload to Crowdmark by 5pm on Friday, Sept. 24, 2021 Instructions: Be sure to label the axes appropriately on all graphs. Also, you must provide any code you use (final computed values and plots are not sufficient). I strongly recommend that you create one Jupyter Notebook for each question that requires data analysis, embedding your written comments in Markdown cells. However, if you wish, you may complete all or part of the assignment by hand and then scan or take a picture of your pages. Your submitted files must be in .pdf or .jpg format. 1. (7 marks) A hotel is interested in the satisfaction of their guests. They email each guest who has booked a room at the hotel and ask them to complete an online survey. The guests report their level of satisfaction (an integer between 1 and 5, with 1 representing "very unsatisfied" and 5 representing "very satisfied"); the number of nights they stayed; whether they used the pool (yeso); and any discount they received on their room (in dollars). They are also given the opportunity to provide a free-form comment about their stay. The hotel receives 129 completed surveys.a. (1 mark) What is the likely target population in this study? b. (1 mark) What is the sample? c. (2 marks) Is the sample likely to be representative of the target population? Explain. d. (3 marks) List each variable in this study and identify its type (according to the flow chart given in Lecture 3). 2. (6 marks) A bored candy lover decides to investigate the distribution of colours (brown, pink, yellow, green, blue, orange, red) of Smarties. He gathers 5,428 Smarties and tallies the number of each colour. The file Smarties . txt contains his data. a. (2 marks) Create an appropriate plot to display the frequency associated with each colour. b. (2 marks) Create an appropriate plot to display the relative frequency associated with each colour. c. (2 marks) To emphasize his love for red Smarties, the candy lover adjusts the plot in (b) so that the width of the bar associated with red Smarties is wider than that of the rest. Provide a criticism of this choice