Sei sulla pagina 1di 95

ASSIGNMENT MODEL

1) Balance Model, Minimization


A plant has 4 operators to be assigned to four machines. The time (in minutes)
required by each operator to produce a product on each machine is shown below:
T1
MACHINE
Operator
A B C D E
1 11 12 10 9
2 8 10 5 7
3 11 14 12 13
4 9 15 8 11

Determine the optimal operator-machine assignment and compute for the


total minimum time.
T2 1st
MACHINE Lowest
Operator
A B C D Number
1 11 12 10 9 9
2 8 10 5 7 5
3 11 14 12 13 11
4 9 15 8 11 8

T4
MACHINE
Operator
A B C D
1 2 0 1 0 2
2 3 2 0 2 1
3 0 0 1 2 2
4 1 4 0 3 1
1 2 2 1

T6
MACHINE
Operator
A B C D
1 2 0 2 0 2
2 2 1 0 1 1
3 0 0 2 2 2
4 0 3 0 2 2
2 2 2 1
MACHINE
Operator
A B C D
1 2 0 2 0
2 2 1 0 1
3 0 0 2 2
4 0 3 0 2
T3
MACHINE
Operator
A B C D
1 2 3 1 0
2 3 5 0 2
3 0 3 1 2
4 1 7 0 3
Lowest # in
0 3 0 0
the column
T5
MACHINE
Operator
A B C D
1 2 0 =1+1 0
2 =3-1 =2-1 0 =2-1
3 0 0 =1+1 2
4 =1-1 =4-1 0 =3-1

Operator Machine
TIME
1 B/D D 9
2 C C 5
3 A/B B 14
4 A/C A 9
37
1 B /D
2 C
3 A/B
4 A/C
Unbalanced, Maximization

A high school department head has five teachers to be assigned to four different levels.
All of the teachers have taught the different year levels in the past and have been evaluated
by the students. The rating for each teacher for each year level is given in the ff table:

YEAR LEVEL
Teacher
First Second Third Fourth
1 80 75 90 85 Sec
2 95 90 90 97 4th
3 85 95 88 91 2nd
4 93 91 80 84 1st
5 91 92 93 88 3rd

The department head wants to know the optimal assignment of teachers to year levels
that will maximize the over-all average student evaluation rating. The teacher who
is not assigned to teach will be assigned as secretary. Find the respective assignment of
teachers - Year level.

YEAR LEVEL
Teacher
First Second Third Fourth DUMMY
1 80 75 90 85 0
2 95 90 90 97 0
3 85 95 88 91 0
4 93 91 80 84 0
5 91 92 93 88 0

T1
YEAR LEVEL
Teacher
First Second Third Fourth DUMMY
1 10 15 0 5 90
2 2 7 7 0 97
3 10 0 7 4 95
4 0 2 13 9 93
5 2 1 0 5 93
Select the
lowest 0 0 0 0 90
number
YEAR LEVEL
Teacher
A B C D E
1 10 15 0 5 0
2 2 7 7 0 7
3 10 0 7 4 5
4 0 2 13 9 3
5 2 1 0 5 3
1 1 2 1 1

Teacher Year Level ASSIGNMENT


1 C/E Sec
2 D 4th Level
3 B 2nd Level
4 A 1st level
5 C 3rd level
different levels.
have been evaluated
n in the ff table:

1 C/E Sec
2 D 4th Level
3 B 2nd Level
4 A 1st level
5 C 3rd level

s to year levels
teacher who
ve assignment of

Biggest
Number
90
97
95
93
93

Biggest
Number
90
97
95
93
93
2
1
1
1
1
Simple Linear Regression
- a model with a single predictor (or independent variable) and a single dependent variable

OR y = b0 + b1X
y = a + bX
y = a +b1X1 + b2X2 + b3X3
Sales

b1=n( ΣXY) - (ΣX)(ΣY) b0 = barY - b1(bar X)


n (ΣX^2) -(ΣX)^2

Formula for the Sum of the Squares, SST


SST = SSR + SSE

Standard Error of Estimate, SSE

Coefficient of Determination
Coefficient of non-determination = 1 - r^2

Confidence Interval & Predictive interval


dependent variable
IV Independent Variable
DV Dependent variable
= b0 + b1X

= a +b1X1 + b2X2 + b3X3


Advertising

y = 1 + 0.5x
The owner of a chain of fruit shakes stores would like to study the correlation
between atmospheric temperature and sales during the summer season. A random
sample of 12 days is selected with the results given as follows:

Day 1 2 3 4 5
IV Temp (deg F) 79 76 78 84 90
DV Total Sales 147 143 147 168 206

Q1. Determine the regression equation


Q2. Solve for the Sum of Squares for error, Standard Error and Coefficient of Determination
Q3. Determine the sales of fruit shake if the temperature is 95 degrees F
Q4. Find the 95% Confidence Interval for all temperature with 95 degrees F
Q5. Determine a 95% prediction interval with 95 degrees F

Solution
y = a + bX or y = a +b1x
a b c d e f
IV DV
Day X Y X^2 Y^2 XY
1 79 147 6,241.00 21,609.00 11,613.00
2 76 143 5,776.00 20,449.00 10,868.00
3 78 147 6,084.00 21,609.00 11,466.00
4 84 168 7,056.00 28,224.00 14,112.00
5 90 206 8,100.00 42,436.00 18,540.00
6 83 155 6,889.00 24,025.00 12,865.00
7 93 192 8,649.00 36,864.00 17,856.00
8 94 211 8,836.00 44,521.00 19,834.00
9 97 209 9,409.00 43,681.00 20,273.00
10 85 187 7,225.00 34,969.00 15,895.00
11 88 200 7,744.00 40,000.00 17,600.00
12 82 150 6,724.00 22,500.00 12,300.00
Total 1,029.00 2,115.00 88,733.00 380,887.00 183,222.00

b1=n( ΣXY) - (ΣX)(ΣY) b0 = barY - b1(bar X)


n (ΣX^2) -(ΣX)^2

b1 = 12 (183,222) - (1,029)(2115)
' 12 (88,733) - (1029)^2
b1 = 3.75 Bar X x/n
85.75

Bar Y Y/n
176.25
From y = a + bx
bar y = a + b (bar X)
a = bar y - b (bar X)
substitute value of bar y, bar x and b

a = 176.25 - 3.75 (85.75)


= - 145.31

Regression Equation is y = a + bx
y = -145.31 + 3.75X
y = 3.75X - 145.31
Temp Sales (y)
example 0 -145.31
-10 -182.81
95 210.94
6 7 8 9 10 11 12
83 93 94 97 85 88 82
155 192 211 209 187 200 150

Answer: y = 3.75X - 145.31


nt of Determination
Answer: 210.94
Sum of Squares for Error, Standard Error and Coefficient of Determination
a b c d e f
Day Y
Bar Y X
176.25 1 79 147 -29.25 855.5625 150.94
176.25 2 76 143 -33.25 1105.5625 139.69
176.25 3 78 147 -29.25 855.5625 147.19
176.25 4 84 168 -8.25 68.0625 169.69
176.25 5 90 206 29.75 885.0625 192.19
176.25 6 83 155 -21.25 451.5625 165.94
176.25 7 93 192 15.75 248.0625 203.44
176.25 8 94 211 34.75 1207.5625 207.19
176.25 9 97 209 32.75 1072.5625 218.44
176.25 10 85 187 10.75 115.5625 173.44
176.25 11 88 200 23.75 564.0625 184.69
176.25 12 82 150 -26.25 689.0625 162.19
TOTAL 1,029.00 2,115.00 - 8,118.25 2,115.03

A. Sum of Squares Total, SST 8,118.25

B. Sum of Square for Error, SSE 1,141.14

C. Standard Error of Estimate

=√ SSE / (n-2)

=√ 1,141.14 / (12 -2) 114.114


= 10.68

D. Coefficient of determination, r^2


= 1 - (SSE / SST)

= 1 - (1141.14 / 8118.25)

r^2 = 0.859

Q4. Find the 95% Confidence Interval for all temperature with 95 degrees F
y = 3.75X - 145.31

Y Prime = 3.75 (95) - 145.31


= 210.94
S sub E, Standard Error = 10.68
Determine value of t @ 95% Confidence
df = n - 2
df = 12 - 2
df = 10
therefore, t = 2.228

Confidence Interval = 210.94 +/- (2.228) (10.68) Square Root 1/12 +

Confidence Interval = 210.94 + 12.04 222.98

Confidence Interval = 210.94 - 12.04 198.9


Thus, the number of 95% Conf Int for the number of Fruit shake sold when temp is at 95 deg F is from
198.9 to 222.98 fruit shake --> ALL CASES

Q5. Determine a 95% prediction interval with 95 degrees F


= 210.94 +/- 26.67

Positive = 210.94 + 26.67 = 237.61


Negative = 210.94 - 26.67 = 184.27

Therefore, for Predictive Interval the estimated Fruit Shake if between 184.27 to 237.61
the range is quite big 184.27 to 237.61 compare to the Confidence interval of 198 to 222
184. 27 237.61 53.34
Confidence I198 222 24 realistic
g h y = 3.75X - 145.31

-3.94 15.5236
3.31 10.9561
-0.19 0.0361
-1.69 2.8561
13.81 190.7161
-10.94 119.6836
-11.44 130.8736
3.81 14.5161
-9.44 89.1136
13.56 183.8736
15.31 234.3961
-12.19 148.5961
- 0.03 1,141.14
n temp is at 95 deg F is from
.27 to 237.61
of 198 to 222
Sum of Squares for Error, Standard Error and Coefficient of Determination
a b c d e f
Day Y
Bar Y X
85.75 1 79 147 68 4624 150.94
85.75 2 76 143 67 4489 139.69
85.75 3 78 147 69 4761 147.19
85.75 4 84 168 84 7056 169.69
85.75 5 90 206 116 13456 192.19
85.75 6 83 155 72 5184 165.94
85.75 7 93 192 99 9801 203.44
85.75 8 94 211 117 13689 207.19
85.75 9 97 209 112 12544 218.44
85.75 10 85 187 102 10404 173.44
85.75 11 88 200 112 12544 184.69
85.75 12 82 150 68 4624 162.19
TOTAL 1,029.00 2,115.00 1,086.00 103,176.00 2,115.03

A. Sum of Squares Total, SST 103,176.00

B. Sum of Square for Error, SSE 1,141.14

C. Standard Error of Estimate

=√ SSE / (n-2)

=√ 1,141.14 / (12 -2) 114.114


= 10.68

D. Coefficient of determination, r^2


= 1 - (SSE / SST)

= 1 - (1141.14 / 8118.25)

r^2 = 0.859

Q4. Find the 95% Confidence Interval for all temperature with 95 degrees F
y = 3.75X - 145.31

Y Prime = 3.75 (95) - 145.31


= 210.94
S sub E, Standard Error = 10.68
Determine value of t @ 95% Confidence
df = n - 2
df = 12 - 2
df = 10
therefore, t = 2.228

Confidence Interval = 210.94 +/- (2.228) (10.68) Square Root 1/12 +

Confidence Interval = 210.94 + 12.04 222.98

Confidence Interval = 210.94 - 12.04 198.9


Thus, the number of 95% Conf Int for the number of Fruit shake sold when temp is at 95 deg F is from
198.9 to 222.98 fruit shake --> ALL CASES

Q5. Determine a 95% prediction interval with 95 degrees F


= 210.94 +/- 26.67

Positive = 210.94 + 26.67 = 237.61


Negative = 210.94 - 26.67 = 184.27

Therefore, for Predictive Interval the estimated Fruit Shake if between 184.27 to 237.61
the range is quite big 184.27 to 237.61 compare to the Confidence interval of 198 to 222
184. 27 237.61 53.34
Confidence I198 222 24 realistic
g h y = 3.75X - 145.31

-3.94 15.5236
3.31 10.9561
-0.19 0.0361
-1.69 2.8561
13.81 190.7161
-10.94 119.6836
-11.44 130.8736
3.81 14.5161
-9.44 89.1136
13.56 183.8736
15.31 234.3961
-12.19 148.5961
- 0.03 1,141.14
n temp is at 95 deg F is from
.27 to 237.61
of 198 to 222
The Jollibee Food believes its sales are directly related to the amount of
money its speneds on promotion. The company has accumulated the following
data on promotional expenditures and sales for the past 10 years.

Promtional
Expenditures Annual Sales
(P 100,000) (P 100,000)
8 65
14 90
10 84
13 95
15 97
18 100
19 105
20 111
24 120
29 123

Q1 Develop the Regression Equation


Q2 Solve for the Sum of Sqaures for Error, Standard Error and Coefficient of Determinatio
Q3 For promotional expenditure of P2,750,000, what will be the projected sales
Q4 Find the 99% confidence interval for promotional expenditure of P 3,250,000
Q5 Determine the 99% prediction interval with promotional expenditure of P3,250,000
nd Coefficient of Determination
the projected sales
diture of P 3,250,000
expenditure of P3,250,000

Potrebbero piacerti anche