You are on page 1of 14

FPT UNIVERSITY- CAMPUS CAN THO



INDIVIDUAL ASSIGNMENT (MAS202)

TOPIC: Homework 1 ( scenario 1-5)

Course : MAS202

Student name: Trần Thị Minh Châu

Code: CS160200

Class: IB1603

Email: chauttmcs160200@fpt.edu.vn

Cần Thơ, 10/2022


SCENARIO 1

The table below contains the opinions of a sample of 200 people broken down by gender
about the latest congressional plan to eliminate anti-trust exemptions for professional
baseball.

1. Construct a table of row percentages.


2. Construct a table of column percentages.
3. Construct a table of total percentages.
4. How many percent of the 200 were females who were either neutral or against the
plan?
5. How many percent of the 200 were males who were not against the plan?
6. How many percent of the 200 were not neutral?
7. How many percent of the 200 were against the plan?

Solution:
1. Construct a table of row percentages.

Row Percentage Table Calculation


For Neutral Against Totals
Female = 38/104 = 54/104 = 12/104 104
Male = 12/96 = 36/96 = 48/96 96
Totals = 50/200 = 90/200 = 60/200 200

Row Percentage Table Calculation


For Neutral Against Totals
Female 36.54% 51.92% 11.54% 100.00%
Male 12.50% 37.50% 50.00% 100.00%
Totals 25.00% 45.00% 30.00% 100.00%

[Name.Class.IA[No]] 1
2. Construct a table of column percentages.

Row Percentage Table Calculation


For Neutral Against Totals
Female = 38/50 = 54/90 = 12/60 104/200
Male = 12/50 = 36/90 = 48/60 96/200
Totals 50 90 60 200

Row Percentage Table Calculation


For Neutral Against Totals
Female 76.00% 60.00% 20.00% 52.00%
Male 24.00% 40.00% 80.00% 48.00%
Totals 100.00% 100.00% 100.00% 100.00%

3. Construct a table of total percentages.

Row Percentage Table Calculation


For Neutral Against Totals
Female = 38/200 = 54/200 = 12/200 104/200
Male = 12/200 = 36/200 = 48/200 96/200
Totals = 50/200 = 90/200 = 60/200 200

Row Percentage Table Calculation


For Neutral Against Totals
Female 19.00% 27.00% 6.00% 52.00%
Male 6.00% 18.00% 24.00% 48.00%
Totals 25.00% 45.00% 30.00% 100.00%

[Name.Class.IA[No]] 2
4. Percent of the 200 were females who were either neutral or against the plan:

(54+12)/200 = 33%

5. Percent of the 200 were males who were not against the plan:

(12+36)/200 = 24%

6. Percent of the 200 were not neutral:

(50+60)/200 = 55%

7. Percent of the 200 were against the plan:

60/200 = 30%

SCENARIO 2

Given below is the stem-and-leaf display representing the amount of detergent used in
gallons (with leaves in 10ths of gallons) in a day by 25 drive-through car wash operations
in Phoenix.
9 | 1,4,7
10 | 0,2,2,3,8
11 | 1,3,5,5,6,6,7,7,7
12 | 2,2,3,4,8,9
13 | 0.2
1. Suppose that a percentage histogram for the detergent data is constructed, using "9.0
but less than 10.0 gallons" as the first class. Determine the percentage of drive-through
car wash operations that use “12.0 but less than 13.0 gallons” of detergent?
2. If a percentage histogram for the detergent data is constructed, using "9.0 but less than
10.0 gallons" as the first class, what percentage of drive-through car wash operations use
less than 12 gallons of detergent in a day?
3. If a relative frequency or percentage distribution for the detergent data is constructed,
using "9.0 but less than 10.0 gallons" as the first class, what percentage of drive-through
car wash operations use at least 10 gallons of detergent in a day?

[Name.Class.IA[No]] 3
4. Construct a relative frequency or percentage distribution for the detergent data, using
"9.0 but less than 10.0" as the first class.
5. Construct a cumulative percentage distribution for the detergent data if the
corresponding frequency distribution uses "9.0 but less than 10.0" as the first class.
6. Construct a percentage histogram for the detergent data, using "9.0 but less than 10.0"
as the first class.
7. Construct a cumulative percentage polygon for the detergent data if the corresponding
frequency distribution uses "9.0 but less than 10.0" as the first class.
8. Construct a percentage polygon for the detergent data if the corresponding frequency
distribution uses "9.0 but less than 10.0" as the first class.

Solution:

Class Frequency
9.0 but less than 10.0 3
10.0 but less than 11.0 5
11.0 but less than 12.0 9
12.0 but less than 13.0 6
13.0 but less than 14.0 2
Total 25

1. Suppose that a percentage histogram for the detergent data is constructed, using
"9.0 but less than 10.0 gallons" as the first class. Determine the percentage of drive-
through car wash operations that use “12.0 but less than 13.0 gallons” of detergent?

12 ≤ x <13 = 6
6/25= 24%

2. If a percentage histogram for the detergent data is constructed, using "9.0 but less
than 10.0 gallons" as the first class, what percentage of drive-through car wash
operations use less than 12 gallons of detergent in a day?

(3/25) + (5/25) + (9/25)= 12% + 20% + 36% = 68%

[Name.Class.IA[No]] 4
3. If a relative frequency or percentage distribution for the detergent data is
constructed, using "9.0 but less than 10.0 gallons" as the first class, what percentage
of drive-through car wash operations use at least 10 gallons of detergent in a day?

9 ≤ x <10 = 3
3/25 = 12%

4. Construct a relative frequency or percentage distribution for the detergent data,


using "9.0 but less than 10.0" as the first class.

Class Frequency Relative Percentage


Frequency
9.0 but less than 10.0 3 0.12 12%
10.0 but less than 11.0 5 0.20 20%
11.0 but less than 12.0 9 0.36 36%
12.0 but less than 13.0 6 0.24 24%
13.0 but less than 14.0 2 0.08 8%
Total 25 1.00 100%

Above is the frequency distribution for detergent data, using "9.0 but less than 10.0" as
the first layer.

[Name.Class.IA[No]] 5
5. Construct a cumulative percentage distribution for the detergent data if the
corresponding frequency distribution uses "9.0 but less than 10.0" as the first class.

Class Frequency Percentage Cumulative Cumulative


Percentage
9.0 but less than 3 12% 3 12%
10.0
10.0 but less than 5 20% 8 32%
11.0
11.0 but less than 9 36% 17 68%
12.0
12.0 but less than 6 24% 23 92%
13.0
13.0 but less than 2 8% 25 100%
14.0
Total 25 100% 25 100%

The above is the cumulative percent distribution for the detergent data if the
corresponding frequency distribution uses "9.0 but less than 10.0" as the first class.

6. Construct a percentage histogram for the detergent data, using "9.0 but less than
10.0" as the first class.

Frequency

8% 12% 9.0 but less than 10.0


10.0 but less than 11.0
11.0 but less than 12.0
24%
20% 12.0 but less than 13.0
13.0 but less than 14.0

36%

[Name.Class.IA[No]] 6
Above is a percentage histogram for detergent data, using "9.0 but less than 10.0" as the
first class.

7. Construct a cumulative percentage polygon for the detergent data if the


corresponding frequency distribution uses "9.0 but less than 10.0" as the first class.

Cumulative Percentage
120%

100%

80%

60%

40%

20%

0%
5% 10% 15% 20% 25% 30% 35% 40%

Above is a cumulative percentage polygon for the detergent data if the corresponding
frequency distribution uses "9.0 but less than 10.0" as the first class.

8. Construct a percentage polygon for the detergent data if the corresponding


frequency distribution uses "9.0 but less than 10.0" as the first class.

Percentage
40%

35%

30%

25%

20%

15%

10%

5%

0%
1 2 3 4 5 6 7 8 9 10

[Name.Class.IA[No]] 7
Above is a percentage polygon for the detergent data if the corresponding frequency
distribution uses "9.0 but less than 10.0" as the first class.

SCENARIO 3

The rate of return of a Fortune 500 company over the past 15 years are: 3.17%, 4.43%,
5.93%, 5.43%, 7.29%, 8.21%, 6.23%, 5.23%, 4.34%, 6.68%, 7.14%, -5.56%, -5.23%, -
5.73%, -10.34%
1. Compute the arithmetic mean rate of return per year.
2. Compute the geometric mean rate of return per year for the first four years.
3. Construct a boxplot for the rate of return. What is the shape of the distribution for the
rate of return?

Solution:
1. Compute the arithmetic mean rate of return per year.

X = 0.0317 + 0.0443 + 0.0593 + 0.0543 + 0.0729 + 0.0821 + 0.0623 + 0.0523 + 0.0434 +


0.0668 + 0.0714 + (-0.0556) + (-0.0523) + (-0.0573) + (-0.1034)
= 0.02481

2. Compute the geometric mean rate of return per year for the first four years.

[ (1+0.0317) × (1+0.0443) × (1+0.0593) × (1+0.0543) ]1/4 -1 = 0.04734

3. Construct a boxplot for the rate of return. What is the shape of the distribution
for the rate of return?

Smallest: (-0.1034)
Q1: (n+1)/4 = 4 ⟹ Q1 = -0.0523
Median: 0.0523
Q3: (3x(n+1))/4 = 12 ⟹ Q2 = 0.0623
Largest: 0.0821

[Name.Class.IA[No]] 8
- Above is a boxplot for the rate of return
- The shape of the distribution for the rate of return is Left-Skewed

SCENARIO 4

Two different designs on a new line of winter jackets for the coming winter are available
for your manufacturing plants. Your profit (in thousands of dollars) will depend on the
taste of the consumers when winter arrives. The probability of the three possible different
tastes of the consumers and the corresponding profits are presented in the following table.

Probability Taste Design A Design B


0.2 more conservative 180 520
0.5 no change 230 310
0.3 more liberal 350 270

1. What is your expected profit when Design B is chosen?


2. What is the variance of your profit when Design A is chosen?
3. What is the standard deviation of your profit when Design B is chosen?
4. What is the covariance of the profits from the two different designs?
5. What is the expected profit, the total variance, and the total standard deviat

[Name.Class.IA[No]] 9
Solution:

1. What is your expected profit when Design B is chosen?

EB = (520×0.2) + (310×0.5) + (270×0.3) = 340

2. What is the variance of your profit when Design A is chosen?

EA = (180×0.2) + (230×0.5) + (350×0.3) = 256

σ 2A = (0.2)(180-256)2 + (0.5)(230-256)2 + (0.3)(350-256)2 = 4,144

3. What is the standard deviation of your profit when Design B is chosen?

σ 2B = (0.2)(520-340)2 + (0.5)(310-340)2 + (0.3)(270-340)2 = 8,400

σ B = √σ 2B = √8400 = 91.65

4. What is the covariance of the profits from the two different designs?

cov (X,Y)
= (180-256)(520-340)(0.2) + (230-256)(310-340)(0.5)+(350-256)(270-340)(0.3) = -4320

5. What is the expected profit, the total variance, and the total standard deviation

- Expected profit:
EA + EB = 256 + 340 = 596

- The total variance:


σ 2A + σ 2B = 4,144 + 8,400 = 12,544

[Name.Class.IA[No]] 10
- The total standard deviation:
σ A + σ B = 64.37 + 91.65 = 156.02

SCENARIO 5

Given below are the rating and performance scores of 15 laptop computers

Performanc 115 191 153 194 236 184 184 216


e
Score

Overall 74 78 79 80 84 76 77 92
Rating

Performanc 185 183 189 202 192 141 187


e
Score

Overall 83 78 77 78 78 73 77
Rating

1. What is the sample covariance between the performance scores and the rating?
2. What is the sample correlation coefficient between the performance scores and the
rating?
3. How will you classify the linear relationship between the performance scores and the
rating?

Solution:

1. What is the sample covariance between the performance scores and the rating?

Cov (x,y)
=((115-183)×(74-79)+(191-183)×(78-79)+(153-183)×(79-79)+(194-183)×(80-79)+(236-
183)×(84-79)+(184-183)×(76-79)+(184-183)×(77-79)+(216-183)×(92-79)+(185-
183)×(83-79)+(183-183)×(78-79)+(189-183)×(77-79)+(202-183)×(78-79)+(192-
183)×(78-79)+(141-183)×(73-79)+(187-183)×(77-79)) /14
= 88.86

[Name.Class.IA[No]] 11
2. What is the sample correlation coefficient between the performance scores and
the rating?

Sx2 = (115-183)2+(191-183)2+(153-183)2+(194-183)2+(236-183)2+(184-183)2
+(184-183)2+(216-183)2+(185-183)2+(183-183)2+(189-183)2+(202-183)2
+(192-183)2+(141-183)2+(187-183)2 /14
= 847.7
Sx = √847.7 = 29.115

Sy2 = (74-79)2+(78-79)2+(79-79)2+(80-79)2+(84-79)2+(76-79)2+(77-79)2
+(92-79)2+(83-79)2+(78-79)2+(77-79)2+(78-79)2+(78-79)2+(73-79)2+(77-79)2 /14
= 21.207
Sy = √21.207 = 4.605

r = 88.86/(29.115×4.605) = 0.663

3. How will you classify the linear relationship between the performance scores and
the rating?

[Name.Class.IA[No]] 12
Above is the linear relationship between the performance scores and the rating

[Name.Class.IA[No]] 13

You might also like