Está en la página 1de 7

6EJEMPLO N°2: KRUSKAL WALLIS

En un contexto sociocultural se establecen la partida entre 4 grupos de votantes de diferentes


sectores de cada distrito de cierta región al momento de presentar a sus votantes favoritos, a ello
se suma los tiempos en que invierten pensando en que candidato elegir. Se realiza un estudio de
kruskal wallis para determinar si efectivamente los votantes y el elemento sociocultural no influye
en el tiempo que realizan su votación, use significancia asintótica para este caso. Use 1%.

TIEMPOS EN SEGUNDOS POR VOTACIÓN


25 38 65 55 54 69 38 44 32 36 56 26 66 33
Sector 1
35 43 55 66 45 47 63 55 77 85 80 71
SECTORES Sector 2
DE
34 65 55 88 84 55 62 60 58 65 54
VOTANTES Sector 3
56 55 64 55 84 76 89 95 26 54 38
Sector 4

1.PLANTEAMIENTO DE HIPÓTESIS:

H0: Los votantes 4 grupos de votantes y el elemento sociocultural no influye en el tiempo que
realizan su votación.

H1: Los votantes 4 grupos de votantes y el elemento sociocultural influye en el tiempo que
realizan su votación.

2.NIVEL DE SIGNIFICANCIA α=0.01

12
j
R 2j
∑ -3(N+1)
N (N +1) j =1 n j
3.Estadístico de prueba: H=
1− 3
∑T
N −N

  TIEMPOS EN SEGUNDOS POR VOTACIÓN Rij


26. 36.
Sector 1 1 10 34 22 17 38 10 13 4 8 2.5 5
5 5 227.5
Sector 2 7 12 22 36.5 14 15 31 22 41 45 42 39     326.5
Sector 3 6 34 22 46 43.5 22 30 29 28 34 17       311.5
Sector 4 26.5 22 32 22 43.5 40 47 48 2.5 17 10       310.5

n=4

N= 48
12 2 2 7 .52 326 .5 2 311 .52 3 10. 52
( + + + ) -3( 4 8 +1)
4 8 ( 4 8+1 ) 14 12 11 11
H=
432
1− 3
4 8 −4 8

∑ Ti=¿ t 3−t =(7¿¿ 3−7)+¿ ¿


(3¿¿ 3−3)+(3¿¿ 3−3)+(3¿¿ 3−3)+(2¿¿ 3−2)+(2¿¿ 3−2)+(2¿¿ 3−2)+(2¿ ¿3−2)=¿ ¿ ¿ ¿ ¿ ¿ ¿ ¿
(7¿¿ 3−7)+3(3¿¿ 3−3)+ 4 (2¿¿ 3−2)=¿ ¿ ¿ ¿

SPSS
EJEMPLO N°3: PRUEBA DE LA MEDIANA

Del enunciado anterior, se realiza otro estudio de otro tiempo para la misma cantidad de
personas. Use 5% y utilice la prueba de la mediana para contrastar la paridad entre las medianas
de las poblaciones

TIEMPOS EN SEGUNDOS POR VOTACION


Sector 1 30 44 65 55 54 69 33 22 32 36 53

Sectores Sector 2 45 65 71 66 45 47 76 55 77 85 36
de
votantes Sector 3 64 45 55 25 84 88 62 38 58 47 55

Sector 4 78 55 76 55 84 76 44 95 65 54 38

1.PLANTEAMIENTO DE HIPÓTESIS:

H0: No existe diferencia entre los votantes 4 grupos de votantes y el elemento sociocultural que
influyen en el tiempo.

H1: Existe diferencia entre los votantes 4 grupos de votantes y el elemento sociocultural que
influyen en el tiempo.

2.NIVEL DE SIGNIFICANCIA: 5% = 0.05

SECTORES DE VOTANTES
SEXTOR 1 SECTOR 2 SECTOR 3 SECTOR 4
30 45 64 78
44 65 45 55
65 71 55 76
55 66 25 55
54 45 84 84
69 47 88 76
33 76 62 44
22 55 38 95
32 77 58 65
36 85 47 54
53 36 55 38
MEDIANA 55 55 55 55
POR ENCIMA 2 6 5 6
POR DEBAJO 9 5 6 5

SECTORES DE VOTANTES
SEXTOR 1 SECTOR 2 SECTOR 3 SECTOR 4
POR ENCIMA 2(5.5) 6(5.5) 5(5.5) 6(5.5)
POR DEBAJO 9(5.5) 5(5.5) 6(5.5) 5(5.5)
11 11 11 11

3. ESTADÍSTICO DE PRUEBA

N = 44
2 k
x 2= ∑ ∑ ¿ ¿ ¿ ¿ = ¿ ¿ + ¿ ¿ + ¿ ¿ + ¿ ¿ + ¿ ¿ + ¿ ¿ + ¿ ¿
i=1 j=1

SPSS

También podría gustarte