Documentos de Académico
Documentos de Profesional
Documentos de Cultura
#INGRESO DE DATOS
#VECTOR
variable=c(2,3,5,6,7,3,2,4,5,6)
datos=read.delim("clipboard",header = TRUE)
time=scan()
0.27 0.17 0.17 0.16 0.13 0.24 0.29 0.24 0.14 0.16 0.12 0.16 0.21 0.17 0.18
#mediana
median(variable)
#Cuantiles
quantile(variable)
q1=quantile(variable,0.25)
q2=quantile(variable,0.50)
q3=quantile(variable,0.75)
#MEDIDAS DE DISPERSIÓN
#rango
r=max(variable)-min(variable)
#Rango intercuartílico
IQR(variable)
iqr=q3-q1
#Varianza
var(variable)
#desviación estándar
sd(variable)
#coeficiente de variación
cv=sd(variable)/mean(variable)
#MEDIDAS DE FORMA
#Asimetria
asimetria<-function(v1){
asimetria(variable)
#kurtosis
d9<-quantile(x,0.9)
d1<-quantile(x,0.1)
k=(0.5*(q3-q1))/(d9-d1)
k
#DATOS
ingreso<-scan()
50 140 175 270 430
50 150 180 280 450
80 150 185 285 460
80 150 190 290 500
90 150 190 295 510
90 150 195 350
90 150 250 350
95 150 250 365
130 160 250 370
140 170 250 395
time=scan()
0.27 0.17 0.17 0.16 0.13 0.24 0.29 0.24 0.14 0.16 0.12 0.16 0.21 0.17 0.18
escolaridad<-scan()
2 9 11 12 14
4 9 11 12 14
4 9 11 12
7 9 11 12
7 9 12 12
8 9 12 12
8 9 12 13
8 9 12 13
8 9 12 14
8 10 12 14
#ENLACE DE DATOS
https://docs.google.com/viewer?a=v&pid=sites&srcid=ZGVmYXVsdGRvbWFpbnxlc3RhZ
GlzdGljYXVub2ZjYXxneDoyMmExMDBiODc4N2EyOGEx