Statistics - Excel homework

profileheh96
HW2questionspre1.xlsx

Week 2 HW Questions

MGMT 650 Summer 2020 Week 2 Homework Questions

Q1 - Descriptive Stat

Here is sample data showing the weight of coffee beans in bags labeled 5 pounds. The data is in pounds.
5.75 4.82 5.25 5.96 4.59 4.52 5.06 5.67 5.73 4.71
5.5 5.84 4.82 5.98 4.89 5.39 4.73 4.96 5.59 4.86
4.94 4.9 4.71 4.99 5.61 5.26 5.3 4.92 4.54 4.58
4.59 4.72 4.6 4.67 5 4.97 5.47 4.88 5.02 5.27
5.85 4.67 4.91 5.63 5.1 5.7 4.91 5.62 4.99 5.95
4.76 5.95 4.91 5.81 4.54 5.91 4.91 4.63 4.81 5.73
4.93 5.81 4.7 5.82 5.84 5.9 5.75 4.61 5.77 5.83
4.58 4.63 4.66 5.57 4.76 5.5 5.84 5.1 5.63 5.72
For the following questions, you must use Excel formulas in the cells so that Excel calculates the answers for you.
1) Compute the mean:
5.1975
Compute the median
5.01
Find the mode
4.91
2) Compute the first quartile; use =QUARTILE.EXC()
4.76 First Quartile
Compute the third quartile; use =QUARTILE.EXC()
5.705 Third Quartile
Compute the interquartile range
0.945
3) Find the largest number
5.98
Find the smallest number
4.52
What is the range?
1.46
4) What is the difference between the Excel functions, STDEV.P and STDEV.S? (Hint: Use the Excel help files.)
STDEV.P assumes you are talking about the entire populatiion and STDEV.s is pertaining to a portion of the population.
5) What is the Variance?
0.2324721519
6) What is the standard deviation?
0.48215366
7) What is the Coefficient of Variation, or the CV?
https://www.statisticshowto.datasciencecentral.com/probability-and-statistics/how-to-find-a-coefficient-of-variation/
9.276645696
When is the Coefficient of Variation especially useful?
This could be useful when comparing data sets since the CV is a dimensionless number.
Copy all of the data into a column, use Column M and go from cell M1:M80
8) Use the Data Analysis tool on the numbers just copied to find the Descriptive Statistics:
Click on Data Analysis and Choose Descriptive Statistics
Click on the Summary Statistics box.
Highlight the mean, median, mode, Standard deviation, Range, Minimum, and Maximum
Notice that the Data Analysis tool gives you all of the info needed for this problem except for the quartiles, variance, and CV.
For questions 9 and 10, you are a consultant who is brought in and given these numbers and asked to generate a
report to management. What would your recommendation be?
These two parts are your chance to show your understanding of the material.
9) Interpret the measures of central tendency within the context of this problem.
Should the company producing the coffee be concerned about the central tendency?
10) Interpret the measures of variation within the context of this problems.
Should the company producing the coffee be concerned about variation?

&D

https://www.statisticshowto.datasciencecentral.com/probability-and-statistics/how-to-find-a-coefficient-of-variation/

Pivot Table Data

Movie Rank Domestic Gross (in millions) Rating Type Row Labels Count of Rating Sum of Movie Rank Sum of Field1
18 $ 932.00 Unrated Action Action 14 1657 $ 5,851.00
29 $ 875.00 Unrated Action Cartoon 11 1389 $ 4,227.00
56 $ 740.00 R Action Comedy 14 1468 $ 6,897.00
67 $ 671.00 PG Action Documentary 18 2102 $ 7,694.00
85 $ 605.00 PG-13 Action Drama 9 922 $ 4,547.00
122 $ 388.00 R Action Family 21 2055 $ 11,056.00
128 $ 378.00 R Action Fantasy 13 1152 $ 7,362.00
134 $ 335.00 PG-13 Action Horror 22 1777 $ 13,420.00
150 $ 250.00 PG-13 Action Musical 8 612 $ 5,072.00
161 $ 202.00 R Action Romance 14 1735 $ 5,464.00
164 $ 193.00 PG Action Sci-Fi 14 1221 $ 8,127.00
165 $ 187.00 PG Action SuperHero 15 1729 $ 6,477.00
181 $ 81.00 G Action Thriller 18 1553 $ 10,574.00
197 $ 14.00 R Action Unknown 6 496 $ 3,669.00
27 $ 882.00 Unrated Cartoon Western 3 232 $ 1,876.00
46 $ 798.00 PG Cartoon Grand Total 200 20100 $ 102,313.00
59 $ 731.00 G Cartoon
83 $ 610.00 PG Cartoon
141 $ 300.00 PG Cartoon limits bin
149 $ 253.00 R Cartoon $ 5,851.00 max 13,420.00 1000-2500 2500
166 $ 183.00 PG-13 Cartoon $ 4,227.00 min 1,876.00 2501-4000 4000
172 $ 166.00 PG-13 Cartoon $ 6,897.00 4001-5500 5500
174 $ 157.00 R Cartoon $ 7,694.00 5501-7000 7000
184 $ 78.00 R Cartoon $ 4,547.00 7001-8500 8500
188 $ 69.00 G Cartoon $ 11,056.00 8501-10000 10000
19 $ 932.00 PG Comedy $ 7,362.00 10001-11500 11500
38 $ 830.00 PG-13 Comedy $ 13,420.00 11501-13000 13000
41 $ 821.00 R Comedy $ 5,072.00 130001-14000 14000
43 $ 815.00 R Comedy $ 5,464.00
51 $ 770.00 R Comedy $ 8,127.00
74 $ 637.00 PG-13 Comedy $ 6,477.00
93 $ 571.00 PG-13 Comedy $ 10,574.00
144 $ 293.00 G Comedy $ 3,669.00
145 $ 284.00 PG Comedy $ 1,876.00
153 $ 233.00 R Comedy
154 $ 230.00 R Comedy
168 $ 181.00 G Comedy
169 $ 171.00 PG-13 Comedy
176 $ 129.00 PG Comedy
2 $ 988.00 PG Documentary
13 $ 952.00 PG Documentary
16 $ 939.00 G Documentary
44 $ 809.00 PG-13 Documentary
78 $ 623.00 R Documentary
82 $ 612.00 Unrated Documentary
95 $ 564.00 PG Documentary
103 $ 503.00 G Documentary
108 $ 474.00 R Documentary
135 $ 332.00 R Documentary
148 $ 253.00 R Documentary
162 $ 197.00 PG-13 Documentary
170 $ 169.00 PG-13 Documentary
175 $ 130.00 PG-13 Documentary
185 $ 73.00 G Documentary
191 $ 57.00 PG Documentary
196 $ 15.00 G Documentary
199 $ 4.00 PG Documentary
34 $ 851.00 R Drama
37 $ 835.00 Unrated Drama
52 $ 758.00 PG Drama
92 $ 581.00 R Drama
107 $ 478.00 R Drama
117 $ 423.00 R Drama
131 $ 364.00 PG-13 Drama
163 $ 194.00 PG Drama
189 $ 63.00 PG-13 Drama
8 $ 970.00 PG Family
17 $ 934.00 G Family
24 $ 903.00 Unrated Family
47 $ 792.00 G Family
48 $ 787.00 Unrated Family
53 $ 755.00 PG-13 Family
72 $ 642.00 G Family
86 $ 600.00 G Family
88 $ 590.00 G Family
89 $ 589.00 G Family
100 $ 531.00 G Family
114 $ 445.00 PG Family
116 $ 429.00 PG Family
120 $ 393.00 G Family
127 $ 378.00 PG-13 Family
130 $ 375.00 PG Family
136 $ 326.00 G Family
156 $ 224.00 PG Family
167 $ 182.00 G Family
177 $ 129.00 G Family
180 $ 82.00 PG Family
1 $ 999.00 PG-13 Fantasy
5 $ 981.00 R Fantasy
6 $ 979.00 PG Fantasy
7 $ 972.00 PG Fantasy
50 $ 775.00 PG-13 Fantasy
65 $ 684.00 PG Fantasy
66 $ 682.00 PG-13 Fantasy
102 $ 520.00 G Fantasy
140 $ 306.00 Unrated Fantasy
158 $ 218.00 R Fantasy
159 $ 216.00 PG-13 Fantasy
195 $ 26.00 R Fantasy
198 $ 4.00 R Fantasy
11 $ 956.00 R Horror
15 $ 948.00 PG-13 Horror
20 $ 930.00 R Horror
25 $ 898.00 PG-13 Horror
28 $ 878.00 Unrated Horror
31 $ 873.00 Unrated Horror
35 $ 848.00 R Horror
39 $ 829.00 R Horror
40 $ 824.00 R Horror
69 $ 658.00 Unrated Horror
70 $ 645.00 R Horror
75 $ 634.00 PG-13 Horror
76 $ 632.00 Unrated Horror
101 $ 527.00 R Horror
109 $ 474.00 PG-13 Horror
111 $ 453.00 R Horror
112 $ 449.00 PG Horror
132 $ 352.00 PG-13 Horror
151 $ 245.00 R Horror
155 $ 228.00 PG-13 Horror
182 $ 79.00 R Horror
190 $ 60.00 R Horror
10 $ 957.00 PG-13 Musical
49 $ 785.00 PG Musical
61 $ 721.00 R Musical
71 $ 642.00 G Musical
84 $ 610.00 Unrated Musical
90 $ 586.00 R Musical
121 $ 391.00 G Musical
126 $ 380.00 PG Musical
9 $ 970.00 PG Romance
22 $ 905.00 PG-13 Romance
68 $ 667.00 G Romance
79 $ 623.00 Unrated Romance
110 $ 470.00 R Romance
123 $ 387.00 PG Romance
125 $ 381.00 G Romance
139 $ 313.00 G Romance
160 $ 202.00 G Romance
171 $ 167.00 PG-13 Romance
173 $ 164.00 PG Romance
179 $ 106.00 PG-13 Romance
183 $ 79.00 R Romance
194 $ 30.00 R Romance
14 $ 951.00 Unrated Sci-Fi
23 $ 904.00 R Sci-Fi
26 $ 896.00 PG-13 Sci-Fi
60 $ 721.00 PG Sci-Fi
62 $ 717.00 R Sci-Fi
63 $ 700.00 G Sci-Fi
81 $ 615.00 Unrated Sci-Fi
94 $ 570.00 G Sci-Fi
104 $ 494.00 G Sci-Fi
115 $ 434.00 PG Sci-Fi
118 $ 401.00 G Sci-Fi
129 $ 376.00 R Sci-Fi
146 $ 278.00 G Sci-Fi
186 $ 70.00 PG-13 Sci-Fi
4 $ 984.00 Unrated SuperHero
12 $ 953.00 PG-13 SuperHero
64 $ 692.00 Unrated SuperHero
77 $ 629.00 Unrated SuperHero
80 $ 620.00 PG-13 SuperHero
87 $ 594.00 PG-13 SuperHero
119 $ 398.00 R SuperHero
133 $ 335.00 PG-13 SuperHero
137 $ 321.00 PG-13 SuperHero
138 $ 317.00 PG-13 SuperHero
147 $ 269.00 R SuperHero
152 $ 241.00 R SuperHero
187 $ 69.00 PG-13 SuperHero
192 $ 54.00 PG-13 SuperHero
200 $ 1.00 R SuperHero
3 $ 984.00 PG-13 Thriller
32 $ 860.00 R Thriller
33 $ 856.00 Unrated Thriller
36 $ 839.00 PG Thriller
45 $ 802.00 PG Thriller
55 $ 744.00 PG-13 Thriller
57 $ 736.00 PG-13 Thriller
58 $ 736.00 R Thriller
73 $ 637.00 PG-13 Thriller
97 $ 556.00 PG-13 Thriller
98 $ 545.00 PG-13 Thriller
99 $ 545.00 R Thriller
105 $ 494.00 PG-13 Thriller
106 $ 485.00 PG-13 Thriller
142 $ 298.00 PG-13 Thriller
143 $ 296.00 R Thriller
178 $ 125.00 PG-13 Thriller
193 $ 36.00 PG Thriller
30 $ 874.00 PG Unknown
42 $ 819.00 R Unknown
91 $ 582.00 R Unknown
96 $ 562.00 PG Unknown
113 $ 446.00 PG Unknown
124 $ 386.00 PG-13 Unknown
21 $ 907.00 R Western
54 $ 750.00 PG-13 Western
157 $ 219.00 PG-13 Western

Q2 - Pivot Table

11) Using the data on the Pivot Table Data Sheet, create a Pivot table showing:
1) The Movie Type, Count of Type, and Sum of Domestic Gross (in millions); using columns B and D from the Pivot Table Data Sheet
Show three columns: Movie Type, Count of Type, and Sum of Domestic Gross (in millions)
Format the Sum of Domestic Gross (in millions) Field using $
12) Which type of movie had the highest Domestic Gross Total for 2018?
Horror
13) Which type of movie had the highest number of films made of that type in 2018?
Horror
(You might try making more/different pivot tables to learn about the raw data. What do you want to know about
Domestic Movies in 2018?)

Q3 - Frequency

Use the raw Data on the Pivot Table Data Sheet to create a Frequency Chart:
Follow these steps to get the Frequency chart. The following website also has instructions to create bins.
https://www.statisticshowto.datasciencecentral.com/choose-bin-sizes-statistics/
14) Step One: (Find the lowest and highest numbers in the data.) Use the Excel sheet titled Pivot Table Data
What is the Total DomesticGross of the lowest movie sales? Hint - use either =MIN()or just choose the movie at the bottom of the list
$1,876.00
What is the Total DomesticGross of the highest movie sales? Hint - use either =MAX()or just choose the movie at the top of the list
13,420
15) Step Two: (Find the range by subtracting the lowest number from the highest number.)
Subtract the lowest from the highest to find the range of the Domestic Gross take for the Movies
The range of Total Domestic Gross for these movies is
$11,544.00
16) Step Three: (Find the bin widths by dividing the range by the number of bins that you want to have.)
We will use 10 bins so divide the range by 10:
$1,154.00
Each bin will be : wide. Do not round.
Step Four: (Find the highest number for the first bin by starting with the lowest number in the data set and adding the bin width.)
Start with the minimum number:
Add the width of the bins
This number is the highest number that is used in the first bin.
Excel will use this number when it counts the number of pieces of data in the raw data set that is lower than this number.
Put this number in cell C38 for the first bin.
Step Five: (Find the rest of the highest bin numbers. Start with the highest number in the first bin. Add the bin width. This number is the highest total for bin 2.)
The next bin's's highest number starts with the first bin highest number and adds the size of the bins
Therefore, the second bin begins with and adds the bin size to get Place this number in cell C39.
Successive bins start with the previous bin's highest number and adds the width of thebins. The last bin will have the maximum number in the data set as its highest value.
Therefore, continue adding to get the Bins array for the =FREQUENCY() function.
The last bin number in cell C47 will equal the highest Domestic Gross movie total
17) Here are the highest numbers for each bin:
Bins:
18) Follow the instructions in the youtube videos to use the =FREQUENCY() array function. https://www.youtube.com/watch?v=c4b1F4-tv8Q
You know that you have correctly used the =FREQUENCY() function if Excel automatically puts {} around the function.
Don't forget to push Control-Shift-Enter at the same time to enter the =FREQUENCY function.
Bins: Frequency:
https://www.youtube.com/watch?v=c4b1F4-tv8Q https://www.statisticshowto.datasciencecentral.com/choose-bin-sizes-statistics/

Q4 - Charts

Copy the Bins and Frequency Data from the Q4 - Frequency sheet
Bins: Frequency:
19) Histogram
Create a Histogram of the Bins and Frequency data by first creating a column Chart and then removing the spaces between the columns.
20) Format the historgram so there are no spaces between the bars. Histograms do not have spaces and the graph does not become a Histogram until the spaces are removed.
Add a title to the Histogram
Add horizontal and Vertical Axes titles
21) Explain the difference between a histogram and a bar graph:
22)
Make a pie chart of the raw frequency data with a title and Legend:

Q5-Two Way

23 As part of the marketing group of a film company, you are asked to find out the age distribution of the audience of the latest film.
You ask questions of customers who exit the theatre. From 470 responses, you find that 45 are younger than 6 years old, 83 are 6 to 9 years,
154 are 10 to 14, 18 are 15 to 21, and 170 are older than 21.
a)  Make a frequency table of these categorical data.
b) Make a relative frequency table.
c)  Make a bar chart using counts in the frequency table.
d) Would a bar chart of relative frequencies look any different?
e)  Make a pie chart.
f)   Write a few sentences summarizing the distribution demonstrated by your charts and tables.
In addition to age grouping information, the audiences interviewed were also asked if they had seen the movie before (Never, Once, More than Once).
under 6 6 to 9 10 to 14 15 to 21 over 21
never 39 60 84 16 151
once 3 20 38 2 15
more than once 3 3 32 0 4
24 a)  Find the marginal distributions of their previous viewing of the movie.
b) Verify that the marginal distribution of the ages is the same as that given previously.
c)  Find column percentages.
d) Looking at these percentages, does the distribution of how many times someone has seen the movie look the same for each age group?
e)  Make a stacked bar chart showing the distribution of viewings for each age level