Professional Documents
Culture Documents
ORDEN DE LA BASE
par(mfrow=c(1,2))
Fuente
Porce_EU
Porce_Can
Carbon
45.00
17.00
Gas_Natural
23.00
7.00
Nuclear
20.00
15.00
Hidroelectrica
7.00
59.00
Otros_rec_renov
4.00
1.00
Petroleo
1.00
1.00
barplot(xtabs(Dataset$Porce_EU~Dataset$
barplot(xtabs(Dataset$Porce_Can~Datase
SALIDA
segn corresponda al nombre
que R cmdr le haya puesto a
nuestra base.
> par(mfrow=c(1,2))
> barplot(xtabs(Dataset$Porce_EU~Datas
> barplot(xtabs(Dataset$Porce_Can~Data
20
30
40
50
60
Estados Unidos
Porcentaje
Datos-Dataset
Porcent
30
20
10
0
Carbon
Hidroelectrica
Fuentes
Petroleo
taset$Porce_Can~Dataset$Fuente),ylim=c(0,60),xlab="Fuentes", ylab="Porcentaje",main="Canad",cex.names
Dataset$Porce_Can~Dataset$Fuente),ylim=c(0,60),xlab="Fuentes", ylab="Porcentaje",main="Canad",cex.nam
Canad
30
20
Porcentaje
40
50
60
ados Unidos
30
0
10
20
Porcent
droelectrica
Fuentes
Petroleo
Carbon
Hidroelectrica
Fuentes
Petroleo
aje",main="Canad",cex.names=0.6)
ntaje",main="Canad",cex.names=0.6)
R SCRIPT
ORDEN DE LA BASE
> counts=with(Dataset,xtabs(Porce~Pa
50
60
Can
40
1.00
1.00
SALIDA
30
Otros_rec_renov
Petroleo
20
59.00
EU
EU
EU
EU
EU
EU
Canada
Canada
Canada
Canada
Canada
Canada
counts=with(Dataset,xtabs(Porce~Pais
10
Hidroelectrica
Pais
Porce
45.00
23.00
20.00
7.00
4.00
1.00
17.00
7.00
15.00
Porcentaje
Fuente
Carbon
Gas_Natural
Nuclear
Hidroelectrica
Otros_rec_renov
Petroleo
Carbon
Gas_Natural
Nuclear
10
0
Carbon
Gas_Natura
aset,xtabs(Porce~Pais+Fuente))
ataset,xtabs(Porce~Pais+Fuente))
E ES MEJOR
Canada
EU
arbon
Gas_Natural
Nuclear
Fuente
Petroleo
,col=c("blue","green"),legend=rownames(counts),beside=TRUE)
e",col=c("blue","green"),legend=rownames(counts),beside=TRUE)
sitio estadios
jjj
e1
234
mmm
e1
95
nnn
e1
567
896
26.12
10.60
63.28
e2
e2
e2
BASE DE DATOS
estadios
jjj
mmm
nnn
e1
e2
e3
26.12
13.00
45.60
10.60
38.79
0.65
63.28
48.20
53.75
par(mfrow=c(2,2))
100.00
100.00
100.00
e3
e3
e3
13.00
38.79
48.20
560
8
660
45.6026059
0.6514658
53.7459283
1228
R SCRIPT
par(mfrow=c(2,2))
barplot(xtabs(Dataset$jjj~Dataset$estadios),ylim=c(0,70),xlab="Etadios",
barplot(xtabs(Dataset$mmm~Dataset$estadios),ylim=c(0,70),xlab="Estad
barplot(xtabs(Dataset$nnn~Dataset$estadios),ylim=c(0,70),xlab="Estadio
SALIDA
e1
e2
Etadios
nnn
30 40 50 60 70
10 20 30 40 50 60 70
0
P orcentaje
10 20 30 40 50 60 70
Porcentaje
jjj
Porcentaje
123
367
456
946
e3
e1
Es
e1
e2
Etadios
e3
10
10
10
20
20
20
30
30
30
Porcentaje
Porc entaje
40
40
40
50
50
50
60
60
60
70
70
70
e2
Porc entaje
e1
e3
Estadios
jjj
mmm
e1
e2
Estadios
e3
10 20 30 40 50 60 70
Porcentaje
e2
e3
Etadios
e1
e1
e2
Estadios
60
40
20
0
Porcentaje
jjj
e1
e2
Etadios
60
40
20
0
Porcentaje
mmm
e1
e2
Estadios
60
40
20
0
Porcentaje
nnn
e1
e2
Estadios
e3
10 20 30 40 50 60 70
0
P orcentaje
mmm
e1
e2
Estadios
e3
e1
nnn
10
20
30
Porcentaje
40
50
60
70
mmm
e2
Estadios
e3
e1
e2
Estadios
e3
e1
0
e2
e3
e1
e2
Estadios
Estadios
jjj
e2
e3
Etadios
mmm
e2
e3
Estadios
nnn
e2
Estadios
e3
e3
BASE DE DATOS
R SCRIPT
Fuente
Porce_EU
Porce_Can
Carbon
45.00
17.00
Gas_Natural
23.00
7.00
Nuclear
20.00
15.00
Hidroelectrica
7.00
59.00
Otros_rec_renov
4.00
1.00
Petroleo
1.00
1.00
par(mfrow=c(1,2))
porce=Dataset$Porce_EU
eti=paste(Dataset$Fuente,p
eti=paste(eti,"%",sep="")
pie(xtabs(Porce_EU~Fuente,
porce=Dataset$Porce_Can
eti=paste(Dataset$Fuentes,p
eti=paste(eti,"%",sep="")
pie(xtabs(Porce_Can~Fuente
Si somos cuidadosos, podremos notar que
los nombres de algunas cuas del pastel
quedaron encimados y no se entienden
Esto podemos solucionarlo de dos maneras:
1. Reduciendo el tamao de la letra de leyenda
a traves del comando cex=0.5)
2. O bien, separando el orden de los datos a graficar
y escribir en el comando, lo siguiente. Esto
le indica al programa que debe respetar el orden
de los datos que le proporcionamos
asi quedaran separados y ya no habr
inconveniente.
SALIDA
> par(mfrow=c(1,2))
> porce=Dataset$Porce_EU
> eti=paste(Dataset$Fuente
> eti=paste(eti,"%",sep="")
> pie(xtabs(Porce_EU~Fuent
Dataset$Fuente = factor(Dataset$Fuente)
> porce=Dataset$Porce_Can
> eti=paste(Dataset$Fuente
> eti=paste(eti,"%",sep="")
> pie(xtabs(Porce_Can~Fuen
GRAFICA
Estados
Estados
Gas_Natural 23%
Hidroelectrica 7%
BASE DE DATOS
R SCRIPT
Fuente
Porce_EU
Porce_Can
Carbon
45.00
17.00
Petroleo
1.00
1.00
Nuclear
20.00
15.00
Hidroelectrica
7.00
59.00
Otros_rec_renov
4.00
1.00
Gas_Natural
23.00
7.00
par(mfrow=c(1,2))
Dataset$Fuente = factor(Da
porce=Dataset$Porce_EU
eti=paste(Dataset$Fuente,p
eti=paste(eti,"%",sep="")
pie(xtabs(Porce_EU~Fuente,
porce=Dataset$Porce_Can
eti=paste(Dataset$Fuentes,p
eti=paste(eti,"%",sep="")
pie(xtabs(Porce_Can~Fuente
SALIDA
R SCRIPT
par(mfrow=c(1,2))
Dataset$Fuente = factor(Da
porce=Dataset$Porce_EU
eti=paste(Dataset$Fuente,p
eti=paste(eti,"%",sep="")
pie(xtabs(Porce_EU~Fuente,
porce=Dataset$Porce_Can
eti=paste(Dataset$Fuente,p
eti=paste(eti,"%",sep="")
pie(xtabs(Porce_Can~Fuente
mfrow=c(1,2))
ce=Dataset$Porce_EU
=paste(Dataset$Fuente,porce)
=paste(eti,"%",sep="")
xtabs(Porce_EU~Fuente,data=Dataset),labels=sort(eti),col=rainbow(length(Dataset$Porce_EU)),main="Estados
ce=Dataset$Porce_Can
=paste(Dataset$Fuentes,porce)
=paste(eti,"%",sep="")
xtabs(Porce_Can~Fuente,data=Dataset),labels=sort(eti),col=rainbow(length(Dataset$Porce_Can)),main="Cana
ar(mfrow=c(1,2))
orce=Dataset$Porce_EU
ti=paste(Dataset$Fuente,porce)
ti=paste(eti,"%",sep="")
ie(xtabs(Porce_EU~Fuente,data=Dataset),labels=sort(eti),col=rainbow(length(Dataset$Porce_EU)),main="Estad
orce=Dataset$Porce_Can
ti=paste(Dataset$Fuentes,porce)
ti=paste(eti,"%",sep="")
ie(xtabs(Porce_Can~Fuente,data=Dataset),labels=sort(eti),col=rainbow(length(Dataset$Porce_Can)),main="Ca
Estados Unidos
Canad
Estados Unidos
Canad
Carbon 45%
1%
1%
Petroleo 1%
Otros_rec_renov 4%
15%
7%
59%
Gas_Natural 23%
17%
Nuclear 20%
Hidroelectrica 7%
mfrow=c(1,2))
aset$Fuente = factor(Dataset$Fuente)
ce=Dataset$Porce_EU
=paste(Dataset$Fuente,porce)
=paste(eti,"%",sep="")
xtabs(Porce_EU~Fuente,data=Dataset),labels=sort(eti),col=rainbow(length(Dataset$Porce_EU)),main="Estados
ce=Dataset$Porce_Can
=paste(Dataset$Fuentes,porce)
=paste(eti,"%",sep="")
xtabs(Porce_Can~Fuente,data=Dataset),labels=sort(eti),col=rainbow(length(Dataset$Porce_Can)),main="Cana
mfrow=c(1,2))
aset$Fuente = factor(Dataset$Fuente,levels=Dataset$Fuente)
ce=Dataset$Porce_EU
=paste(Dataset$Fuente,porce)
=paste(eti,"%",sep="")
xtabs(Porce_EU~Fuente,data=Dataset),labels=sort(eti),col=rainbow(length(Dataset$Porce_EU)),main="Estados
ce=Dataset$Porce_Can
=paste(Dataset$Fuente,porce)
=paste(eti,"%",sep="")
xtabs(Porce_Can~Fuente,data=Dataset),labels=sort(eti),col=rainbow(length(Dataset$Porce_Can)),main="Cana
aset$Porce_EU)),main="Estados Unidos",cex=0.7)
taset$Porce_Can)),main="Canad", cex=0.7)
ataset$Porce_EU)),main="Estados Unidos",cex=0.7)
Dataset$Porce_Can)),main="Canad", cex=0.7)
1%
7%
59%
17%
aset$Porce_EU)),main="Estados Unidos",cex=0.7)
taset$Porce_Can)),main="Canad", cex=0.7)
aset$Porce_EU)),main="Estados Unidos",cex=0.7)
taset$Porce_Can)),main="Canad", cex=0.7)
require(qcc)
defect=Dataset$FRECUENCIA
names(defect)=levels(Dataset$EST
SALIDA
require(qcc)
> defect=Dataset$FRECUENCIA
> names(defect)=levels(Dataset$E
4000
5000
6000
GRAFICA
ESTADIO FRECUENCIA
I
1616
II
2345
III
854
IV
714
V
444
R SCRIPT
encia
BASE DE DATOS
II
1000
2000
3000
4000
Frecuencia
5000
ect=Dataset$FRECUENCIA
mes(defect)=levels(Dataset$ESTADIO)
efect=Dataset$FRECUENCIA
ames(defect)=levels(Dataset$ESTADIO)
100%
Percentage
75%
4000
5000
6000
Grfica de Pareto
encia
II
I
III
Estadio
IV
V
0%
25%
1000
50%
3000
75%
4000
C umulative Percentage
2000
Frecuencia
5000
Percentage
75%
100%
0%
25%
75%
C umulative Percentage
50%
R SCRIPT
library(vcd)
mosaicplot(xtabs(Frec~Sitio+Estadio,data=Data
SALIDA
> library(vcd)
> mosaicplot(xtabs(Frec~Sitio+Estadio,data=Da
> mosaicplot(xtabs(Frec~Sitio+Estadio,data=Da
GRAFICA
Grfico
I5
I4
I3
I2
I1 I0
s1
I6
Frec
116
316
1645
1702
1764
468
675
121
308
1740
1581
2025
854
647
111
78
916
953
1517
641
523
Estadio
BASE DE DATOS
Sitio
Estadio
s1
I0
s1
I1
s1
I2
s1
I3
s1
I4
s1
I5
s1
I6
s2
I0
s2
I1
s2
I2
s2
I3
s2
I4
s2
I5
s2
I6
s3
I0
s3
I1
s3
I2
s3
I3
s3
I4
s3
I5
s3
I6
I6
I5
I4
(Frec~Sitio+Estadio,data=Dataset),shade=TRUE,main="Grfico de Mosaico")
bs(Frec~Sitio+Estadio,data=Datos),shade=TRUE,main="Grfico de Mosaico")
bs(Frec~Sitio+Estadio,data=Dataset),shade=TRUE,main="Grfico de Mosaico")
Grfico de Mosaico
-4:-2
-2:0
0:2
2:4
>4
s3
<-4
s2
Standardized
R esiduals:
s1
Sitio
Standardized
R esiduals:
<
BASE DE DATOS
Sitios
2OrillaW
3Orillaw
4OrillaWcent
5OrillaW
6OrillaWextre
7cenW
8CentCen
9cen-csur
10cent-SE
11canal-Nort
12orillanort
13centroccen
14Centrosur
15orillaNorteE
16orillaE
2OrillaW
3Orillaw
4OrillaWcent
5OrillaW
6OrillaWextre
7cenW
8CentCen
9cen-csur
10cent-SE
11canal-Nort
12orillanort
13centroccen
14Centrosur
15orillaNorteE
16orillaE
2OrillaNW
3OrillaNw
4OrillaNorte
5OrillaNEca
6OrillaNE
7OrillaEca
8orillaSE
9OrillaSEce
10orillasur
11orillaSWc
12orillasw
R SCRIPT
Prof
1.23
0.93
0.96
0.90
0.91
0.98
0.90
1.05
0.87
0.86
1.10
0.90
0.88
0.90
1.20
1.15
0.91
0.95
0.87
0.87
0.93
0.88
0.97
0.91
0.81
0.96
0.89
0.91
0.79
1.02
1.09
1.00
0.75
0.80
0.70
0.80
0.95
0.95
0.82
0.75
1.02
dotchart(Dataset$Prof,labels=(Dataset$Sitios),c
SALIDA
16centroNE
15centroNE
14CentroN
13centroW
12orillasw
11orillaSWc
10orillasur
9OrillaSEce
8orillaSE
7OrillaEca
6OrillaNE
5OrillaNEca
4OrillaNorte
3OrillaNw
2OrillaNW
16centroNE
15centroNE
14CentroN
13centroW
12orillasw
11orillaSWc
10orillasur
9OrillaSEce
8orillaSE
7OrillaEca
6OrillaNE
5OrillaNEca
4OrillaNorte
3OrillaNw
2OrillaNW
16centroNE
15centroNE
14CentroN
13centroW
12orillasw
11orillaSWc
10orillasur
9OrillaSEce
8orillaSE
7OrillaEca
6OrillaNE
5OrillaNEca
4OrillaNorte
3OrillaNw
2OrillaNW
16centroNE
15centroNE
14CentroN
13centroW
12orillasw
11orillaSWc
10orillasur
9OrillaSEce
8orillaSE
7OrillaEca
6OrillaNE
5OrillaNEca
4OrillaNorte
3OrillaNw
2OrillaNW
16orillaE
15orillaNorteE
14Centrosur
13centroccen
12orillanort
11canal-Nort
10cent-SE
9cen-csur
8CentCen
7cenW
6OrillaWextre
5OrillaW
4OrillaWcent
3Orillaw
2OrillaW
16orillaE
15orillaNorteE
14Centrosur
13centroccen
12orillanort
11canal-Nort
10cent-SE
9cen-csur
8CentCen
7cenW
6OrillaWextre
5OrillaW
4OrillaWcent
3Orillaw
2OrillaW
0.6
0.7
0.8
13centroW
14CentroN
15centroNE
16centroNE
2OrillaNW
3OrillaNw
4OrillaNorte
5OrillaNEca
6OrillaNE
7OrillaEca
8orillaSE
9OrillaSEce
10orillasur
11orillaSWc
12orillasw
13centroW
14CentroN
15centroNE
16centroNE
2OrillaNW
3OrillaNw
4OrillaNorte
5OrillaNEca
6OrillaNE
7OrillaEca
8orillaSE
9OrillaSEce
10orillasur
11orillaSWc
12orillasw
13centroW
14CentroN
15centroNE
16centroNE
2OrillaNW
3OrillaNw
4OrillaNorte
5OrillaNEca
6OrillaNE
7OrillaEca
8orillaSE
9OrillaSEce
10orillasur
11orillaSWc
12orillasw
0.90
0.70
0.85
0.75
1.10
0.80
0.65
0.75
0.60
0.70
0.82
0.80
0.80
0.72
0.96
0.78
0.65
0.67
0.71
1.02
0.78
0.62
0.73
0.62
0.68
0.75
0.78
0.77
0.70
0.84
0.69
0.62
0.65
0.68
0.95
0.82
0.59
0.68
0.54
0.67
0.79
0.73
0.74
0.66
0.89
13centroW
14CentroN
15centroNE
16centroNE
0.72
0.59
0.64
0.66
$Prof,labels=(Dataset$Sitios),cex=.7,xlab="Prof")
0.6
0.7
0.8
0.9
Prof
1.0
1.1
1.2
BASE DE DATOS
R SCRIPT
data(Titanic, package="datasets")
Titanic <- as.data.frame(Titanic)
Titanic
Titanic = xtabs(Freq~Class+Sex+Age+Survived
mosaic(Titanic,gp=gpar(fill=c("gray","dark mage
spacing=spacing_highlighting, labeling_args=lis
rep = c(Survived = FALSE)))
SALIDA
kage="datasets")
a.frame(Titanic)
req~Class+Sex+Age+Survived,data=Titanic)
p=gpar(fill=c("gray","dark magenta")),
_highlighting, labeling_args=list(abbreviate=c(Age=3),
= FALSE)))
BASE DE DATOS
Sitios
2OrillaW
3Orillaw
4OrillaWcent
5OrillaW
6OrillaWextre
7cenW
8CentCen
9cen-csur
10cent-SE
11canal-Nort
12orillanort
13centroccen
14Centrosur
15orillaNorteE
16orillaE
2OrillaW
3Orillaw
4OrillaWcent
5OrillaW
6OrillaWextre
7cenW
8CentCen
9cen-csur
10cent-SE
11canal-Nort
12orillanort
13centroccen
14Centrosur
15orillaNorteE
16orillaE
2OrillaNW
3OrillaNw
4OrillaNorte
5OrillaNEca
6OrillaNE
7OrillaEca
8orillaSE
9OrillaSEce
10orillasur
11orillaSWc
12orillasw
13centroW
R SCRIPT
Prof
1.23
0.93
0.96
0.90
0.91
0.98
0.90
1.05
0.87
0.86
1.10
0.90
0.88
0.90
1.20
1.15
0.91
0.95
0.87
0.87
0.93
0.88
0.97
0.91
0.81
0.96
0.89
0.91
0.79
1.02
1.09
1.00
0.75
0.80
0.70
0.80
0.95
0.95
0.82
0.75
1.02
0.90
stripchart(Dataset$Prof,method="stack",offset=1.5,at=0,pch=
SALIDA
0.6
0.7
0.8
0.9
14CentroN
15centroNE
16centroNE
2OrillaNW
3OrillaNw
4OrillaNorte
5OrillaNEca
6OrillaNE
7OrillaEca
8orillaSE
9OrillaSEce
10orillasur
11orillaSWc
12orillasw
13centroW
14CentroN
15centroNE
16centroNE
2OrillaNW
3OrillaNw
4OrillaNorte
5OrillaNEca
6OrillaNE
7OrillaEca
8orillaSE
9OrillaSEce
10orillasur
11orillaSWc
12orillasw
13centroW
14CentroN
15centroNE
16centroNE
2OrillaNW
3OrillaNw
4OrillaNorte
5OrillaNEca
6OrillaNE
7OrillaEca
8orillaSE
9OrillaSEce
10orillasur
11orillaSWc
12orillasw
13centroW
0.70
0.85
0.75
1.10
0.80
0.65
0.75
0.60
0.70
0.82
0.80
0.80
0.72
0.96
0.78
0.65
0.67
0.71
1.02
0.78
0.62
0.73
0.62
0.68
0.75
0.78
0.77
0.70
0.84
0.69
0.62
0.65
0.68
0.95
0.82
0.59
0.68
0.54
0.67
0.79
0.73
0.74
0.66
0.89
0.72
14CentroN
15centroNE
16centroNE
0.59
0.64
0.66
d="stack",offset=1.5,at=0,pch=16,col="blue",cex=2.5)
0.7
0.8
0.9
1.0
1.1
1.2
R SCRIPT
BASE DE DATOS
Sitios
2OrillaW
3Orillaw
4OrillaWcent
5OrillaW
6OrillaWextre
7cenW
8CentCen
9cen-csur
10cent-SE
11canal-Nort
12orillanort
13centroccen
14Centrosur
15orillaNorteE
16orillaE
2OrillaW
3Orillaw
4OrillaWcent
5OrillaW
6OrillaWextre
7cenW
8CentCen
9cen-csur
10cent-SE
11canal-Nort
12orillanort
13centroccen
14Centrosur
15orillaNorteE
16orillaE
2OrillaNW
3OrillaNw
4OrillaNorte
5OrillaNEca
6OrillaNE
7OrillaEca
8orillaSE
9OrillaSEce
10orillasur
11orillaSWc
Prof
1.23
0.93
0.96
0.90
0.91
0.98
0.90
1.05
0.87
0.86
1.10
0.90
0.88
0.90
1.20
1.15
0.91
0.95
0.87
0.87
0.93
0.88
0.97
0.91
0.81
0.96
0.89
0.91
0.79
1.02
1.09
1.00
0.75
0.80
0.70
0.80
0.95
0.95
0.82
0.75
library(tcltk, pos=14)
library(aplpack, pos=14)
with(Dataset, stem.leaf(Prof, na.rm=TRUE))
SALIDA
12orillasw
13centroW
14CentroN
15centroNE
16centroNE
2OrillaNW
3OrillaNw
4OrillaNorte
5OrillaNEca
6OrillaNE
7OrillaEca
8orillaSE
9OrillaSEce
10orillasur
11orillaSWc
12orillasw
13centroW
14CentroN
15centroNE
16centroNE
2OrillaNW
3OrillaNw
4OrillaNorte
5OrillaNEca
6OrillaNE
7OrillaEca
8orillaSE
9OrillaSEce
10orillasur
11orillaSWc
12orillasw
13centroW
14CentroN
15centroNE
16centroNE
2OrillaNW
3OrillaNw
4OrillaNorte
5OrillaNEca
6OrillaNE
7OrillaEca
8orillaSE
9OrillaSEce
10orillasur
11orillaSWc
1.02
0.90
0.70
0.85
0.75
1.10
0.80
0.65
0.75
0.60
0.70
0.82
0.80
0.80
0.72
0.96
0.78
0.65
0.67
0.71
1.02
0.78
0.62
0.73
0.62
0.68
0.75
0.78
0.77
0.70
0.84
0.69
0.62
0.65
0.68
0.95
0.82
0.59
0.68
0.54
0.67
0.79
0.73
0.74
0.66
12orillasw
13centroW
14CentroN
15centroNE
16centroNE
0.89
0.72
0.59
0.64
0.66
a.rm=TRUE))
, na.rm=TRUE))
R SCRIPT
Graficas-Histograma-opciones-Clas
BASE DE DATOS
SALIDA
10
12
Histograma de Frec
1.23
0.93
0.96
0.90
0.91
0.98
0.90
1.05
0.87
0.86
1.10
0.90
0.88
0.90
1.20
1.15
0.91
0.95
0.87
0.87
0.93
0.88
0.97
0.91
0.81
0.96
0.89
0.91
0.79
1.02
1.09
1.00
0.75
0.80
0.70
0.80
0.95
0.95
0.82
0.75
1.02
Prof
Frecuencia
Sitios
2OrillaW
3Orillaw
4OrillaWcent
5OrillaW
6OrillaWextre
7cenW
8CentCen
9cen-csur
10cent-SE
11canal-Nort
12orillanort
13centroccen
14Centrosur
15orillaNorteE
16orillaE
2OrillaW
3Orillaw
4OrillaWcent
5OrillaW
6OrillaWextre
7cenW
8CentCen
9cen-csur
10cent-SE
11canal-Nort
12orillanort
13centroccen
14Centrosur
15orillaNorteE
16orillaE
2OrillaNW
3OrillaNw
4OrillaNorte
5OrillaNEca
6OrillaNE
7OrillaEca
8orillaSE
9OrillaSEce
10orillasur
11orillaSWc
12orillasw
0.6
0.8
Longitud
13centroW
14CentroN
15centroNE
16centroNE
2OrillaNW
3OrillaNw
4OrillaNorte
5OrillaNEca
6OrillaNE
7OrillaEca
8orillaSE
9OrillaSEce
10orillasur
11orillaSWc
12orillasw
13centroW
14CentroN
15centroNE
16centroNE
2OrillaNW
3OrillaNw
4OrillaNorte
5OrillaNEca
6OrillaNE
7OrillaEca
8orillaSE
9OrillaSEce
10orillasur
11orillaSWc
12orillasw
13centroW
14CentroN
15centroNE
16centroNE
2OrillaNW
3OrillaNw
4OrillaNorte
5OrillaNEca
6OrillaNE
7OrillaEca
8orillaSE
9OrillaSEce
10orillasur
11orillaSWc
12orillasw
0.90
0.70
0.85
0.75
1.10
0.80
0.65
0.75
0.60
0.70
0.82
0.80
0.80
0.72
0.96
0.78
0.65
0.67
0.71
1.02
0.78
0.62
0.73
0.62
0.68
0.75
0.78
0.77
0.70
0.84
0.69
0.62
0.65
0.68
0.95
0.82
0.59
0.68
0.54
0.67
0.79
0.73
0.74
0.66
0.89
13centroW
14CentroN
15centroNE
16centroNE
0.72
0.59
0.64
0.66
Histograma de Frecuencia
0.8
1.0
Longitud
1.2
R SCRIPT
BASE DE DATOS
library(ggplot2)
Frec
35
56
77
182
288
335
119
178
97
48
32
21
16
30
79
10
2
4
3
4
3
46
95
338
459
316
375
170
158
112
87
37
28
38
2
43
21
11
0
6
14
Tiempo
21
25
29
32
36
39
43
46
50
53
57
60
64
67
71
74
78
81
84
88
29
32
36
39
43
46
50
53
57
60
64
67
71
74
78
81
84
88
92
95
39
SALIDA
60
40
density
Estadio
I1
I1
I1
I1
I1
I1
I1
I1
I1
I1
I1
I1
I1
I1
I1
I1
I1
I1
I1
I1
I2
I2
I2
I2
I2
I2
I2
I2
I2
I2
I2
I2
I2
I2
I2
I2
I2
I2
I2
I2
I3
20
0
50
Tiempo
I3
I3
I3
I3
I3
I3
I3
I3
I3
I3
I3
I3
I3
I3
I3
I3
I3
I3
I3
I3
I3
I4
I4
I4
I4
I4
I4
I4
I4
I4
I4
I4
I4
I4
I4
I4
I4
I4
I4
I4
I4
I4
I4
I5
I5
40
99
17
98
97
151
69
37
63
41
5
32
21
14
11
6
0
0
10
10
19
3
12
9
25
81
64
55
58
110
7
32
33
32
25
39
17
30
20
20
37
3
2
3
5
43
46
50
53
57
60
64
67
71
74
78
81
84
88
92
95
99
102
106
109
113
46
50
53
57
60
64
67
71
74
78
81
84
88
92
95
99
102
106
109
113
116
120
64
67
I5
I5
I5
I5
I5
I5
I5
I5
I5
I5
I5
I5
I5
I5
I5
I5
I5
I5
I5
I5
20
20
30
20
30
50
20
40
30
30
10
13
29
20
23
17
16
8
7
3
71
74
78
81
84
88
92
95
99
102
106
109
113
116
120
123
127
130
136
143
Estadio
I1
I2
I3
I4
I5
50
100
Tiempo
SALIDA
1.16
1.18
1.20
1.22
1.24
1.14
Grosor
1.15
1.20
1.17
1.16
1.16
1.15
1.17
1.20
1.16
1.19
1.17
1.13
1.15
1.20
1.18
1.17
1.16
1.20
1.17
1.17
1.20
1.14
1.19
1.13
1.19
1.16
1.18
1.16
1.17
1.15
1.21
1.15
1.20
1.18
1.17
1.17
1.13
1.16
1.16
1.17
1.20
1.18
1.12
Obs
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
R SCRIPT
Grosor
BASE DE DATOS
93
-2
-1
nor
-2
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
1.15
1.13
1.20
1.17
1.19
1.23
1.20
1.24
1.17
1.17
1.17
1.17
1.18
1.24
1.16
1.18
1.16
1.22
1.23
1.22
1.19
1.13
1.15
1.15
1.22
1.19
1.18
1.19
1.17
1.16
1.17
1.18
1.19
1.23
1.19
1.16
1.19
1.20
1.17
1.13
1.22
1.19
1.21
1.20
1.19
-1
nor
BASE DE DATOS
n_Insects_Mc
0
0
0
0
0
0
11
5
5
22
7
13
5
1
0
0
8
9
60
35
28
43
32
34
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
1.17
1.19
1.22
1.19
1.18
1.11
1.19
1.19
1.17
1.19
1.17
1.20
1.16
1.19
1.20
1.20
1.17
1.25
1.16
1.16
1.20
1.20
1.16
1.18
1.21
1.20
1.22
1.19
1.14
1.19
1.17
1.20
1.16
1.15
1.20
1.12
1.11
1.18
105
-2
-1
0
norm quantiles
-2
-1
norm quantiles
EJEMPLO
GRAFICAS- DIAGRAMA DE COMPARACION DE CUANTILES
en opciones podemos utilizar el raton interactivo. Debemos parar antes de cerrar la grafica.
s de cerrar la grafica.
BASE DE DATOS
Obs
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
R SCRIPT
Grosor
1.15
1.20
1.17
1.16
1.16
1.15
1.17
1.20
1.16
1.19
1.17
1.13
1.15
1.20
1.18
1.17
1.16
1.20
1.17
1.17
1.20
1.14
1.19
1.13
1.19
1.16
1.18
1.16
1.17
1.15
1.21
1.15
1.20
1.18
1.17
1.17
1.13
1.16
1.16
1.17
1.20
1.18
SALIDA
1.05
1.10
1.15
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
1.15
1.13
1.20
1.17
1.19
1.23
1.20
1.24
1.17
1.17
1.17
1.17
1.18
1.24
1.16
1.18
1.16
1.22
1.23
1.22
1.19
1.13
1.15
1.15
1.22
1.19
1.18
1.19
1.17
1.16
1.17
1.18
1.19
1.23
1.19
1.16
1.19
1.20
1.17
1.13
1.22
1.19
1.21
1.20
1.19
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
1.17
1.19
1.22
1.19
1.18
1.11
1.19
1.19
1.17
1.19
1.17
1.20
1.16
1.19
1.20
1.20
1.17
1.25
1.16
1.16
1.20
1.20
1.16
1.18
1.21
1.20
1.22
1.19
1.14
1.19
1.17
1.20
1.16
1.15
1.20
1.12
1.11
1.18
1.10
1.15
1.20
1.25
1.30
1.35
BASE DE DATOS
ZONA
Evalua
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
2
2
Plantas
p1
p2
p3
p4
p5
p6
p7
p8
p9
p10
p11
p12
p13
p14
p15
p16
p17
p18
p19
p20
p21
p22
p23
p24
p25
p26
p27
p28
p29
p30
p1
p2
p3
p4
p5
p6
p7
p8
p9
p10
p11
Col_fito
Obs
12
9
14
11
1
9
1
1
5
7
13
0
14
13
13
9
14
5
11
8
19
15
8
5
4
16
19
1
0
9
10
7
9
10
10
2
14
14
10
11
13
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
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
p12
p13
p14
p15
p16
p17
p18
p19
p20
p21
p22
p23
p24
p25
p26
p27
p28
p29
p30
p1
p2
p3
p4
p5
p6
p7
p8
p9
p10
p11
p12
p13
p14
p15
p16
p17
p18
p19
p20
p21
p22
p23
p24
p25
p26
3
16
14
2
10
3
8
10
9
9
10
8
11
12
10
13
12
5
7
6
1
1
3
1
3
2
3
1
6
2
4
11
0
0
12
4
1
9
2
2
8
3
2
3
6
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
3
3
3
3
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
5
5
5
5
5
5
5
5
5
5
5
p27
p28
p29
p30
p1
p2
p3
p4
p5
p6
p7
p8
p9
p10
p11
p12
p13
p14
p15
p16
p17
p18
p19
p20
p21
p22
p23
p24
p25
p26
p27
p28
p29
p30
p1
p2
p3
p4
p5
p6
p7
p8
p9
p10
p11
4
6
1
3
2
3
6
0
1
1
0
2
3
0
4
2
0
0
2
4
4
0
0
1
3
2
0
5
4
0
5
3
4
2
1
3
0
0
0
6
3
5
2
0
3
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
p12
p13
p14
p15
p16
p17
p18
p19
p20
p21
p22
p23
p24
p25
p26
p27
p28
p29
p30
p1
p2
p3
p4
p5
p6
p7
p8
p9
p10
p11
p12
p13
p14
p15
p16
p17
p18
p19
p20
p21
p22
p23
p24
p25
p26
0
0
2
2
0
0
6
12
0
0
8
0
0
4
8
1
7
4
0
0
1
1
3
2
0
2
0
3
1
0
3
0
3
1
0
1
6
0
2
0
2
5
3
5
3
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
6
6
6
6
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
8
8
8
8
8
8
8
8
8
8
8
p27
p28
p29
p30
p1
p2
p3
p4
p5
p6
p7
p8
p9
p10
p11
p12
p13
p14
p15
p16
p17
p18
p19
p20
p21
p22
p23
p24
p25
p26
p27
p28
p29
p30
p1
p2
p3
p4
p5
p6
p7
p8
p9
p10
p11
0
0
0
0
0
0
0
4
1
0
0
2
2
0
0
2
0
0
0
0
0
4
2
2
0
0
0
4
1
0
0
3
1
0
1
0
3
1
7
4
3
2
2
0
3
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
p12
p13
p14
p15
p16
p17
p18
p19
p20
p21
p22
p23
p24
p25
p26
p27
p28
p29
p30
p1
p2
p3
p4
p5
p6
p7
p8
p9
p10
p11
p12
p13
p14
p15
p16
p17
p18
p19
p20
p21
p22
p23
p24
p25
p26
1
0
4
3
0
0
2
3
1
3
2
3
3
1
0
1
1
1
0
4
2
1
0
3
0
0
0
0
1
1
1
0
0
0
1
0
0
0
2
0
3
2
0
0
0
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
1
1
1
1
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
9
9
9
9
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
p27
p28
p29
p30
p31
p32
p33
p34
p35
p36
p37
p38
p39
p40
p41
p42
p43
p44
p45
p46
p47
p48
p49
p50
p51
p52
p53
p54
p55
p56
p57
p58
p59
p60
p61
p62
p63
p64
p65
p66
p67
p68
p69
p70
p71
2
0
0
0
11
13
1
8
8
10
15
9
9
8
7
15
15
15
11
12
5
5
8
11
10
14
18
5
14
6
18
15
12
15
18
16
10
8
14
11
8
6
14
15
8
267
268
269
270
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
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
1
1
1
1
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
p72
p73
p74
p75
p31
p32
p33
p34
p35
p36
p37
p38
p39
p40
p41
p42
p43
p44
p45
p46
p47
p48
p49
p50
p51
p52
p53
p54
p55
p56
p57
p58
p59
p60
p61
p62
p63
p64
p65
p66
p67
p68
p69
p70
p71
6
10
4
8
17
7
11
10
9
10
10
7
15
17
17
8
19
9
17
18
15
16
8
9
13
11
15
14
14
16
14
18
19
13
14
14
9
9
19
21
14
13
11
17
16
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
p72
p73
p74
p75
p31
p32
p33
p34
p35
p36
p37
p38
p39
p40
p41
p42
p43
p44
p45
p46
p47
p48
p49
p50
p51
p52
p53
p54
p55
p56
p57
p58
p59
p60
p61
p62
p63
p64
p65
p66
p67
p68
p69
p70
p71
21
19
16
17
7
9
16
7
9
5
11
8
9
10
6
12
11
14
4
4
10
9
4
16
19
10
2
2
5
16
8
4
17
23
12
4
5
13
13
19
9
15
11
8
12
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
3
3
3
3
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
p72
p73
p74
p75
p31
p32
p33
p34
p35
p36
p37
p38
p39
p40
p41
p42
p43
p44
p45
p46
p47
p48
p49
p50
p51
p52
p53
p54
p55
p56
p57
p58
p59
p60
p61
p62
p63
p64
p65
p66
p67
p68
p69
p70
p71
11
4
12
11
6
7
5
2
11
9
1
6
9
4
8
4
12
5
9
6
3
12
3
10
0
12
3
6
4
5
10
0
8
9
6
7
7
3
17
0
7
14
7
5
9
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
4
4
4
4
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
p72
p73
p74
p75
p31
p32
p33
p34
p35
p36
p37
p38
p39
p40
p41
p42
p43
p44
p45
p46
p47
p48
p49
p50
p51
p52
p53
p54
p55
p56
p57
p58
p59
p60
p61
p62
p63
p64
p65
p66
p67
p68
p69
p70
p71
10
5
7
11
3
6
5
5
8
4
8
9
7
0
0
7
1
3
5
2
5
9
6
12
5
2
9
10
6
7
9
6
10
11
6
6
12
13
4
12
10
12
15
6
7
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
5
5
5
5
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
p72
p73
p74
p75
p31
p32
p33
p34
p35
p36
p37
p38
p39
p40
p41
p42
p43
p44
p45
p46
p47
p48
p49
p50
p51
p52
p53
p54
p55
p56
p57
p58
p59
p60
p61
p62
p63
p64
p65
p66
p67
p68
p69
p70
p71
7
4
10
9
1
0
5
5
3
4
5
1
1
6
3
6
3
3
1
3
4
3
2
2
6
5
3
1
0
3
4
1
3
4
2
1
6
3
6
3
4
4
5
3
6
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
6
6
6
6
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
p72
p73
p74
p75
p31
p32
p33
p34
p35
p36
p37
p38
p39
p40
p41
p42
p43
p44
p45
p46
p47
p48
p49
p50
p51
p52
p53
p54
p55
p56
p57
p58
p59
p60
p61
p62
p63
p64
p65
p66
p67
p68
p69
p70
p71
3
3
5
4
4
5
1
2
2
3
6
2
2
1
3
0
3
1
0
0
4
3
1
4
4
0
3
3
0
0
4
0
3
3
0
0
5
2
6
6
4
2
0
4
6
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
7
7
7
7
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
p72
p73
p74
p75
p31
p32
p33
p34
p35
p36
p37
p38
p39
p40
p41
p42
p43
p44
p45
p46
p47
p48
p49
p50
p51
p52
p53
p54
p55
p56
p57
p58
p59
p60
p61
p62
p63
p64
p65
p66
p67
p68
p69
p70
p71
0
2
3
2
3
1
0
3
1
3
2
0
4
3
3
0
0
1
1
0
5
1
1
2
0
1
1
0
1
0
2
2
1
1
1
0
2
5
2
1
3
4
1
0
1
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
8
8
8
8
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
p72
p73
p74
p75
p31
p32
p33
p34
p35
p36
p37
p38
p39
p40
p41
p42
p43
p44
p45
p46
p47
p48
p49
p50
p51
p52
p53
p54
p55
p56
p57
p58
p59
p60
p61
p62
p63
p64
p65
p66
p67
p68
p69
p70
p71
2
4
0
0
2
2
0
4
2
2
4
1
6
3
3
1
0
1
1
2
3
0
0
6
0
1
5
4
6
0
2
1
1
2
2
0
0
5
7
6
0
1
4
0
0
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
2
2
2
2
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
9
9
9
9
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
p72
p73
p74
p75
p76
p77
p78
p79
p80
p81
p82
p83
p84
p85
p86
p87
p88
p89
p90
p91
p92
p93
p94
p95
p96
p97
p98
p99
p100
p101
p102
p103
p104
p105
p106
p107
p108
p109
p110
p111
p112
p113
p114
p115
p116
1
2
3
4
0
1
1
1
1
3
0
1
2
0
1
2
0
4
2
3
8
3
1
3
4
4
7
4
1
3
3
2
6
5
9
2
0
4
4
3
3
0
2
3
1
402
403
404
405
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
1
1
1
1
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
p117
p118
p119
p120
p76
p77
p78
p79
p80
p81
p82
p83
p84
p85
p86
p87
p88
p89
p90
p91
p92
p93
p94
p95
p96
p97
p98
p99
p100
p101
p102
p103
p104
p105
p106
p107
p108
p109
p110
p111
p112
p113
p114
p115
p116
5
6
0
6
2
3
1
1
3
5
0
3
2
0
3
1
2
0
1
5
2
2
3
9
6
1
5
0
3
1
5
6
2
10
10
2
10
4
12
9
15
4
23
5
9
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
2
2
2
2
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
p117
p118
p119
p120
p76
p77
p78
p79
p80
p81
p82
p83
p84
p85
p86
p87
p88
p89
p90
p91
p92
p93
p94
p95
p96
p97
p98
p99
p100
p101
p102
p103
p104
p105
p106
p107
p108
p109
p110
p111
p112
p113
p114
p115
p116
4
17
6
12
1
1
4
0
2
2
9
6
6
9
1
0
5
4
0
1
3
4
7
4
10
0
0
4
3
1
4
0
4
3
1
4
3
3
4
4
1
3
2
1
5
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
p117
p118
p119
p120
p76
p77
p78
p79
p80
p81
p82
p83
p84
p85
p86
p87
p88
p89
p90
p91
p92
p93
p94
p95
p96
p97
p98
p99
p100
p101
p102
p103
p104
p105
p106
p107
p108
p109
p110
p111
p112
p113
p114
p115
p116
0
0
14
1
4
2
1
3
7
6
6
1
3
5
8
0
0
1
0
9
4
3
5
5
6
4
0
3
5
8
5
3
7
3
3
4
2
6
5
3
1
0
2
2
11
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
4
4
4
4
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
p117
p118
p119
p120
p76
p77
p78
p79
p80
p81
p82
p83
p84
p85
p86
p87
p88
p89
p90
p91
p92
p93
p94
p95
p96
p97
p98
p99
p100
p101
p102
p103
p104
p105
p106
p107
p108
p109
p110
p111
p112
p113
p114
p115
p116
1
4
2
2
0
4
1
0
7
2
2
2
1
4
0
2
8
4
2
4
5
3
5
3
4
3
5
6
0
0
5
6
1
3
4
1
7
1
2
1
2
9
6
1
2
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
5
5
5
5
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
p117
p118
p119
p120
p76
p77
p78
p79
p80
p81
p82
p83
p84
p85
p86
p87
p88
p89
p90
p91
p92
p93
p94
p95
p96
p97
p98
p99
p100
p101
p102
p103
p104
p105
p106
p107
p108
p109
p110
p111
p112
p113
p114
p115
p116
7
1
4
2
0
0
2
2
0
4
1
0
6
0
4
1
0
0
0
2
0
1
1
2
0
2
2
0
3
3
0
0
0
5
0
0
2
2
0
3
2
1
0
0
1
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
6
6
6
6
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
p117
p118
p119
p120
p76
p77
p78
p79
p80
p81
p82
p83
p84
p85
p86
p87
p88
p89
p90
p91
p92
p93
p94
p95
p96
p97
p98
p99
p100
p101
p102
p103
p104
p105
p106
p107
p108
p109
p110
p111
p112
p113
p114
p115
p116
0
2
1
1
0
0
4
2
0
0
0
3
0
1
1
1
1
3
1
1
1
2
2
0
2
1
1
0
0
0
2
3
3
0
0
1
0
2
1
0
1
3
1
0
0
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
7
7
7
7
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
p117
p118
p119
p120
p76
p77
p78
p79
p80
p81
p82
p83
p84
p85
p86
p87
p88
p89
p90
p91
p92
p93
p94
p95
p96
p97
p98
p99
p100
p101
p102
p103
p104
p105
p106
p107
p108
p109
p110
p111
p112
p113
p114
p115
p116
0
2
0
0
0
0
1
0
1
1
0
0
2
3
0
0
0
0
0
0
2
2
3
1
0
1
2
1
0
1
0
1
2
0
0
0
1
2
0
0
1
0
2
1
0
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
8
8
8
8
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
p117
p118
p119
p120
p76
p77
p78
p79
p80
p81
p82
p83
p84
p85
p86
p87
p88
p89
p90
p91
p92
p93
p94
p95
p96
p97
p98
p99
p100
p101
p102
p103
p104
p105
p106
p107
p108
p109
p110
p111
p112
p113
p114
p115
p116
1
0
0
1
0
1
1
0
1
2
2
1
0
0
0
0
1
2
0
0
1
1
2
0
2
0
4
2
1
2
1
2
3
0
1
0
1
4
1
0
2
3
1
0
1
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
3
3
3
9
9
9
p117
p118
p119
1
3
3
NA
NA
NA
R SCRIPT
Agrega una columna de id
library(lattice)
bwplot(Col_fito~Evalua|ZONA,data=Dataset, ylim=c(0,25), xlab="Fechas")
salida
R SCRIPT
library(lattice)
bwplot(Col_fito~Evalua|ZONA,data=Dataset, ylim=c(0,25), xlab="Fechas")
SALIDA
cuando mi base salga horizontal debo tranformar mis variables en numeros de la siguiente manera:
datos-modificar variables del datos de conjunto activos-convertir variable numerica en factorseleccionamos la variable -utilizar numeros-aceptar
R SCRIPT
BASE DE DATOS
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
l_tger
46.4
39.6
35.8
28.4
31.8
33.6
31.4
27.1
30.2
31.0
33.1
29.3
39.8
28.1
29.6
27.1
28.6
28.6
33.5
27.3
30.0
27.2
35.6
31.8
34.2
32.2
28.4
27.5
30.4
34.1
30.1
31.2
36.9
32.3
34.3
30.5
29.6
27.3
30.2
29.2
30.4
l_tes
104.9
92.0
87.2
72.1
78.8
83.7
78.0
66.8
75.0
77.2
81.6
73.4
92.3
71.5
73.5
67.6
72.4
72.6
83.4
69.1
74.4
68.5
87.1
79.0
84.8
79.4
72.1
70.4
75.3
84.3
74.8
77.8
88.8
80.0
85.1
75.8
73.8
69.6
75.1
73.2
75.4
SALIDA
90
100
80
16
8
30
35
100
103.7
86.5
87.3
94.9
75.1
78.2
70.6
74.6
93.1
80.3
72.0
87.8
74.1
74.1
97.1
95.1
90.7
89.6
71.1
92.6
88.2
91.4
80.9
91.5
78.1
87.7
95.6
91.5
87.3
102.8
94.8
95.3
83.9
95.9
101.0
86.4
101.2
73.4
79.4
105.4
101.2
86.6
90.3
77.8
76.5
70
46.0
35.4
35.9
41.0
30.2
31.6
27.8
30.0
40.0
32.3
28.2
36.1
29.7
29.8
42.5
41.2
38.2
37.7
28.0
39.9
36.3
39.3
32.6
39.4
31.4
36.0
41.9
39.4
35.9
44.9
40.7
41.3
33.7
42.1
44.4
34.9
44.5
29.2
32.2
46.4
44.5
35.4
38.1
31.3
30.8
l_tes
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
100
90
80
97.1
80.9
94.0
74.2
76.5
71.0
94.2
86.8
89.5
101.5
83.3
79.2
92.4
100.5
101.4
77.8
95.9
80.5
73.8
87.9
77.8
80.6
70
42.5
32.8
40.3
29.8
30.8
27.8
40.3
35.5
37.4
44.6
33.4
32.1
39.8
44.2
44.5
31.3
41.9
32.3
29.6
36.1
31.1
32.5
l_tes
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
16
8
30
6
30
35
40
l_tger
100
45
100
90
80
70
16
8
30
35
40
l_tger
45
45
http://es.bookzz.org/
libros
BASE DE DATOS
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
l_tger
46.4
39.6
35.8
28.4
31.8
33.6
31.4
27.1
30.2
31.0
33.1
29.3
39.8
28.1
29.6
27.1
28.6
28.6
33.5
27.3
30.0
27.2
35.6
31.8
34.2
32.2
28.4
27.5
30.4
34.1
30.1
31.2
36.9
32.3
34.3
30.5
29.6
27.3
30.2
29.2
30.4
46.0
35.4
l_tes
104.9
92.0
87.2
72.1
78.8
83.7
78.0
66.8
75.0
77.2
81.6
73.4
92.3
71.5
73.5
67.6
72.4
72.6
83.4
69.1
74.4
68.5
87.1
79.0
84.8
79.4
72.1
70.4
75.3
84.3
74.8
77.8
88.8
80.0
85.1
75.8
73.8
69.6
75.1
73.2
75.4
103.7
86.5
cor(Dataset$long[Dataset$Suelo=="l_tger"],Dat
SALIDA
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
35.9
41.0
30.2
31.6
27.8
30.0
40.0
32.3
28.2
36.1
29.7
29.8
42.5
41.2
38.2
37.7
28.0
39.9
36.3
39.3
32.6
39.4
31.4
36.0
41.9
39.4
35.9
44.9
40.7
41.3
33.7
42.1
44.4
34.9
44.5
29.2
32.2
46.4
44.5
35.4
38.1
31.3
30.8
42.5
32.8
87.3
94.9
75.1
78.2
70.6
74.6
93.1
80.3
72.0
87.8
74.1
74.1
97.1
95.1
90.7
89.6
71.1
92.6
88.2
91.4
80.9
91.5
78.1
87.7
95.6
91.5
87.3
102.8
94.8
95.3
83.9
95.9
101.0
86.4
101.2
73.4
79.4
105.4
101.2
86.6
90.3
77.8
76.5
97.1
80.9
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
40.3
29.8
30.8
27.8
40.3
35.5
37.4
44.6
33.4
32.1
39.8
44.2
44.5
31.3
41.9
32.3
29.6
36.1
31.1
32.5
104.9
92.0
87.2
72.1
78.8
83.7
78.0
66.8
75.0
77.2
81.6
73.4
92.3
71.5
73.5
67.6
72.4
72.6
83.4
69.1
74.4
68.5
87.1
79.0
84.8
94.0
74.2
76.5
71.0
94.2
86.8
89.5
101.5
83.3
79.2
92.4
100.5
101.4
77.8
95.9
80.5
73.8
87.9
77.8
80.6
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
79.4
72.1
70.4
75.3
84.3
74.8
77.8
88.8
80.0
85.1
75.8
73.8
69.6
75.1
73.2
75.4
103.7
86.5
87.3
94.9
75.1
78.2
70.6
74.6
93.1
80.3
72.0
87.8
74.1
74.1
97.1
95.1
90.7
89.6
71.1
92.6
88.2
91.4
80.9
91.5
78.1
87.7
95.6
91.5
87.3
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
l_tes
102.8
94.8
95.3
83.9
95.9
101.0
86.4
101.2
73.4
79.4
105.4
101.2
86.6
90.3
77.8
76.5
97.1
80.9
94.0
74.2
76.5
71.0
94.2
86.8
89.5
101.5
83.3
79.2
92.4
100.5
101.4
77.8
95.9
80.5
73.8
87.9
77.8
80.6
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
ficiente de variacion
[Dataset$Suelo=="l_tger"],Dataset$long[Dataset$Suelo=="l_tes"])
Grosor
1.15
1.20
1.17
1.16
1.16
1.15
1.17
1.20
1.16
1.19
1.17
1.13
1.15
1.20
1.18
1.17
1.16
1.20
1.17
1.17
1.20
1.14
1.19
1.13
1.19
1.16
1.18
1.16
1.17
1.15
1.21
1.15
1.20
1.18
1.17
1.17
1.13
1.16
1.16
mydata = data.frame(xval=sample(Dataset$Grosor,size=50,r
mydata
mydata = data.frame(xval=sample(Dataset$Grosor,size=50,r
mydata
attach(mydata)
numSummary(mydata[,"xval"], statistics=c("mean", "sd", "IQ
.25,.5,.75,1))
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
1.17
1.20
1.18
1.15
1.13
1.20
1.17
1.19
1.23
1.20
1.24
1.17
1.17
1.17
1.17
1.18
1.24
1.16
1.18
1.16
1.22
1.23
1.22
1.19
1.13
1.15
1.15
1.22
1.19
1.18
1.19
1.17
1.16
1.17
1.18
1.19
1.23
1.19
1.16
1.19
1.20
1.17
1.13
1.22
1.19
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
1.21
1.20
1.19
1.17
1.19
1.22
1.19
1.18
1.11
1.19
1.19
1.17
1.19
1.17
1.20
1.16
1.19
1.20
1.20
1.17
1.25
1.16
1.16
1.20
1.20
1.16
1.18
1.21
1.20
1.22
1.19
1.14
1.19
1.17
1.20
1.16
1.15
1.20
1.12
1.11
1.18
mple(Dataset$Grosor,size=50,rep=T))
utamos porque se debe indicar al programa que quiero ver la base de mi objeto
parecer los 50 datos aleatorios que estoy pidiendo, selecciones
mple(Dataset$Grosor,size=50,rep=T))
Treat
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
Sex
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
Time
5
19
19
20
21
26
38
40
40
40
45
49
49
52
52
54
54
54
58
61
17
26
27
36
36
38
38
39
40
41
43
44
44
47
47
49
51
52
57
58
6
23
Census
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
29
33
33
36
38
43
43
43
43
43
44
49
50
50
54
54
61
63
22
22
29
30
33
33
34
41
43
43
43
44
45
48
49
50
51
52
61
64
13
16
17
36
38
38
38
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
38
38
39
45
49
50
50
54
57
59
61
61
68
9
14
27
27
40
41
43
43
44
52
52
54
54
58
59
61
61
68
78
79
23
26
26
27
33
33
33
33
38
40
45
47
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
49
51
54
57
57
58
59
66
30
33
38
38
40
40
47
49
49
52
52
54
54
54
54
56
58
58
69
75
13
14
24
33
36
38
40
41
42
42
44
45
47
47
51
51
54
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
57
60
68
24
27
38
38
38
40
40
42
42
42
43
43
43
55
55
56
56
58
59
61
11
15
18
29
29
29
34
39
41
50
55
57
57
58
59
59
60
60
61
77
5
17
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
18
30
30
38
40
42
44
47
50
51
54
55
57
58
58
61
64
72
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0.010
0.015
D ensity
30
0.005
20
0.000
10
0
frequency
40
0.020
50
0.025
60
0.030
par(mfrow=c(1,2))
20
40
Time
60
80
20
40
Time
60
80
arkgray"))
40
Time
60
80
par(mfrow=c(2,2))
plot.legend=c("Weibull","gamma","lognormal")
denscomp(list(fitW,fitG,fitLN), legendtext = plot.legend)
qqcomp(list(fitW,fitG,fitLN), legendtext = plot.legend)
cdfcomp(list(fitW,fitG,fitLN), legendtext = plot.legend)
ppcomp(list(fitW,fitG,fitLN), legendtext = plot.legend)
aa <- gofstat(list(fitW,fitG,fitLN),fitnames=c("Weibull","Gamm
aa
# Estimacin de la precisin de los estimadores de los parm
bendo.B <- bootdist(fitW, niter = 1001)
summary(bendo.B)
INSECTOS EN HEMBRA
SALIDA
> fitW
Fitting of the distribution ' weibull ' by maximum likelihood
Parameters:
estimate Std. Error
shape 3.449477 0.1798644
scale 48.655912 0.9520428
> fitG
Fitting of the distribution ' gamma ' by maximum likelihood
Parameters:
estimate Std. Error
shape 6.7359975 0.6000813
rate 0.1536546 0.0142109
> fitLN
Gamma Log-Normal
SI CON LA GRAFICA
Goodness-of-fit criteria
Weibull Gamma Log-Normal
Aikake's Information Criterion 1966.340 2017.343 2070.193
Bayesian Information Criterion 1973.301 2024.304 2077.155
> bendo.B <- bootdist(fitW, niter = 1001)
> summary(bendo.B)
Parametric bootstrap medians and 95% percentile CI
Median
2.5%
97.5%
shape 3.460086 3.161513 3.822778
scale 48.619430 46.741629 50.429733
par(mfrow=c(2,2))
plot.legend=c("Weibull","gamma","lognormal","normal")
denscomp(list(fitW,fitG,fitLN,fitN), legendtext = plot.legend)
qqcomp(list(fitW,fitG,fitLN,fitN), legendtext = plot.legend)
cdfcomp(list(fitW,fitG,fitLN,fitN), legendtext = plot.legend)
ppcomp(list(fitW,fitG,fitLN,fitN), legendtext = plot.legend)
aa <- gofstat(list(fitW,fitG,fitLN,fitN),fitnames=c("Weibull","Ga
aa
# Estimacin de la precisin de los estimadores de los parm
bendo.B <- bootdist(fitW, niter = 1001)
summary(bendo.B)
SALIDA
> fitW
Fitting of the distribution ' weibull ' by maximum likelihood
Parameters:
estimate Std. Error
shape 3.449477 0.1798644
scale 48.655912 0.9520428
> fitG
Fitting of the distribution ' gamma ' by maximum likelihood
Parameters:
estimate Std. Error
shape 6.7359975 0.6000813
rate 0.1536546 0.0142109
> fitLN
Fitting of the distribution ' lnorm ' by maximum likelihood
Parameters:
estimate Std. Error
meanlog 3.7044076 0.02846455
sdlog 0.4409709 0.02012701
> par(mfrow=c(2,2))
> plot.legend=c("Weibull","gamma","lognormal")
> par(mfrow=c(2,2))
> plot.legend=c("Weibull","gamma","lognormal")
> denscomp(list(fitW,fitG,fitLN), legendtext = plot.legend)
> aa
Goodness-of-fit statistics
Weibull
Gamma Log-Normal
Kolmogorov-Smirnov statistic 0.09289774 0.1541013 0.1856
Cramer-von Mises statistic 0.25433970 1.0255177 1.705491
Anderson-Darling statistic 1.76421794 6.0622146 9.879467
Goodness-of-fit criteria
Weibull Gamma Log-Normal
Aikake's Information Criterion 1966.340 2017.343 2070.193
Bayesian Information Criterion 1973.301 2024.304 2077.155
> bendo.B <- bootdist(fitW, niter = 1001)
> summary(bendo.B)
Parametric bootstrap medians and 95% percentile CI
Median
2.5%
97.5%
shape 3.460086 3.161513 3.822778
scale 48.619430 46.741629 50.429733
> fitN=fitdist(Dataset$Time,method="mle","norm")
> fitN
Fitting of the distribution ' norm ' by maximum likelihood
Parameters:
estimate Std. Error
mean 43.83750 0.9255504
sd 14.33856 0.6544629
> par(mfrow=c(2,2))
> plot.legend=c("Weibull","gamma","lognormal","normal")
> aa
Goodness-of-fit statistics
Weibull
Gamma Log-Normal
Normal
Kolmogorov-Smirnov statistic 0.09289774 0.1541013 0.1856
Cramer-von Mises statistic 0.25433970 1.0255177 1.705491
Anderson-Darling statistic 1.76421794 6.0622146 9.879467
Goodness-of-fit criteria
Weibull Gamma Log-Normal Normal
Aikake's Information Criterion 1966.340 2017.343 2070.193
Bayesian Information Criterion 1973.301 2024.304 2077.155
> bendo.B <- bootdist(fitW, niter = 1001)
> bendo.B <- bootdist(fitW, niter = 1001)
R SCRIPT
SALIDA
> bendo.B <- bootdist(fitW, niter = 1001)
> summary(bendo.B)
Parametric bootstrap medians and 95% percentile CI
Median
2.5%
97.5%
shape 3.466345 3.133438 3.835507
scale 48.654392 46.752201 50.519545
hod="mle","weibull")
hod="mle","gamma")
thod="mle","lnorm")
ma","lognormal")
egendtext = plot.legend)
gendtext = plot.legend)
gendtext = plot.legend)
gendtext = plot.legend)
N),fitnames=c("Weibull","Gamma","Log-Normal"))
mma","lognormal")
mma","lognormal")
), legendtext = plot.legend)
egendtext = plot.legend)
legendtext = plot.legend)
egendtext = plot.legend)
LN),fitnames=c("Weibull","Gamma",
er = 1001)
er = 1001)
er = 1001)
er = 1001)
er = 1001)
LN),fitnames=c("Weibull","Gamma","Log-Normal"))
Gamma Log-Normal
Gamma Log-Normal
1966.340 2017.343 2070.193
1973.301 2024.304 2077.155
er = 1001)
hod="mle","weibull")
hod="mle","gamma")
thod="mle","lnorm")
hod="mle","norm")
ma","lognormal","normal")
N), legendtext = plot.legend)
, legendtext = plot.legend)
), legendtext = plot.legend)
, legendtext = plot.legend)
N,fitN),fitnames=c("Weibull","Gamma","Log-Normal","Normal"))
mma","lognormal")
mma","lognormal")
), legendtext = plot.legend)
egendtext = plot.legend)
legendtext = plot.legend)
egendtext = plot.legend)
LN),fitnames=c("Weibull","Gamma",
er = 1001)
er = 1001)
er = 1001)
er = 1001)
er = 1001)
LN),fitnames=c("Weibull","Gamma","Log-Normal"))
Gamma Log-Normal
0.09289774 0.1541013 0.1856111
25433970 1.0255177 1.7054912
6421794 6.0622146 9.8794676
Gamma Log-Normal
1966.340 2017.343 2070.193
1973.301 2024.304 2077.155
er = 1001)
ethod="mle","norm")
mma","lognormal","normal")
LN,fitN),fitnames=c("Weibull","Gamma","Log-Normal","Normal"))
LN,fitN),fitnames=c("Weibull","Gamma","Log-Normal","Normal"))
Gamma Log-Normal
Normal
0.09289774 0.1541013 0.1856111 0.08779368
25433970 1.0255177 1.7054912 0.23096432
6421794 6.0622146 9.8794676 1.50972934
er = 1001)
er = 1001)
er = 1001)
OBSERVACION si yo
necesito revisar los parametros estimados de los tipos de me
solo cambio el nombre
Treat
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
Sex
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
Time
28
29
36
36
40
40
45
45
45
49
51
52
54
56
56
57
61
61
72
75
34
36
38
41
47
50
50
51
52
52
54
56
56
58
58
61
70
70
82
83
33
36
38
41
Census
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
43
43
44
48
49
50
52
52
54
54
54
54
57
57
61
61
29
36
36
38
38
40
40
43
44
50
51
52
54
54
54
56
58
61
61
63
28
33
33
36
36
40
40
40
40
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
40
40
41
43
43
44
45
49
50
54
54
38
38
39
40
44
47
47
47
48
48
52
54
61
61
64
68
73
75
75
79
12
33
36
38
38
38
40
40
41
42
42
44
51
54
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
54
56
58
58
59
66
13
33
38
38
38
38
39
40
41
47
48
52
52
54
54
54
58
61
76
110
38
38
40
40
41
42
50
54
54
56
56
58
58
61
63
64
71
77
79
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
86
26
38
40
41
42
43
43
43
44
48
54
54
55
56
56
58
61
61
75
89
29
34
37
37
39
41
41
46
48
49
50
51
52
52
53
60
61
65
87
87
13
18
24
33
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
36
38
44
49
50
51
52
52
52
58
58
59
64
64
69
71
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
INSECTOS MACHOS
library(fitdistrplus)
fitW=fitdist(Dataset$Time,method="mle","weibull")
fitG=fitdist(Dataset$Time,method="mle","gamma")
fitLN=fitdist(Dataset$Time,method="mle","lnorm")
fitN=fitdist(Dataset$Time,method="mle","norm")
par(mfrow=c(2,2))
plot.legend=c("Weibull","gamma","lognormal","normal")
denscomp(list(fitW,fitG,fitLN,fitN), legendtext = plot.legend)
qqcomp(list(fitW,fitG,fitLN,fitN), legendtext = plot.legend)
cdfcomp(list(fitW,fitG,fitLN,fitN), legendtext = plot.legend)
ppcomp(list(fitW,fitG,fitLN,fitN), legendtext = plot.legend)
aa <- gofstat(list(fitW,fitG,fitLN,fitN),fitnames=c("Weibull","Gamma","Log-Normal","Normal"))
aa
# Estimacin de la precisin de los estimadores de los parmetros.
bendo.B <- bootdist(fitLN, niter = 1001)
summary(bendo.B)
SALIDA
> library(fitdistrplus)
> fitW=fitdist(Dataset$Time,method="mle","weibull")
> fitG=fitdist(Dataset$Time,method="mle","gamma")
> fitLN=fitdist(Dataset$Time,method="mle","lnorm")
> fitN=fitdist(Dataset$Time,method="mle","norm")
> fitW
Fitting of the distribution ' weibull ' by maximum likelihood
Parameters:
Goodness-of-fit criteria
Weibull Gamma Log-Normal Normal
Aikake's Information Criterion 1955.092 1940.853 1957.625 1941.488
Bayesian Information Criterion 1962.053 1947.814 1964.586 1948.450
> summary(bendo.B)
Parametric bootstrap medians and 95% percentile CI
Median
2.5%
97.5%
meanlog 3.7054344 3.6511986 3.7558606
sdlog 0.4391968 0.4003697 0.4774777
og-Normal","Normal"))
,"Log-Normal","Normal"))
BASE DE DATOS
Treat
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
Sex
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
Time
5
19
19
20
21
26
38
40
40
40
45
49
49
52
52
54
54
54
58
61
17
26
27
36
36
38
38
39
40
41
43
44
44
47
47
49
51
52
57
Census
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
58
6
23
29
33
33
36
38
43
43
43
43
43
44
49
50
50
54
54
61
63
22
22
29
30
33
33
34
41
43
43
43
44
45
48
49
50
51
52
61
64
13
16
17
36
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
38
38
38
38
38
39
45
49
50
50
54
57
59
61
61
68
9
14
27
27
40
41
43
43
44
52
52
54
54
58
59
61
61
68
78
79
23
26
26
27
33
33
33
33
38
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
40
45
47
49
51
54
57
57
58
59
66
30
33
38
38
40
40
47
49
49
52
52
54
54
54
54
56
58
58
69
75
13
14
24
33
36
38
40
41
42
42
44
45
47
47
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
51
51
54
57
60
68
24
27
38
38
38
40
40
42
42
42
43
43
43
55
55
56
56
58
59
61
11
15
18
29
29
29
34
39
41
50
55
57
57
58
59
59
60
60
61
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
77
5
17
18
30
30
38
40
42
44
47
50
51
54
55
57
58
58
61
64
72
28
29
36
36
40
40
45
45
45
49
51
52
54
56
56
57
61
61
72
75
34
36
38
41
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
47
50
50
51
52
52
54
56
56
58
58
61
70
70
82
83
33
36
38
41
43
43
44
48
49
50
52
52
54
54
54
54
57
57
61
61
29
36
36
38
38
40
40
43
44
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
50
51
52
54
54
54
56
58
61
61
63
28
33
33
36
36
40
40
40
40
40
40
41
43
43
44
45
49
50
54
54
38
38
39
40
44
47
47
47
48
48
52
54
61
61
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
64
68
73
75
75
79
12
33
36
38
38
38
40
40
41
42
42
44
51
54
54
56
58
58
59
66
13
33
38
38
38
38
39
40
41
47
48
52
52
54
54
54
58
61
76
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
110
38
38
40
40
41
42
50
54
54
56
56
58
58
61
63
64
71
77
79
86
26
38
40
41
42
43
43
43
44
48
54
54
55
56
56
58
61
61
75
89
29
34
37
37
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
M
39
41
41
46
48
49
50
51
52
52
53
60
61
65
87
87
13
18
24
33
36
38
44
49
50
51
52
52
52
58
58
59
64
64
69
71
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
library(survival)
mosc.surv=survfit(Surv(Time,Census)~Sex,conf.type="none",data=Dataset)
plot(mosc.surv)
SALIDA
R SCRIPT
library(survival)
mosc.surv=survfit(Surv(Time,Census)~Sex,conf.type="none",data=Dataset)
plot(mosc.surv,xlab="Das",ylab="Sobrevivencia",lty=c(1,2),main="Grfica de Sobrevivencia", col=1:
legend(80,1.0,c("Hembra","Macho"),lty=c(1,2),col=1:2)
SALIDA
library(survival)
c("green","blue")
mosc.surv=survfit(Surv(Time,Census)~Sex,conf.type="none",data=Dataset)
plot(mosc.surv,xlab="Das",ylab="Sobrevivencia",lty=c(1,2),main="Grfica de Sobrevivencia", col=c(
legend(80,1.0,c("Hembra","Macho"),lty=c(1,2),col=c("green","blue"))
SALIDA
quantile(mosc.surv,probs=c(0.25,0.50,0.75),conf.int=TRUE)
SALIDA
> quantile(mosc.surv,probs=c(0.25,0.50,0.75),conf.int=TRUE)
25 50 75
Sex=H 36 44 54
Sex=M 40 50 57
obtendra que en el 25% murieron 36 moscas y 40 moscas machos
en el 50% de mi tiempo murieron 44 hembras y 50 machos
y en el 75% de mi tiempo (dias) murieron 54 hembras y 57 machos
lo que sigue es para comparar las curvas de sobrevivencia en r script debo agregar lo siguiente
aplicacin de una prueba formal para las curvas de sobrevivencia
R script
metodo moldelo proporcional de Coch
mosc.cox=coxph(Surv(Time,Census)~Sex,data=Dataset)
summary(mosc.cox)
salida
> mosc.cox=coxph(Surv(Time,Census)~Sex,data=Dataset)
> summary(mosc.cox)
Call:
coxph(formula = Surv(Time, Census) ~ Sex, data = Dataset)
n= 480, number of events= 480
coef exp(coef) se(coef)
z Pr(>|z|)
Sex[T.M] -0.34653 0.70714 0.09301 -3.726 0.000195 ***
--Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
exp(coef) exp(-coef) lower .95 upper .95
Sex[T.M] 0.7071
1.414 0.5893 0.8485
Concordance= 0.55 (se = 0.014 )
Rsquare= 0.028 (max possible= 1 )
Likelihood ratio test= 13.85 on 1 df, p=0.0001979 prueba de razon de verosimilitud
Wald test
= 13.88 on 1 df, p=0.0001949
prueba de wald, prueba asinttica
Score (logrank) test = 14.01 on 1 df, p=0.0001816 prueba logrank
PARA LA TAREA
library(survival)
c("green","blue")
mosc.surv=survfit(Surv(Time,Census)~Sex,conf.type="none",data=Dataset)
plot(mosc.surv,xlab="Das",ylab="Sobrevivencia",lty=c(1,2),main="Grfica de Sobrevivencia", col=c(
legend(80,1.0,c("Hembra","Macho"),lty=c(1,2),col=c("green","blue"))
quantile(mosc.surv,probs=c(0.25,0.50,0.75),conf.int=TRUE)
mosc.cox=coxph(Surv(Time,Census)~Sex,data=Dataset)
summary(mosc.cox)
de verosimilitud
prueba asinttica
sobreviven ms.
l_tger
46.4
39.6
35.8
28.4
31.8
33.6
31.4
27.1
30.2
31.0
33.1
29.3
39.8
28.1
29.6
27.1
28.6
28.6
33.5
27.3
30.0
27.2
35.6
31.8
34.2
32.2
28.4
27.5
30.4
34.1
30.1
31.2
36.9
32.3
34.3
30.5
29.6
27.3
30.2
29.2
30.4
R SCRIPT
xm <- mean(Dataset$l_tger)
s <- sd(Dataset$l_tger)
n <- length(Dataset$l_tger)
ttap <- qt(0.975,n-1)
lower <- xm-ttap*s/sqrt(n)
upper <- xm+ttap*s/sqrt(n)
lower;upper
SALIDA
> lower;upper
[1] 33.52142 con un promedio del 95% de confiabilidad
[1] 35.5971 el crecimiento de las raices
fuctua entre 33.5214 y 35.5971
en ese medio
46.0
35.4
35.9
41.0
30.2
31.6
27.8
30.0
40.0
32.3
28.2
36.1
29.7
29.8
42.5
41.2
38.2
37.7
28.0
39.9
36.3
39.3
32.6
39.4
31.4
36.0
41.9
39.4
35.9
44.9
40.7
41.3
33.7
42.1
44.4
34.9
44.5
29.2
32.2
46.4
44.5
35.4
38.1
31.3
30.8
42.5
32.8
40.3
29.8
30.8
27.8
40.3
35.5
37.4
44.6
33.4
32.1
39.8
44.2
44.5
31.3
41.9
32.3
29.6
36.1
31.1
32.5
onfiabilidad