autos=read.

table("clipboard", header=TRUE, dec=",") #win
autos=read.table(pipe("pbpaste"), header=TRUE, dec=",")#Mac

head(autos)
attach(autos)
summary(V3)

## IC y TH para medias
t.test(V3, mu=70, alternative="two.sided", conf.level = 0.95)

library(TeachingDemos)

##IC y TH para variazas

sigma.test(V3, sigmasq = 250, alternative = "less", conf.level = 0.95)

var.test(V8[V9==0] , V8[V9==1])
t.test(V8[V9==0], V8[V9==1], var.equal=FALSE, paired=FALSE)

## Test de Normalidad
hist(V3)

qqnorm(V3)
qqline(V3, col="red")

ks.test(V3, "pnorm", mean(V3), sd(V3))

qqnorm(V4)
qqline(V4, col="red")

qqnorm(log(V4))
qqline(log(V4), col="red")

ks.test(V4, "pnorm", mean(V4), sd(V4))
ks.test(log(V4), "pnorm", mean(log(V4)), sd(log(V4)))