Académique Documents
Professionnel Documents
Culture Documents
SIMULAO DE SISTEMAS
AULA 4 COLETA E TRATAMENTO
DE DADOS DE ENTRADA
DOS MODELOS DE FILAS
Autor: Anibal Tavares de Azevedo
Descrio
LINK
Lab 4 Exerccio 1
https://docs.google.com/spreadsheet/ccc?key=0Aoz
UGKjaO9uEdElYbzgtc3lIeHpOR0RBT2pJNjNFbUE&usp
=sharing
Lab 4 Exerccio 2
https://docs.google.com/spreadsheet/ccc?key=0Aoz
UGKjaO9uEdDhiTkt5U3J4Z2xzRDUwamZ4YXNCQVE&
usp=sharing
Lab 4 Exerccio 3
https://docs.google.com/spreadsheet/ccc?key=0Aoz
UGKjaO9uEdFFBenlKU3NVUnBjYVE2ampScGtlckE&u
sp=sharing
Lab 4 Exerccio 4
https://docs.google.com/spreadsheet/ccc?key=0Aoz
UGKjaO9uEdFNPMGpLZXZuMTk2d2dfR2dxSzhGaEE
&usp=sharing
21/09/2013
Descrio
LINK
Lab 4 Exerccio 5
https://docs.google.com/spreadsheet/ccc?key=0Aoz
UGKjaO9uEdFEzcUpfQVdISG94NHluZWZYR2tRVUE&
usp=sharing
http://www.livrosimulacao.eng.br/
21/09/2013
Tempo em fila
Supermercado
Tempo Servio
e
Intervalo entre
as chegadas
Tempo de
atendimento
12:00
18:00
20:00
Horrio Crtico
21/09/2013
Populao
Amostra
21/09/2013
21/09/2013
21/09/2013
13
19
18
27
11
12
10
12
17
18
17
12
13
14
13
28
15
728
19
20
28
20
12
10
11
12
12
12
12
22
27
15
18
12
10
20
16
12
11
24
18
13
19
19
10
10
11
43
21/09/2013
Eliminar
Mediana
50%
Q3
75%
Q1
25%
Min NO
=QUARTILE(D6:D205,1)
=median(D5:D204)
Mediana
3
=QUARTILE(D6:D205,3)
Q3
21/09/2013
Achar o 1 menor
valor no outlier
Max NO
=H8-1.5*H14
Q3-Q1
H10
H8
=H10+1.5*H14
Amplitude Inter-quartil
Lim sup
21/09/2013
2
1
3
Q3
Q1
Min NO
10
21/09/2013
=average(D6:D205)
=var(D6:D205)
11
21/09/2013
Identificando
outliers: 728
Sem outlier !
...
Com outlier !
12
21/09/2013
Servio = 30s
Servio = 5s
Servio = 1s
Dia 1
Dia 5
Dia 10
13
21/09/2013
1
4
3
14
21/09/2013
Dados com
correlao
linear !
15
21/09/2013
X ,Y =
Esperana ou mdia
de Y
E ( XY ) E ( X ) E (Y )
E ( X 2 ) E 2 ( X ) E (Y 2 ) E 2 (Y )
Quadrado da mdia de X
Medida de correlao linear
0.75
X ,Y =
E ( XY ) E ( X ) E (Y )
E ( X ) E 2 ( X ) E (Y 2 ) E 2 (Y )
2
16
21/09/2013
Nmero de dados
K = 1+ 3,3 log10 n
O tamanho h de cada classe dado por:
h=
amplitude da amostra
K
17
21/09/2013
Nmero de dados
h=
amplitude amostra SO 43
=
= 4,78
K
9
=if(E6<4.8;1;0)
Classe 3: [9,6-14,3]
2
=if(E6>=9.6;if(E6<14.3;1;0);0)
18
21/09/2013
=sum(H5:H204)
Total na classe 1
Nmero de
Chegadas
[0,0 - 4,8)
96
[4,8 - 9,6)
55
[9,6 14,3)
25
[14,3 19,1)
13
[19,1 23,9)
[23,9 28,7)
[28,7 33,4)
[33,4 38,2)
>38,2
19
21/09/2013
20
21/09/2013
Polinmio de grau 4
R2 = 0,5935
R2 = 0,7925
S tot = ( yi y ) 2
S esp = ( y i y ) 2
i =1
i =1
S res = ( y i yi ) 2
i =1
Onde:
y=
y
i =1
21
21/09/2013
yi
Valores observados - yi
xi
yi
Valores estimados -
y i
xi
22
21/09/2013
yi
Valor mdio - y
xi
yi
Valores observados - yi
Valores estimados -
y i
S res = ( y i yi ) 2
i =1
xi
23
21/09/2013
yi
Valores estimados -
y i
n
S esp = ( y i y ) 2
i =1
Valor mdio - y
xi
yi
Valores observados - yi
S tot = ( yi y ) 2
i =1
Valor mdio - y
xi
24
21/09/2013
yi
Valores observados - yi
Valores estimados -
y i
S res
S esp
S tot
Valor mdio - y
xi
R2 =
S esp
Stot
Ento:
R2 =
Stot S res
S
= 1 res
Stot
Stot
Contribuio do que no
pode ser explicado pelo
modelo terico !
Assim:
n
R = 1
2
( y
i =1
n
(y
i =1
yi ) 2
y)
Onde:
y=
y
i =1
25
21/09/2013
f (t ) = e t
1/mdia
t
i =1
f (t ) = e t
Nmero de clientes
no sistema
26
21/09/2013
t
i =1
= 1359
Logo:
t
i =1
1
= 0,146
6,83
f (t ) = 0,146e 0,146t
27
21/09/2013
OBRIGADO !!!
28