






Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity
Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium
Esta página no es visible en la vista previa
¡No te pierdas las partes importantes!







Chapter 7 of the book: Peró, M., Leiva, D., Guàrdia, J., & Solanas, A. (coord.) ( 2012 ). Estadística
aplicada a las ciencias sociales mediante R y R-Commander. Madrid: Garceta Grupo Editorial.
Chapter 7 of the book: Guàrdia, J., Freixa, M., Peró, M., & Turbany, J. (2008). Análisis de datos en
psicología. 2ª edición. Madrid: DELTA Publicaciones.
Pearson’s Distribution
Gamma distributions
x
- 1 - 2
n
2
n
X
- 1 - 2
n x
0
2
n
2
2
2 i
i=
2 2 2
2 1
2 i
(^) .........
= (^) Z
(^22)
( =1)
Goal:
Determine if there is relationship
between two qualitative variables
Pearson’s as a independence test
2
ij
2
2
i k
i
j l
j (^) ij
ij ij
o
1 1
2
2
Pearson’s : Example
Treatment 1 st relapse Treatment 1 st relapse
1 1 1 1
1 1 1 2
1 1 1 2
1 1 2 1
1 1 2 1
1 1 1 2
1 2 2 2
1 2 2 2
1 2 1 1
1 2 2 1
1 2 2 2
1 2 2 1
2 1 2 2
2 1 2 2
2 1 2 1
2 2 2 2
2 1
Determine if there is
relationship between type
of treatment used in a ex-
addicts group and the fact
to suffer a first relapse.
Treatment:
1 - cognitive-behavioral
2- pharmacological
1st relapse:
1 - yes
2 - no
Pearson’s : R output
Pearson’s : R output