You are on page 1of 2

NEUROPSICOLOGIA

t<-c(21,46,23,34,25,33,28,33,15,25)
g<-c(20,45,23,34,25,34,28,34,12,25)
mean(t)
median(t)
sd(t)
var(t)

CORRELACION
cor(t,g)
plot(t,g)
cor.test(t,g)
split.screen(t)

intervalo de confianza Confidence Interval for a Correlation Coefficient


CIr(0.90, 284, level = 0.95)
0.8752980

0.9200175

coners=read.csv("F:/R SOFTWARE/coners.csv")
coners=read.csv("C:/Users/Advance/Desktop/coners.csv")
COMILLAS HACERLO EN R CONSOLA
alpha.cronbach(coners)

MUESTREO
# Instalacin y carga de samplingbook
> install.packages('samplingbook')

CUIDADO

PARA FRECUENCIA DE LA VARIABLE DIAGNSOTICO


summary(coners$diagnostico)
Table <- table(coners$diagnostico)
Table # counts for diagnostico
round(100*.Table/sum(.Table), 2) # percentages for diagnostic
SI TENGO UNA VARIABLE QUE ESTA EN FUNCION AL GRUPO SERIA:
Tapply(libras,grupo,shapiro.test)
Para muestras menores a 30
shapiro.test(coners$total)
PARA EL KS
AFECTADO POR DATOS EXTREMOS
Ks.test[stats]
ks.test(coners$total,"pnorm")
MEJOR QUE KS MAYOR A 30
lillie.test[nortest}
instalar library( nortest)
lillie.test(coners$total)

You might also like