Docsity

Notes for Homework 2 | Elementary Statistical Methods | STAT 30100, Study notes of Data Analysis & Statistical Methods

Toggle sidebar
bg1
1 of 13 ID: MST.DCP.CD.04.0010b
A survey of 96 people at a local popular recreational area asked what their favorite flavor of ice cream was.
The results of the survey are shown:
Survey results:
rocky road rocky road coffee rocky road butter
pecan rocky road
rocky road butter
pecan neapolitan chocolate vanilla butter pecan
vanilla strawberry coffee vanilla rocky road strawberry
butter pecan vanilla vanilla vanilla rocky road cookies and
cream
neapolitan vanilla rocky road cookies and
cream coffee butter pecan
neapolitan vanilla rocky road neapolitan rocky road coffee
cookies and
cream neapolitan rocky road vanilla coffee rocky road
rocky road other vanilla vanilla chocolate strawberry
neapolitan other rocky road vanilla vanilla butter pecan
other rocky road rocky road neapolitan neapolitan neapolitan
neapolitan butter
pecan chocolate butter pecan chocolate chocolate
neapolitan vanilla cookies and
cream rocky road strawberry vanilla
rocky road rocky road rocky road vanilla strawberry vanilla
chocolate neapolitan rocky road butter pecan chocolate chocolate
strawberry neapolitan rocky road chocolate chocolate cookies and
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f

Partial preview of the text

Download Notes for Homework 2 | Elementary Statistical Methods | STAT 30100 and more Study notes Data Analysis & Statistical Methods in PDF only on Docsity!

1 of 13 ID: MST.DCP.CD.04.0010b A survey of 96 people at a local popular recreational area asked what their favorite flavor of ice cream was. The results of the survey are shown: Survey results: rocky road rocky road coffee rocky road butter pecan rocky road rocky road butter pecan neapolitan chocolate vanilla butter pecan vanilla strawberry coffee vanilla rocky road strawberry butter pecan vanilla vanilla vanilla rocky road cookies and cream neapolitan vanilla rocky road cookies and cream coffee butter pecan neapolitan vanilla rocky road neapolitan rocky road coffee cookies and cream neapolitan rocky road vanilla coffee rocky road rocky road other vanilla vanilla chocolate strawberry neapolitan other rocky road vanilla vanilla butter pecan other rocky road rocky road neapolitan neapolitan neapolitan neapolitan butter pecan chocolate butter pecan chocolate chocolate neapolitan vanilla cookies and cream rocky road strawberry vanilla rocky road rocky road rocky road vanilla strawberry vanilla chocolate neapolitan rocky road butter pecan chocolate chocolate strawberry neapolitan rocky road chocolate chocolate cookies and

cream vanilla neapolitan vanilla rocky road strawberry vanilla a)This is an example of data. b)More people answered than answered vanilla. c)The number of people that answered neapolitan is equal to. d)The percentage that answered neapolitan is equal to %. e)The most frequent favorite flavor is rocky road chocolate vanilla butter pecan strawberry neapolitan cookies and cream coffee other f)The least frequent favorite flavor is rocky road chocolate vanilla butter pecan strawberry neapolitan cookies and cream coffee other g)The results of the survey suggest that, when buying stock, an ice cream vendor in this area should focus on which two flavors: rocky road chocolate vanilla butter pecan 33694395315403 categorical 33909563834156 rocky road 07831970280778 14 92406527239223 14. 61659717499396 23199852813536

e)Referring to the frequency table, the most frequent favorite flavor is rocky road. f)The least frequent favorite flavor is other. g)The results of the survey suggest that the two most popular favorite flavors of ice-cream are rocky road and vanilla. So an ice cream vendor in this area in this area should focus on stocking and selling ice-cream of these two flavors. [3 points]- 2 of 13 ID: MST.DCP.CTD.02. The following survey was used by the Hyp Test Corporation to obtain data on the productivity of its employees. PRODUCTIVITY SURVEY HYP TEST CORPORATION This survey will be used by the Hyp Test Corporation to evaluate the productivity of its employees for the purpose of developing policies that may improve the working conditions of the firm. Your answers will remain anonymous so please respond honestly.

  1. How much time did you spend at work last week? _________
  2. How much sales did you earn at work last week? $ ________
  3. How productive do you think you are? O very productive O mildly productive O not very productive Thank you for completing this survey. Based on this survey, complete the statements. a)The data obtained from question 1 represent a variable. b)The data obtained from question 2 represent a variable. c)The data obtained from question 3 represent a variable. [3 out of 3] - Feedback a)You are correct. b)You are correct. c)You are correct. Discussion Data may be quantitative or categorical. Quantitative data take values that are numbers. The answers to question 1 and 2 in the survey will be numbers which means that they will represent a quantitative variable. Categorical data take values from a limited number of options (categories). The answer to question 3 can take a value from a limited number of options: very productive, mildly productive and not very productive. Therefore, the data obtained in question 3 will represent a categorical variable. 95564516961932 quantitative 73989701724141 quantitative 96717846978975 categorical

[3 points]- 3 of 13 ID: MST.NDM.MCT.01. Match each description to its numerical measure: a)The measure that describes the most frequently occurring value in a sample is the . b)The measure that describes the average value of data in a sample is the. c)The measure that describes the middle value in a sample is the. [3 out of 3] - Feedback a)You are correct. b)You are correct. c)You are correct. Discussion Mean The mean is calculated by summing all of the values in the sample and dividing by the sample size. A consequence of this is that the mean represents all of the data in the sample equally. An advantage of this is that introducing new values or changing existing values in the data set will result in a corresponding change in the value of the mean. In this way the mean is a very faithful measure of the center of a data set. On the other hand, extreme values can skew the mean and cause it to misrepresent a reasonable value for the center of the data set. Median When the data set is ordered from lowest to highest, the median is the value of the data point that is ranked in the middle. As such, the median is only representative of this one value. An advantage of this approach to measuring the center is that median is not sensitive to extreme values because it only represents the middle value. However, the median does not represent all of the data points. For example, the addition of two data points to the set will not change the median, no matter what they are, as long as one is to the left of the median and the other is to the right. On the other hand, the addition of one value can change the median dramatically because a completely different data point now occupies the center of the data. Mode The mode is the value that occurs most frequently in the data set. The mode, like the median, does not represent all of the data in a set equally and it has the same weakness: the mode may change drastically with only minor changes to the data set. The mode does not necessarily represent the center of the data as much as it gives a crude representation of where the data values are concentrated. If two or more values occur with the same highest frequency then all of these values are the modes. If no value occurs more frequently than any other value then there is no mode. [1 point]- 4 of 13 ID: MST.NDM.MPD.01. 10739969756857 mode 26606660192011 mean 32386617875695 median

b)Identify a suspected outlier in the sample data. Suspected outlier: [3 out of 3] - Feedback a)You are correct. b)You are correct. Discussion a)For a set of numerical data, the five-number summary consists of:  the smallest value  the first quartile  the median  the third quartile  the greatest value The first step in finding these values is to rank the data in order. This data set consists of 120 points. The median, which is the middle value, will be the average of the 60th and 61st values. The first quartile will be the middle value of the bottom 60 points. So it will be the average of the 30th and 31st data values. Similarly, the third quartile will be the average of the 90th and 91st values. Rank 1 2 … 30 31 … 60 61 … 90 91 … 119 120 Data value

Therefore, the five-number summary is: Minimum = -4. First quartile = 0.5 × (0.11 + 0.12) = 0. Median = 0.5 × (0.99 + 1.05) = 1. Third quartile = 0.5 × (1.91 + 1.94) = 1. Maximum = 3. 41006893526196 -4.

b)An approach to identifying potential outliers within a set of numeric data is to use the 1.5 × IQR approach, where IQR denotes the inter-quartile range. With this method, a data value is deemed to be a suspected outlier if it falls more than 1.5 × IQR above the third quartile, or less than 1.5 × IQR below the first quartile. In order to apply this method you need to find the interquartile range. The interquartile range within the sample can be found in the following way: show variables Q 1 = first quartile = 0. Q 3 = third quartile = 1. IQR = interquartile range = unknown IQR = Q 3 - Q 1 = 1.925 - 0. = 1. Therefore, a value is a suspected outlier in this sample if it is below Q 1 - 1.5 × IQR = 0.115 - 2.715 = -2. or above Q 3 + 1.5 × IQR = 1.925 + 2.715 = 4. In the data set given in the question, the value -4.72 falls below -2.6. Therefore, the value -4.72 is a suspected outlier. [3 points]- 6 of 13 ID: MST.NDM.MCT.02.

x = mean value = unknown x =

∑xi

n

= (^) 27.0 hours b)The median is the middle value when the sample of hours worked is ranked in order (lowest value to highest value). The hours worked ranked in order are: i 1 2 3 4 5 6 7 8 9 10 11 12 13 xi 11 12 13.5 14.5 25 25.5 25.5 25.5 29 36 38.5 47.5 47. The median can be identified from this ordered list: show variables n = number of values = 13 m = position of middle value

n + 1 2

xi = ith^ value (with values ranked in order) M = median value = unknown

M = xm = x 7 = 25.5 hours c)The mode is the value that occurs with the greatest frequency. Here the value 25.5 occurs three times and is the most frequent. Therefore, the mode is 25.5 hours. [1 point]- 7 of 13 ID: MST.DCP.ND.02. Jerry has collected some data on amount of time people spend browsing the internet per week. He surveyed 58 people and wants to begin analysing this data. Unfortunately, he doesn't know much about statistics and has asked for your help: Jerry: "What kind of graph should I use in order to see how much time people spend browsing the internet?" You recommend that Jerry should use a: normal quantile plot bar graph histogram scatter plot time plot pie chart [1 out of 1] - Feedback You are correct. Discussion The data that Jerry has collected is numerical data since he is interested in measuring the amount of time people spend browsing the internet and time is a numerical variable. His data then consists of 58 numbers,

[1 out of 1] - Feedback You are correct.

Discussion When collecting categorical data, you usually organize the data into a summary table first. If the quantities given for the categories are percentages you can then draw a pie chart to visually demonstrate these percentages. The information of a summary table can be mapped directly to a pie chart: a disc is split up into different sections, each labeled with the name of a category, with the 'size' of each section determined by the percentage of values in that category. By the size of a section, we mean the angle that section makes at the center of the circle. For example, if a category has 35% of the values in a set of data then the section for that category will make an angle of 35% × 360o^ = 126o^ at the center of the pie chart. Crime In this question, the categories are the different genres of books sold. The percentage of fiction books sold that are crime is 21%, so in the correct pie chart the section for 'crime' makes an angle of 21% × 360o^ = 75.6o^ at the center. The sections for the other genres can be calculated in a similar fashion. Note that since you are not given the exact angles with the diagrams in this question, the angles calculated should be used to estimate the size of each section in the pie chart. Romance The percentage of fiction books sold that are romance is 18%, so in the correct pie chart the section for 'romance' makes an angle of 18% × 360o^ = 64.8o^ at the center. Thriller The percentage of fiction books sold that are thriller is 11%, so in the correct pie chart the section for 'thriller' makes an angle of 11% × 360o^ = 39.6o^ at the center. Science fiction The percentage of fiction books sold that are science fiction is 50%, so in the correct pie chart the section for 'science fiction' makes an angle of 50% × 360o^ = 180o^ at the center. [5 points]- 9 of 13 ID: MST.DCP.ND.05.0010a You have been following the share price of Western Investment Group and have recorded the daily return (as a percentage) for the last 120 days. The data is presented here: 0.227, 0.241, 0.122, 0.36, -0.02, 0.029, 0.146, 0.461, 0.149, 0.454, 0.056, 0.01, 0.101, -0.165,

Download the data Daily returns (%) 0.227 0.241 0.122 0.36 -0.02 0.029 0.146 0.461 0.149 0.454 0.056 0.

a)Find the number of days that the stock made a return greater than or equal to 0.1%. Give your answer as a whole number. Number of days that the stock made a return greater than or equal to 0.1% = b)Find the number of days that the stock made a positive return. Give your answer as a whole number. 13132824743819 75