Sie sind auf Seite 1von 10

14 7 13 16 16 13 14 17 15 16

13 15 10 15 16 14 12 17 14 12
13 20 8 17 19 11 12 17 9 18
20 10 18 15 13 16 24 18 16 18
12 14 20 15 10 13 21 23 15 18
50
media 15.04 Varianza
varianza 13.14122449 13.14122449
m 7.07

7 8-9 10-11 12-13 14-15 16-17 18-19 20-21 22-23 24-25 26


1 2 4 10 11 10 6 4 1 1 0

12

10

0
7 8-9 10-11 12-13 14-15 16-17 18-19 20-21 22-23 24-25 26
1.0816 64.6416 4.1616 0.9216 0.9216 4.1616 1.0816 3.8416
4.1616 0.0016 25.4016 0.0016 0.9216 1.0816 9.2416 3.8416
4.1616 24.6016 49.5616 3.8416 15.6816 16.3216 9.2416 3.8416
24.6016 25.4016 8.7616 0.0016 4.1616 0.9216 80.2816 8.7616
9.2416 1.0816 24.6016 0.0016 25.4016 4.1616 35.5216 63.3616
15x e-15 fac Ei
0 1 3.059023E-07 1 3.059023E-07 0.90011 Ei Oi
1 15 3.059023E-07 1 4.588535E-06 0.9001096574 1
2 225 3.059023E-07 2 3.441401E-05 2.5925733776 2
3 3375 3.059023E-07 6 0.0001720701 5.7449069162 4
4 50625 3.059023E-07 24 0.0006452627 8.9233021628 10
5 759375 3.059023E-07 120 0.0019357881 10.243586666 11
6 11390625 3.059023E-07 720 0.0048394703 9.0384588233 10
7 170859375 3.059023E-07 5040 0.0103702935 6.3180016446 6
82562890625 3.059023E-07 40320 0.0194443003 2.59257 3.5837404287 4
9 3.8443E+10 3.059023E-07 362880 0.0324071672 1.6820916044 1
10 5.7665E+11 3.059023E-07 3628800 0.0486107508 5.74491 0.663983528 1
11 8.6498E+12 3.059023E-07 39916800 0.0662873875 0.3092451906 0
12 1.2975E+14 3.059023E-07 479001600 0.0828592344 8.9233 50 50
13 1.9462E+15 3.059023E-07 6227020800 0.0956068089
14 2.9193E+16 3.059023E-07 8.7178E+10 0.1024358667 10.2436 c
15 4.3789E+17 3.059023E-07 1.3077E+12 0.1024358667 chi2
16 6.5684E+18 3.059023E-07 2.0923E+13 0.096033625 9.03846
17 9.8526E+19 3.059023E-07 3.5569E+14 0.0847355515 1.7848
18 1.4779E+21 3.059023E-07 6.4024E+15 0.0706129596 6.318
19 2.2168E+22 3.059023E-07 1.2165E+17 0.0557470733
20 3.3253E+23 3.059023E-07 2.4329E+18 0.041810305 3.58374
21 4.9879E+24 3.059023E-07 5.1091E+19 0.0298645036
22 7.4818E+25 3.059023E-07 1.124E+21 0.0203621615 1.68209
23 1.1223E+27 3.059023E-07 2.5852E+22 0.0132796706
24 1.6834E+28 3.059023E-07 6.2045E+23 0.0082997941 0.66398
25 2.5251E+29 3.059023E-07 1.5511E+25 0.0049798765
26 3.7877E+30 3.059023E-07 4.0329E+26 0.0028730057 0.30925
27 5.6815E+31 3.059023E-07 1.0889E+28 0.0015961143
28 8.5223E+32 3.059023E-07 3.0489E+29 0.0008550612
29 1.2783E+34 3.059023E-07 8.8418E+30 0.000442273
30 1.9175E+35 3.059023E-07 2.6525E+32 0.0002211365
31 2.8763E+36 3.059023E-07 8.2228E+33 0.0001070015
32 4.3144E+37 3.059023E-07 2.6313E+35 5.015697E-05
33 6.4716E+38 3.059023E-07 8.6833E+36 2.279862E-05
34 9.7074E+39 3.059023E-07 2.9523E+38 1.005822E-05
35 1.4561E+41 3.059023E-07 1.0333E+40 4.310664E-06
36 2.1842E+42 3.059023E-07 3.7199E+41 1.79611E-06
37 3.2762E+43 3.059023E-07 1.3764E+43 7.281527E-07
38 4.9144E+44 3.059023E-07 5.2302E+44 2.874287E-07
39 7.3716E+45 3.059023E-07 2.0398E+46 1.105495E-07
40 1.1057E+47 3.059023E-07 8.1592E+47 4.145606E-08
41 1.6586E+48 3.059023E-07 3.3453E+49 1.516685E-08
42 2.4879E+49 3.059023E-07 1.405E+51 5.416733E-09
43 3.7318E+50 3.059023E-07 6.0415E+52 1.889558E-09
44 5.5978E+51 3.059023E-07 2.6583E+54 6.441675E-10
45 8.3967E+52 3.059023E-07 1.1962E+56 2.147225E-10
46 1.2595E+54 3.059023E-07 5.5026E+57 7.001821E-11
47 1.8892E+55 3.059023E-07 2.5862E+59 2.234624E-11
48 2.8339E+56 3.059023E-07 1.2414E+61 6.983199E-12
49 4.2508E+57 3.059023E-07 6.0828E+62 2.137714E-12
50 6.3762E+58 3.059023E-07 3.0414E+64 6.413142E-13
0.0016 0.9216
1.0816 9.2416
36.4816 8.7616
0.9216 8.7616
0.0016 8.7616

0.01109
0.13544
0.52998
0.12992
0.05586
0.10229
0.01601
0.04835
0.27659
0.17004
0.30925
1.78481

1.78481
18.307

< 18.307
Calcular la distribución de probabilidad de los datos historicos de los numeros de automoviles que entran a una gasoline
1.Obtener al menos 30 datos de la variable aleatoria a analizar.
14 7 13 16 16 13 14 17 15
13 15 10 15 16 14 12 17 14
13 20 8 17 19 11 12 17 9
20 10 18 15 13 16 24 18 16
12 14 20 15 10 13 21 23 15

2. Calcular la media y la varianza de los datos.


media 15.04
varianza 13.1412

1.0816 64.6416 4.1616 0.9216 0.9216 4.1616 1.0816 3.8416 0.0016


4.1616 0.0016 25.4016 0.0016 0.9216 1.0816 9.2416 3.8416 1.0816
4.1616 24.6016 49.5616 3.8416 15.6816 16.3216 9.2416 3.8416 36.4816
24.6016 25.4016 8.7616 0.0016 4.1616 0.9216 80.2816 8.7616 0.9216
9.2416 1.0816 24.6016 0.0016 25.4016 4.1616 35.5216 63.3616 0.0016

3. Crear un histograma de frecuencia con los datos observados.


menor 7
mayor 24

0-7 8-9 10-11 12-13 14-15 16-17 18-19 20-21 22-23


1 2 4 10 11 10 6 4 1
12
11
10
9
8
7
6
5
4
3

2
1
0
0-7 8-9 10-11 12-13 14-15 16-17 18-19 20-21 22-23 24-25 2

4. Establecer explícitamente la hipótesis nula, proponiendo una distribución de probabilidad que se ajuste a la forma del
histograma.
H0: Poisson (λ=15) automóviles / hora λ 15
H1: Otra distribución
5. Calcular la frecuencia esperada, a partir de una función de probabilidad propuesta.
6. Calcular el estadístico de prueba ©.
x λx e-λ x! p(x) Ei=np(x) Ei Oi c
0 1 3.059023E-07 1 3.05902E-07 1.53E-05 0.90011 1 0.01109
1 15 3.059023E-07 1 4.58853E-06 0.0002294
2 225 3.059023E-07 2 3.4414E-05 0.0017207
3 3375 3.059023E-07 6 0.00017207 0.0086035
4 50625 3.059023E-07 24 0.00064526 0.0322631
5 759375 3.059023E-07 120 0.00193579 0.0967894
6 11390625 3.059023E-07 720 0.00483947 0.2419735
7 170859375 3.059023E-07 5040 0.01037029 0.5185147
8 2562890625 3.059023E-07 40320 0.0194443 0.972215 2.592573 2 0.13544
9 38443359375 3.059023E-07 362880 0.03240717 1.6203584
10 5.7665E+11 3.059023E-07 3628800 0.04861075 2.4305375 5.744907 4 0.52998
11 8.64976E+12 3.059023E-07 39916800 0.06628739 3.3143694
12 1.29746E+14 3.059023E-07 479001600 0.08285923 4.1429617 8.923302 10 0.12992
13 1.9462E+15 3.059023E-07 6227020800 0.09560681 4.7803404
14 2.91929E+16 3.059023E-07 8.7178E+10 0.10243587 5.1217933 10.24359 11 0.05586
15 4.37894E+17 3.059023E-07 1.3077E+12 0.10243587 5.1217933
16 6.56841E+18 3.059023E-07 2.0923E+13 0.09603362 4.8016812 9.038459 10 0.10229
17 9.85261E+19 3.059023E-07 3.5569E+14 0.08473555 4.2367776
18 1.47789E+21 3.059023E-07 6.4024E+15 0.07061296 3.530648 6.318002 6 0.01601
19 2.21684E+22 3.059023E-07 1.2165E+17 0.05574707 2.7873537
20 3.32526E+23 3.059023E-07 2.4329E+18 0.04181031 2.0905153 3.58374 4 0.04835
21 4.98789E+24 3.059023E-07 5.1091E+19 0.0298645 1.4932252
22 7.48183E+25 3.059023E-07 1.124E+21 0.02036216 1.0181081 1.682092 1 0.27659
23 1.12227E+27 3.059023E-07 2.5852E+22 0.01327967 0.6639835
24 1.68341E+28 3.059023E-07 6.2045E+23 0.00829979 0.4149897 0.663984 1 0.17004
25 2.52512E+29 3.059023E-07 1.5511E+25 0.00497988 0.2489938
26 3.78768E+30 3.059023E-07 4.0329E+26 0.00287301 0.1436503 0.309245 0 0.30925
27 5.68151E+31 3.059023E-07 1.0889E+28 0.00159611 0.0798057
28 8.52227E+32 3.059023E-07 3.0489E+29 0.00085506 0.0427531
29 1.27834E+34 3.059023E-07 8.8418E+30 0.00044227 0.0221137
30 1.91751E+35 3.059023E-07 2.6525E+32 0.00022114 0.0110568
31 2.87627E+36 3.059023E-07 8.2228E+33 0.000107 0.0053501
32 4.3144E+37 3.059023E-07 2.6313E+35 5.0157E-05 0.0025078
33 6.4716E+38 3.059023E-07 8.6833E+36 2.27986E-05 0.0011399
34 9.7074E+39 3.059023E-07 2.9523E+38 1.00582E-05 0.0005029
35 1.45611E+41 3.059023E-07 1.0333E+40 4.31066E-06 0.0002155
36 2.18416E+42 3.059023E-07 3.7199E+41 1.79611E-06 8.981E-05
37 3.27625E+43 3.059023E-07 1.3764E+43 7.28153E-07 3.641E-05
38 4.91437E+44 3.059023E-07 5.2302E+44 2.87429E-07 1.437E-05
39 7.37155E+45 3.059023E-07 2.0398E+46 1.1055E-07 5.527E-06
40 1.10573E+47 3.059023E-07 8.1592E+47 4.14561E-08 2.073E-06
41 1.6586E+48 3.059023E-07 3.3453E+49 1.51669E-08 7.583E-07
42 2.4879E+49 3.059023E-07 1.405E+51 5.41673E-09 2.708E-07
43 3.73185E+50 3.059023E-07 6.0415E+52 1.88956E-09 9.448E-08
44 5.59777E+51 3.059023E-07 2.6583E+54 6.44168E-10 3.221E-08
45 8.39666E+52 3.059023E-07 1.1962E+56 2.14723E-10 1.074E-08
46 1.2595E+54 3.059023E-07 5.5026E+57 7.00182E-11 3.501E-09
47 1.88925E+55 3.059023E-07 2.5862E+59 2.23462E-11 1.117E-09
48 2.83387E+56 3.059023E-07 1.2414E+61 6.9832E-12 3.492E-10
49 4.25081E+57 3.059023E-07 6.0828E+62 2.13771E-12 1.069E-10
50 6.37622E+58 3.059023E-07 3.0414E+64 6.41314E-13 3.207E-11
50 50 1.78481
6. Definir el nivel de significancia y determinar el valor critico de la prueba.
Nivel de significancia α de 5%

18,307

6. Comparar el estadistico de prueba con el valor crítico.

1.7848 < 18.307

Se acepta la hipotesis de que la variable aleatoria se comporta de acuerdo con una


distribución de Poisson, con una medio de 15 automóviles/hora
es que entran a una gasolinera cada hora.

16
12 n 50
18
18
18

0.9216
9.2416
8.7616
8.7616
8.7616

24-25 26 -∞
1 0

22-23 24-25 26 -∞

que se ajuste a la forma del

Das könnte Ihnen auch gefallen