Vous êtes sur la page 1sur 54

TRABAJO

ANALISIS EN R DE LA ENCUESTA A DOCENTES

SOLANGY ANDREA MARTIN VALENCIA


YENNY CATHERINE RODRIGUEZ
JUAN SEBASTIAN VELASQUEZ NIO
ANDRES FELIPE GONZALEZ PIRATOBA
YENITH LIZETH RODRIGUEZ

UNNIVERSIDAD COOPERATIVA DE COLOMBIA


DOCENTE: JORGE OBANDO
ESTADISTICA DESCRIPTIVA
VILLAVICENCIO
2014

1. COMO LE PARECE LA ATENCIN EN LAS OFICINAS DE SU


FACULTAD.
> datos=read.table("uno.txt")
> attach(datos)
> datos
V1
1
4
2
4
3
4
4
4
5
2
6
3
7
4
8
5
9
4
10 3
11 3
12 5
13 2
14 4
15 4
16 1
17 4
18 3
19 3
20 2
21 4
22 3
23 2
24 3
25 3
26 4
27 4
28 4
29 5
30 5
31 4
32 3
33 4
34 3
35 5
36 3
37 2
38 4
39 4
40 5
41 1
42 5
43 4
44 5
45 3
46 3
47 2

48 5
49 3
50 4
51 1
52 3
53 4
54 3
55 2
56 4
57 3
58 4
59 5
60 5
61 4
62 3
63 3
64 5
65 4
66 2
67 3
68 3
> datos1=read.table("uno1.txt")
> attach(datos1)
The following object is masked from datos:
V1
> datos1
V1
1
Bien
2
Bien
3
Bien
4
Bien
5
Regular
6
Normal
7
Bien
8
Excelente
9
Bien
10
Normal
11
Normal
12
Excelente
13
Regular
14
Bien
15
Bien
16 Insuficiente
17
Bien
18
Normal
19
Normal
20
Regular
21
Bien
22
Normal
23
Regular
24
Normal
25
Normal

26
Bien
27
Bien
28
Bien
29
Excelente
30
Excelente
31
Bien
32
Normal
33
Bien
34
Normal
35
Excelente
36
Normal
37
Regular
38
Bien
39
Bien
40
Excelente
41 Insuficiente
42
Excelente
43
Bien
44
Excelente
45
Normal
46
Normal
47
Regular
48
Excelente
49
Normal
50
Bien
51 Insuficiente
52
Normal
53
Bien
54
Normal
55
Regular
56
Bien
57
Normal
58
Bien
59
Excelente
60
Excelente
61
Bien
62
Normal
63
Normal
64
Excelente
65
Bien
66
Regular
67
Normal
68
Normal
> f=table(datos)
> n=sum(f)
> h=(f/n)*100
> F=cumsum(f)
> H=cumsum(h)
> cbind(f,h,F,H)
f
h F
1 3 4.411765 3
2 8 11.764706 11
3 21 30.882353 32
4 24 35.294118 56

H
4.411765
16.176471
47.058824
82.352941

5 12 17.647059 68 100.000000
> summary(datos)
V1
Min.
:1.0
1st Qu.:3.0
Median :4.0
Mean
:3.5
3rd Qu.:4.0
Max.
:5.0
> f=table(datos1)
> n=sum(f)
> h=(f/n)*100
> F=cumsum(f)
> H=cumsum(h)
> cbind(f,h,F,H)
f
h F
H
Bien
24 35.294118 24 35.29412
Excelente
12 17.647059 36 52.94118
Insuficiente 3 4.411765 39 57.35294
Normal
21 30.882353 60 88.23529
Regular
8 11.764706 68 100.00000
> summary(datos)
V1
Min.
:1.0
1st Qu.:3.0
Median :4.0
Mean
:3.5
3rd Qu.:4.0
Max.
:5.0
> summary(datos1)
V1
Bien
:24
Excelente
:12
Insuficiente: 3
Normal
:21
Regular
: 8
> boxplot(datos)
> boxplot(datos, main="como le parece la atencion en las oficinas de
su facultad", xlab="Escalafon", ylab="Atencion en las oficinas")
> boxplot(datos, notch=TRUE, col=(c("darkred")), main="como le parece
la atencion en las oficinas de su facultad", xlab="Escalafon")

>datos=c(4,4,4,4,2,3,4,5,4,3,3,5,2,4,4,1,4,3,3,2,4,3,2,3,3,4,4,4,5,5,4
,3,4,3,5,3,2,4,4,5,1,5,4,5,3,3,2,5,3,4,1,3,4,3,2,4,3,4,5,5,4,3,3,5,4,2
,3,3)
> quantile(datos, prob = seq(0, 1, length = 11), type = 5)
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
1
2
3
3
3
4
4
4
4
5
5
> quantile(datos)
0% 25% 50% 75% 100%
1
3
4
4
5
> quantile(datos, prob = c(0.15, 0.25, 0.35, 0.83, 0.99))
15% 25% 35% 83% 99%
2.05 3.00 3.00 4.61 5.00
pie(h,col=c(2,3,4,5,6),main="Atencion en la Facultad")

2. COMO CREE QUE LA UNIVERSIDAD EST ACTUALMENTE DE


CONTROL INTERNO.
> datos=read.table("dos.txt")
> attach(datos)
> datos
V1
1
2
2
4
3
4
4
5
5
3
6
2
7
4
8
5
9
4
10 3
11 3
12 5

13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66

2
4
4
2
3
4
3
2
4
4
5
2
4
4
4
4
5
4
3
3
3
4
4
3
4
4
4
4
2
4
4
3
3
3
3
4
4
5
2
3
4
3
3
2
4
4
3
4
3
4
4
4
3
4

67 5
68 5
> datos1=read.table("dos1.txt")
> attach(datos1)
The following object is masked from datos:
V1
> datos1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44

V1
Regular
Bien
Bien
Excelente
Normal
Regular
Bien
Excelente
Bien
Normal
Normal
Excelente
Regular
Bien
Bien
Regular
Normal
Bien
Normal
Regular
Bien
Bien
Excelente
Regular
Bien
Bien
Bien
Bien
Excelente
Bien
Normal
Normal
Normal
Bien
Bien
Normal
Bien
Bien
Bien
Bien
Regular
Bien
Bien
Normal

45
Normal
46
Normal
47
Normal
48
Bien
49
Bien
50 Excelente
51
Regular
52
Normal
53
Bien
54
Normal
55
Normal
56
Regular
57
Bien
58
Bien
59
Normal
60
Bien
61
Normal
62
Bien
63
Bien
64
Bien
65
Normal
66
Bien
67 Excelente
68 Excelente
> f=table(datos)
> n=sum(f)
> h=(f/n)*100
> F=cumsum(f)
> H=cumsum(h)
> cbind(f,h,F,H)
f
h F
H
2 9 13.23529 9 13.23529
3 19 27.94118 28 41.17647
4 32 47.05882 60 88.23529
5 8 11.76471 68 100.00000
> f=table(datos1)
> n=sum(f)
> h=(f/n)*100
> F=cumsum(f)
> H=cumsum(h)
> cbind(f,h,F,H)
f
h F
H
Bien
32 47.05882 32 47.05882
Excelente 8 11.76471 40 58.82353
Normal
19 27.94118 59 86.76471
Regular
9 13.23529 68 100.00000
> summary(datos)
V1
Min.
:2.000
1st Qu.:3.000
Median :4.000
Mean
:3.574
3rd Qu.:4.000
Max.
:5.000

> summary(datos1)
V1
Bien
:32
Excelente: 8
Normal
:19
Regular : 9
> boxplot(datos)
> boxplot(datos, main=" como cree que la universidad esta actualmente
de control interno", xlab="Escalafon", ylab="Control interno de la
universidad")
> boxplot(datos, notch=TRUE, col=(c("darkred")), main=" como cree que
la universidad esta actualmente de control interno", xlab="Escalafon")
Mensajes de aviso perdidos
In bxp(list(stats = c(2, 3, 4, 4, 5), n = 68, conf =
c(3.8083968562213, :
some notches went outside hinges ('box'): maybe set notch=FALSE
> boxplot(datos, main=" como cree que la universidad esta actualmente
de control interno", xlab="Escalafon", ylab="Control interno de la
universidad")

>
datos=c(2,4,4,5,3,2,4,5,4,3,3,5,2,4,4,2,3,4,3,2,4,4,5,2,4,4,4,4,5,4,3,
3,3,4,4,3,4,4,4,4,2,4,4,3,3,3,3,4,4,5,2,3,4,3,3,2,4,4,3,4,3,4,4,4,3,4,
5,5)
> quantile(datos, prob = seq(0, 1, length = 11), type = 5)
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
2
2
3
3
3
4
4
4
4
5
5
> quantile(datos)
0% 25% 50% 75% 100%
2
3
4
4
5
> quantile(datos, prob = c(0.15, 0.25, 0.35, 0.83, 0.99))
15% 25% 35% 83% 99%
3
3
3
4
5
> pie(h,col=c(2,3,4,5,6),main="Control interno de la Universidad")

3. COMO LE PARECE LOS PROCESOS QUE MANEJA LA


UNIVERSIDAD, PROCESOS COMO PAGOS Y DEMS.
> datos=read.table("tres.txt")

> attach(datos)
> datos
V1
1
4
2
2
3
5
4
4
5
4
6
5
7
5
8
5
9
5
10 2
11 2
12 5
13 5
14 5
15 4
16 5
17 4
18 2
19 5
20 4
21 5
22 5
23 5
24 3
25 4
26 3
27 3
28 4
29 5
30 4
31 4
32 5
33 4
34 3
35 5
36 4
37 4
38 4
39 3
40 4
41 5
42 4
43 4
44 4
45 4
46 4
47 4
48 5
49 5
50 4
51 4

52 3
53 4
54 3
55 4
56 1
57 3
58 2
59 4
60 3
61 4
62 5
63 5
64 4
65 3
66 2
67 4
68 4
> datos1=read.table("tres1.txt")
> attach(datos1)
The following object is masked from datos:
V1
> datos1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

V1
Bien
Regular
Excelente
Bien
Bien
Excelente
Excelente
Excelente
Excelente
Regular
Regular
Excelente
Excelente
Excelente
Bien
Excelente
Bien
Regular
Excelente
Bien
Excelente
Excelente
Excelente
Normal
Bien
Normal
Normal
Bien
Excelente

30
Bien
31
Bien
32
Excelente
33
Bien
34
Normal
35
Excelente
36
Bien
37
Bien
38
Bien
39
Normal
40
Bien
41
Excelente
42
Bien
43
Bien
44
Bien
45
Bien
46
Bien
47
Bien
48
Excelente
49
Excelente
50
Bien
51
Bien
52
Normal
53
Bien
54
Normal
55
Bien
56 Insuficiente
57
Normal
58
Regular
59
Bien
60
Normal
61
Bien
62
Excelente
63
Excelente
64
Bien
65
Normal
66
Regular
67
Bien
68
Bien
> f=table(datos)
> n=sum(f)
> h=(f/n)*100
> F=cumsum(f)
> H=cumsum(h)
> cbind(f,h,F,H)
f
h F
H
1 1 1.470588 1
1.470588
2 6 8.823529 7 10.294118
3 10 14.705882 17 25.000000
4 30 44.117647 47 69.117647
5 21 30.882353 68 100.000000
> f=table(datos1)
> n=sum(f)
> h=(f/n)*100

> F=cumsum(f)
> H=cumsum(h)
> cbind(f,h,F,H)
f
h F
H
Bien
30 44.117647 30 44.11765
Excelente
21 30.882353 51 75.00000
Insuficiente 1 1.470588 52 76.47059
Normal
10 14.705882 62 91.17647
Regular
6 8.823529 68 100.00000
> summary(datos)
V1
Min.
:1.000
1st Qu.:3.750
Median :4.000
Mean
:3.941
3rd Qu.:5.000
Max.
:5.000
> summary(datos1)
V1
Bien
:30
Excelente
:21
Insuficiente: 1
Normal
:10
Regular
: 6
> boxplot(datos)
> boxplot(datos, main="como le parece los procesos que maneja la
universidad, procesos como pasos y demas ", xlab="Escalafon",
ylab="Procesos de la universidad ")

>
datos=c(4,2,5,4,4,5,5,5,5,2,2,5,5,5,4,5,4,2,5,4,5,5,5,3,4,3,3,4,5,4,4,
5,4,3,5,4,4,4,3,4,5,4,4,4,4,4,4,5,5,4,4,3,4,3,4,1,3,2,4,3,4,5,5,4,3,2,
4,4)
> quantile(datos, prob = seq(0, 1, length = 11), type = 5)
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
1.0 2.3 3.0 4.0 4.0 4.0 4.0 5.0 5.0 5.0 5.0
> quantile(datos)
0% 25% 50% 75% 100%
1.00 3.75 4.00 5.00 5.00
> quantile(datos, prob = c(0.15, 0.25, 0.35, 0.83, 0.99))
15% 25% 35% 83% 99%
3.00 3.75 4.00 5.00 5.00
> pie(h,col=c(2,3,4,5,6),main="Procesos de la universidad")
>

4. COMO LE PARECE LA INFRAESTRUCTURA DE LA UNIVERSIDAD


A NIVEL GENERAL.
> datos=read.table("cuatro.txt")
> attach(datos)
> datos
V1
1
3
2
3
3
4
4
4
5
4
6
3
7
5
8
5
9
5
10 4
11 3
12 5

13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66

4
5
3
4
5
2
3
4
5
4
3
3
5
5
3
3
4
3
4
2
5
4
4
4
5
5
4
4
4
5
3
4
4
5
5
4
4
5
5
1
2
2
2
3
4
4
3
2
1
5
4
3
4
2

67 5
68 4
> datos1=read.table("cuatro1.txt")
> attach(datos1)
The following object is masked from datos:
V1
> datos1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44

V1
Normal
Normal
Bien
Bien
Bien
Normal
Excelente
Excelente
Excelente
Bien
Normal
Excelente
Bien
Excelente
Normal
Bien
Excelente
Regular
Normal
Bien
Excelente
Bien
Normal
Normal
Excelente
Excelente
Normal
Normal
Bien
Normal
Bien
Regular
Excelente
Bien
Bien
Bien
Excelente
Excelente
Bien
Bien
Bien
Excelente
Normal
Bien

45
Bien
46
Excelente
47
Excelente
48
Bien
49
Bien
50
Excelente
51
Excelente
52 Insuficiente
53
Regular
54
Regular
55
Regular
56
Normal
57
Bien
58
Bien
59
Normal
60
Regular
61 Insuficiente
62
Excelente
63
Bien
64
Normal
65
Bien
66
Regular
67
Excelente
68
Bien
> f=table(datos)
> n=sum(f)
> h=(f/n)*100
> F=cumsum(f)
> H=cumsum(h)
> cbind(f,h,F,H)
f
h F
H
1 2 2.941176 2
2.941176
2 7 10.294118 9 13.235294
3 15 22.058824 24 35.294118
4 25 36.764706 49 72.058824
5 19 27.941176 68 100.000000
> f=table(datos1)
> n=sum(f)
> h=(f/n)*100
> F=cumsum(f)
> H=cumsum(h)
> cbind(f,h,F,H)
f
h F
H
Bien
25 36.764706 25 36.76471
Excelente
19 27.941176 44 64.70588
Insuficiente 2 2.941176 46 67.64706
Normal
15 22.058824 61 89.70588
Regular
7 10.294118 68 100.00000
> summary(datos)
V1
Min.
:1.000
1st Qu.:3.000
Median :4.000
Mean
:3.765

3rd Qu.:5.000
Max.
:5.000
> summary(datos1)
V1
Bien
:25
Excelente
:19
Insuficiente: 2
Normal
:15
Regular
: 7
> boxplot(datos)
> boxplot(datos, main=" como le parece la infraestructura de la
universidad a nivel general", xlab="Escalafon", ylab="Infraestructura
de la universidad")

>
datos=c(3,3,4,4,4,3,5,5,5,4,3,5,4,5,3,4,5,2,3,4,5,4,3,3,5,5,3,3,4,3,4,
2,5,4,4,4,5,5,4,4,4,5,3,4,4,5,5,4,4,5,5,1,2,2,2,3,4,4,3,2,1,5,4,3,4,2,
5,4)
> quantile(datos, prob = seq(0, 1, length = 11), type = 5)
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
1
2
3
3
4
4
4
4
5
5
5
> quantile(datos)
0% 25% 50% 75% 100%
1
3
4
5
5

> quantile(datos, prob = c(0.15, 0.25, 0.35, 0.83, 0.99))


15% 25% 35% 83% 99%
3.00 3.00 3.45 5.00 5.00
> pie(h,col=c(2,3,4,5,6),main="Infraestructura de la universidad")
> boxplot(datos, main=" como le parece la infraestructura de la
universidad a nivel general", xlab="Escalafon", ylab="Infraestructura
de la universidad")

>

5. CONSIDERA USTED EL TRFICO DE TRANSPORTE PARA


ACCEDER DIARIAMENTE A LA UNIVERSIDAD COOPERATIVA DE
COLOMBIA ES:
> datos=read.table("quinta.txt")
> attach(datos)
> datos
V1
1
1

2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55

1
1
3
1
1
4
1
2
1
1
4
1
4
1
1
3
2
1
1
1
1
1
1
4
3
3
2
4
4
2
3
2
4
4
2
2
4
2
1
1
3
3
2
1
1
2
4
4
4
1
2
3
3
1

56 2
57 1
58 1
59 2
60 4
61 3
62 3
63 2
64 2
65 1
66 4
67 4
68 5
> datos1=read.table("quinta1.txt")
> attach(datos1)
The following object is masked from datos:
V1
> datos1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

V1
Insuficiente
Insuficiente
Insuficiente
Normal
Insuficiente
Insuficiente
Bien
Insuficiente
Regular
Insuficiente
Insuficiente
Bien
Insuficiente
Bien
Insuficiente
Insuficiente
Normal
Regular
Insuficiente
Insuficiente
Insuficiente
Insuficiente
Insuficiente
Insuficiente
Bien
Normal
Normal
Regular
Bien
Bien
Regular
Normal
Regular

34
Bien
35
Bien
36
Regular
37
Regular
38
Bien
39
Regular
40 Insuficiente
41 Insuficiente
42
Normal
43
Normal
44
Regular
45 Insuficiente
46 Insuficiente
47
Regular
48
Bien
49
Bien
50
Bien
51 Insuficiente
52
Regular
53
Normal
54
Normal
55 Insuficiente
56
Regular
57 Insuficiente
58 Insuficiente
59
Regular
60
Bien
61
Normal
62
Normal
63
Regular
64
Regular
65 Insuficiente
66
Bien
67
Bien
68
Excelente
> f=table(datos)
> n=sum(f)
> h=(f/n)*100
> F=cumsum(f)
> H=cumsum(h)
> cbind(f,h,F,H)
f
h F
H
1 26 38.235294 26 38.23529
2 15 22.058824 41 60.29412
3 11 16.176471 52 76.47059
4 15 22.058824 67 98.52941
5 1 1.470588 68 100.00000
> f=table(datos1)
> n=sum(f)
> h=(f/n)*100
> F=cumsum(f)
> H=cumsum(h)
> cbind(f,h,F,H)
f
h F

Bien
15 22.058824 15 22.05882
Excelente
1 1.470588 16 23.52941
Insuficiente 26 38.235294 42 61.76471
Normal
11 16.176471 53 77.94118
Regular
15 22.058824 68 100.00000
> summary(datos)
V1
Min.
:1.000
1st Qu.:1.000
Median :2.000
Mean
:2.265
3rd Qu.:3.000
Max.
:5.000
> summary(datos1)
V1
Bien
:15
Excelente
: 1
Insuficiente:26
Normal
:11
Regular
:15
> boxplot(datos)
> boxplot(datos, main="considera usted el trafico de transporte para
acceder diariamente a la universidad cooperativa de Colombia es ",
xlab="Escalafon", ylab="Transporte vial ")

>
datos=c(1,1,1,3,1,1,4,1,2,1,1,4,1,4,1,1,3,2,1,1,1,1,1,1,4,3,3,2,4,4,2,
3,2,4,4,2,2,4,2,1,1,3,3,2,1,1,2,4,4,4,1,2,3,3,1,2,1,1,2,4,3,3,2,2,1,4,
4,5)
> quantile(datos, prob = seq(0, 1, length = 11), type = 5)
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
1.0 1.0 1.0 1.0 2.0 2.0 2.3 3.0 4.0 4.0 5.0
> quantile(datos)
0% 25% 50% 75% 100%

1
1
2
3
5
> quantile(datos, prob = c(0.15, 0.25, 0.35, 0.83, 0.99))
15% 25% 35% 83% 99%
1.00 1.00 1.00 4.00 4.33
> pie(h,col=c(2,3,4,5,6),main="Transporte vial para acceder a la
universidad")

6. EL SERVICIO DE LA CAFETERA DE LA UNIVERSIDAD


COOPERATIVA DE COLOMBIA SE PODRA CATALOGAR COMO:
> datos=read.table("seis.txt")
> attach(datos)
> datos
V1
1
2
2
2
3
2
4
2

5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58

1
1
3
3
2
1
4
3
1
2
2
1
4
3
2
3
2
3
3
1
2
3
1
2
2
1
2
3
2
5
2
2
4
3
1
2
1
4
3
2
1
2
1
3
2
4
1
5
4
3
3
1
1
1

59 2
60 3
61 5
62 4
63 3
64 3
65 3
66 5
67 4
68 3
> datos1=read.table("seis1.txt")
> attach(datos1)
The following object is masked from datos:
V1
> datos1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

V1
Regular
Regular
Regular
Regular
Insuficiente
Insuficiente
Normal
Normal
Regular
Insuficiente
Bien
Normal
Insuficiente
Regular
Regular
Insuficiente
Bien
Normal
Regular
Normal
Regular
Normal
Normal
Insuficiente
Regular
Normal
Insuficiente
Regular
Regular
Insuficiente
Regular
Normal
Regular
Excelente
Regular
Regular

37
Bien
38
Normal
39 Insuficiente
40
Regular
41 Insuficiente
42
Bien
43
Normal
44
Regular
45 Insuficiente
46
Regular
47 Insuficiente
48
Normal
49
Regular
50
Bien
51 Insuficiente
52
Excelente
53
Bien
54
Normal
55
Normal
56 Insuficiente
57 Insuficiente
58 Insuficiente
59
Regular
60
Normal
61
Excelente
62
Bien
63
Normal
64
Normal
65
Normal
66
Excelente
67
Bien
68
Normal
> f=table(datos)
> n=sum(f)
> h=(f/n)*100
> F=cumsum(f)
> H=cumsum(h)
> cbind(f,h,F,H)
f
h F
H
1 16 23.529412 16 23.52941
2 21 30.882353 37 54.41176
3 19 27.941176 56 82.35294
4 8 11.764706 64 94.11765
5 4 5.882353 68 100.00000
> f=table(datos1)
> n=sum(f)
> h=(f/n)*100
> F=cumsum(f)
> H=cumsum(h)
> cbind(f,h,F,H)
f
h F
Bien
8 11.764706 8
Excelente
4 5.882353 12
Insuficiente 16 23.529412 28

H
11.76471
17.64706
41.17647

Normal
19 27.941176 47 69.11765
Regular
21 30.882353 68 100.00000
> boxplot(datos)
> boxplot(datos, main="el servicio de cafeteria de la universidad
cooperativa se podria catalogar", xlab="Escalafon", ylab="Servicio de
la cafetera de la universidad ")

>
datos=c(2,2,2,2,1,1,3,3,2,1,4,3,1,2,2,1,4,3,2,3,2,3,3,1,2,3,1,2,2,1,2,
3,2,5,2,2,4,3,1,2,1,4,3,2,1,2,1,3,2,4,1,5,4,3,3,1,1,1,2,3,5,4,3,3,3,5,
4,3)
> quantile(datos, prob = seq(0, 1, length = 11), type = 5)
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
1
1
1
2
2
2
3
3
3
4
5
> quantile(datos)
0% 25% 50% 75% 100%
1
2
2
3
5

> quantile(datos, prob = c(0.15, 0.25, 0.35, 0.83, 0.99))


15% 25% 35% 83% 99%
1.00 2.00 2.00 3.61 5.00
> pie(h,col=c(2,3,4,5,6),main="Servicio de la cafeteria")
>

7. LAS HERRAMIENTAS TECNOLGICAS CON LAS QUE CUENTA LA


UNIVERSIDAD SON:
> datos=read.table("siete.txt")
> attach(datos)
> datos
V1
1
3
2
4
3
3
4
4

5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58

3
3
4
5
4
3
4
4
1
5
3
1
4
3
2
3
4
4
3
3
4
3
3
5
4
5
4
3
4
2
5
5
3
4
5
3
1
4
2
5
3
3
4
3
5
4
4
5
4
5
5
5
5
4

59 4
60 4
61 5
62 5
63 3
64 2
65 5
66 4
67 3
68 3
> datos1=read.table("siete1.txt")
> attach(datos1)
The following object is masked from datos:
V1
> datos1
V1
1
Normal
2
Bien
3
Normal
4
Bien
5
Normal
6
Normal
7
Bien
8
Excelente
9
Bien
10
Normal
11
Bien
12
Bien
13 Insuficiente
14
Excelente
15
Normal
16 Insuficiente
17
Bien
18
Normal
19
Regular
20
Normal
21
Bien
22
Bien
23
Normal
24
Normal
25
Bien
26
Normal
27
Normal
28
Excelente
29
Bien
30
Excelente
31
Bien
32
Normal
33
Bien
34
Regular
35
Excelente
36
Excelente

37
Normal
38
Bien
39
Excelente
40
Normal
41 Insuficiente
42
Bien
43
Regular
44
Excelente
45
Normal
46
Normal
47
Bien
48
Normal
49
Excelente
50
Bien
51
Bien
52
Excelente
53
Bien
54
Excelente
55
Excelente
56
Excelente
57
Excelente
58
Bien
59
Bien
60
Bien
61
Excelente
62
Excelente
63
Normal
64
Regular
65
Excelente
66
Bien
67
Normal
68
Normal
> f=table(datos)
> n=sum(f)
> h=(f/n)*100
> F=cumsum(f)
> H=cumsum(h)
> cbind(f.h.F,H)
Error en cbind(f.h.F, H) : objeto 'f.h.F' no encontrado
> cbind(f,h,F,H)
f
h F
H
1 3 4.411765 3
4.411765
2 4 5.882353 7 10.294118
3 21 30.882353 28 41.176471
4 23 33.823529 51 75.000000
5 17 25.000000 68 100.000000
> f=table(datos1)
> n=sum(f)
> h=(f/n)*100
> F=cumsum(f)
> H=cumsum(h)
> cbind(f,h,F,H)
f
h F
H
Bien
23 33.823529 23 33.82353

Excelente
17 25.000000 40 58.82353
Insuficiente 3 4.411765 43 63.23529
Normal
21 30.882353 64 94.11765
Regular
4 5.882353 68 100.00000
> summary(datos)
V1
Min.
:1.000
1st Qu.:3.000
Median :4.000
Mean
:3.691
3rd Qu.:4.250
Max.
:5.000
> summary(datos1)
V1
Bien
:23
Excelente
:17
Insuficiente: 3
Normal
:21
Regular
: 4
> boxplot(datos)
> boxplot(datos, main=" las herramientas tecnologicas con las que
cuenta la universidad son", xlab="Escalafon", ylab="Herramientas
tecnolgicas de la universidad")

>
datos=c(3,4,3,4,3,3,4,5,4,3,4,4,1,5,3,1,4,3,2,3,4,4,3,3,4,3,3,5,4,5,4,
3,4,2,5,5,3,4,5,3,1,4,2,5,3,3,4,3,5,4,4,5,4,5,5,5,5,4,4,4,5,5,3,2,5,4,
3,3)
> quantile(datos, prob = seq(0, 1, length = 11), type = 5)
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
1.0 2.3 3.0 3.0 3.0 4.0 4.0 4.0 5.0 5.0 5.0
> quantile(datos)
0% 25% 50% 75% 100%

1.00 3.00 4.00 4.25 5.00


> quantile(datos, prob = c(0.15, 0.25, 0.35, 0.83, 0.99))
15% 25% 35% 83% 99%
3
3
3
5
5
> pie(h,col=c(2,3,4,5,6),main="Herramientas Tecnologicas")
>

8. EL NUEVO PORTAL WEB DE LA UNIVERSIDAD COOPERATIVA


ES:
> datos=read.table("ocho.txt")
> attach(datos)
> datos
V1
1
4
2
5
3
3
4
5
5
3
6
4
7
4
8
5
9
5
10 4
11 4

12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65

4
3
5
4
4
3
4
4
4
5
3
5
2
5
4
4
4
5
5
5
4
3
4
5
4
4
5
4
3
4
3
4
4
2
4
4
4
5
4
5
3
4
5
4
4
3
4
5
5
4
3
4
4
4

66 5
67 3
68 5
> datos1=read.table("ocho1.txt")
> attach(datos1)
The following object is masked from datos:
V1
> datos1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43

V1
Bien
Excelente
Normal
Excelente
Normal
Bien
Bien
Excelente
Excelente
Bien
Bien
Bien
Normal
Excelente
Bien
Bien
Normal
Bien
Bien
Bien
Excelente
Normal
Excelente
Regular
Excelente
Bien
Bien
Bien
Excelente
Excelente
Excelente
Bien
Normal
Bien
Excelente
Bien
Bien
Excelente
Bien
Normal
Bien
Normal
Bien

44
Bien
45
Regular
46
Bien
47
Bien
48
Bien
49 Excelente
50
Bien
51 Excelente
52
Normal
53
Bien
54 Excelente
55
Bien
56
Bien
57
Normal
58
Bien
59 Excelente
60 Excelente
61
Bien
62
Normal
63
Bien
64
Bien
65
Bien
66 Excelente
67
Normal
68 Excelente
> f=table(datos)
> n=sum(f)
> h=(f/n)*100
> F=cumsum(f)
> H=cumsum(h)
> cbind(f,h,F,H)
f
h F
H
2 2 2.941176 2
2.941176
3 12 17.647059 14 20.588235
4 34 50.000000 48 70.588235
5 20 29.411765 68 100.000000
> f=table(datos1)
> n=sum(f)
> h=(f/n)*100
> F=cumsum(f)
> H=cumsum(h)
> cbind(f,h,F,H)
f
h F
H
Bien
34 50.000000 34 50.00000
Excelente 20 29.411765 54 79.41176
Normal
12 17.647059 66 97.05882
Regular
2 2.941176 68 100.00000
> summary(datos)
V1
Min.
:2.000
1st Qu.:4.000
Median :4.000
Mean
:4.059
3rd Qu.:5.000

Max.
:5.000
> summary(datos1)
V1
Bien
:34
Excelente:20
Normal
:12
Regular : 2
> boxplot(datos)
> boxplot(datos, main=" el nuevo portal web de la universidad
cooperativa es", xlab="Escalafon", ylab="Nuevo portal de la
universidad")

>datos=c(4,5,3,5,3,4,4,5,5,4,4,4,3,5,4,4,3,4,4,4,5,3,5,2,5,4,4,4,
5,5,5,4,3,4,5,4,4,5,4,3,4,3,4,4,2,4,4,4,5,4,5,3,4,5,4,4,3,4,5,5,4
,3,4,4,4,5,3,5)
> quantile(datos, prob = seq(0, 1, length = 11), type = 5)
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
2.0 3.0 3.1 4.0 4.0 4.0 4.0 4.1 5.0 5.0 5.0
> quantile(datos)

0% 25% 50% 75% 100%


2
4
4
5
5
> quantile(datos, prob = c(0.15, 0.25, 0.35, 0.83, 0.99))
15% 25% 35% 83% 99%
3
4
4
5
5
> pie(h,col=c(2,3,4,5,6),main="El portal web de la universidad
es")

>

9. CONSIDERA LA PLATAFORMA DEL CORREO INSTITUCIONAL


COMO UNA HERRAMIENTA TECNOLGICA:
> datos=read.table("nueve.txt")
> attach(datos)
The following object is masked from datos1:
V1
The following object is masked from datos (pos = 4):

V1
> datos
V1
1
4
2
5
3
4
4
5
5
5
6
4
7
4
8
5
9
4
10 2
11 4
12 5
13 4
14 5
15 4
16 4
17 4
18 4
19 4
20 4
21 5
22 3
23 5
24 2
25 4
26 5
27 4
28 4
29 5
30 4
31 4
32 3
33 4
34 2
35 5
36 3
37 4
38 4
39 3
40 3
41 4
42 4
43 4
44 5
45 4
46 4
47 4
48 4
49 3

50 3
51 4
52 4
53 5
54 4
55 3
56 5
57 5
58 5
59 3
60 4
61 4
62 5
63 5
64 5
65 4
66 3
67 4
68 5
> datos1=read.table("nueve1.txt")
> attach(datos1)
The following object is masked from datos (pos = 3):
V1
The following object is masked from datos1 (pos = 4):
V1
The following object is masked from datos (pos = 5):
V1
> datos1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

V1
Bien
Excelente
Bien
Excelente
Excelente
Bien
Bien
Excelente
Bien
Regular
Bien
Excelente
Bien
Excelente
Bien
Bien
Bien
Bien
Bien

20
Bien
21 Excelente
22
Normal
23 Excelente
24
Regular
25
Bien
26 Excelente
27
Bien
28
Bien
29 Excelente
30
Bien
31
Bien
32
Normal
33
Bien
34
Regular
35 Excelente
36
Normal
37
Bien
38
Bien
39
Normal
40
Normal
41
Bien
42
Bien
43
Bien
44 Excelente
45
Bien
46
Bien
47
Bien
48
Bien
49
Normal
50
Normal
51
Bien
52
Bien
53 Excelente
54
Bien
55
Normal
56 Excelente
57 Excelente
58 Excelente
59
Normal
60
Bien
61
Bien
62 Excelente
63 Excelente
64 Excelente
65
Bien
66
Normal
67
Bien
68 Excelente
> f=table(datos)
> n=sum(f)
> h=(f/n)*100
> F=cumsum(f)
> H=cumsum(h)

> cbind(f,h,F,H)
f
h F
H
2 3 4.411765 3
4.411765
3 10 14.705882 13 19.117647
4 35 51.470588 48 70.588235
5 20 29.411765 68 100.000000
> f=table(datos1)
> n=sum(f)
> h=(f/n)*100
> F=cumsum(f)
> H=cumsum(h)
> cbind(f,h,F,H)
f
h F
H
Bien
35 51.470588 35 51.47059
Excelente 20 29.411765 55 80.88235
Normal
10 14.705882 65 95.58824
Regular
3 4.411765 68 100.00000
> boxplot(datos)
> boxplot(datos, main=" considera que la plataforma del correo
institucional como herramienta tecnologica es:",
xlab="Escalafon", ylab="Correo institucional")

>
datos=c(4,5,4,5,5,4,4,5,4,2,4,5,4,5,4,4,4,4,4,4,5,3,5,2,4,5,4,4,5
,4,4,3,4,2,5,3,4,4,3,3,4,4,4,5,4,4,4,4,3,3,4,4,5,4,3,5,5,5,3,4,4,
5,5,5,4,3,4,5)
> quantile(datos, prob = seq(0, 1, length = 11), type = 5)
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
2.0 3.0 4.0 4.0 4.0 4.0 4.0 4.1 5.0 5.0 5.0
> quantile(datos)

0% 25% 50% 75% 100%


2
4
4
5
5
> quantile(datos, prob = c(0.15, 0.25, 0.35, 0.83, 0.99))
15% 25% 35% 83% 99%
3
4
4
5
5
> pie(h,col=c(2,3,4,5,6),main="El correo institucional como
herramienta tecnologica es:")
>

10. EN GENERAL, COMO CALIFICA A LA UNIVERSIDAD


COOPERATIVA DE COLOMBIA SEDE VILLAVICENCIO EN SU
ESTRUCTURA ORGANIZACIONAL
datos=read.table("diez.txt")
> attach(datos)
The following object is masked from datos1 (pos = 3):
V1
The following object is masked from datos (pos = 4):
V1
The following object is masked from datos1 (pos = 5):
V1
The following object is masked from datos (pos = 6):
V1

> datos
V1
1
3
2
4
3
4
4
4
5
3
6
3
7
5
8
5
9
5
10 3
11 4
12 5
13 4
14 5
15 4
16 4
17 4
18 4
19 4
20 4
21 5
22 4
23 5
24 3
25 4
26 5
27 4
28 4
29 5
30 3
31 4
32 4
33 5
34 3
35 5
36 4
37 5
38 5
39 3
40 4
41 4
42 4
43 4
44 4
45 5
46 3
47 4
48 4
49 3
50 3
51 4

52 4
53 5
54 3
55 4
56 4
57 3
58 3
59 4
60 4
61 4
62 3
63 5
64 3
65 3
66 4
67 4
68 3
> datos1=read.table("diez1.txt")
> attach(datos1)
The following object is masked from datos (pos = 3):
V1
The following object is masked from datos1 (pos = 4):
V1
The following object is masked from datos (pos = 5):
V1
The following object is masked from datos1 (pos = 6):
V1
The following object is masked from datos (pos = 7):
V1
> datos1
1
2
3
4
5
6
7
8
9
10
11
12
13

V1
Normal
Bien
Bien
Bien
Normal
Normal
Excelente
Excelente
Excelente
Normal
Bien
Excelente
Bien

14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67

Excelente
Bien
Bien
Bien
Bien
Bien
Bien
Excelente
Bien
Excelente
Normal
Bien
Excelente
Bien
Bien
Excelente
Normal
Bien
Bien
Excelente
Normal
Excelente
Bien
Excelente
Excelente
Normal
Bien
Bien
Bien
Bien
Bien
Excelente
Normal
Bien
Bien
Normal
Normal
Bien
Bien
Excelente
Normal
Bien
Bien
Normal
Normal
Bien
Bien
Bien
Normal
Excelente
Normal
Normal
Bien
Bien

68
Normal
> f=table(datos)
> n=sum(f)
> h=(f/n)*100
> F=cumsum(f)
> H=cumsum(h)
> cbind(f,h,F,H)
f
h F
H
3 18 26.47059 18 26.47059
4 34 50.00000 52 76.47059
5 16 23.52941 68 100.00000
> f=table(datos1)
> n=sum(f)
> h=(f/n)*100
> F=cumsum(f)
> H=cumsum(h)
> cbind(f,h,F,H)
f
h F
H
Bien
34 50.00000 34 50.00000
Excelente 16 23.52941 50 73.52941
Normal
18 26.47059 68 100.00000
> summary(datos)
V1
Min.
:3.000
1st Qu.:3.000
Median :4.000
Mean
:3.971
3rd Qu.:4.000
Max.
:5.000
> summary(datos1)
V1
Bien
:34
Excelente:16
Normal
:18
> boxplot(datos)
> boxplot(datos, main=" en general, como califica a la
universidad cooperativa de colombia sede villavicencio en su
estructura organizacional", xlab="Escalafon", ylab="Estructura
organizacional de la UCC")

>
datos=c(3,4,4,4,3,3,5,5,5,3,4,5,4,5,4,4,4,4,4,4,5,4,5,3,4,5,4,4
,5,3,4,4,5,3,5,4,5,5,3,4,4,4,4,4,5,3,4,4,3,3,4,4,5,3,4,4,3,3,4,
4,4,3,5,3,3,4,4,3)
> quantile(datos, prob = seq(0, 1, length = 11), type = 5)
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
3
3
3
4
4
4
4
4
5
5
5
> quantile(datos)
0% 25% 50% 75% 100%
3
3
4
4
5
> quantile(datos, prob = c(0.15, 0.25, 0.35, 0.83, 0.99))
15% 25% 35% 83% 99%
3
3
4
5
5
> pie(h,col=c(2,3,4,5,6),main="La estructura organizacional de
la UCC es:")
>

Vous aimerez peut-être aussi