Valid XHTML 1.0!                  

 

  Variable vARZ

 


R : Copyright 2004, The R Foundation for Statistical Computing
Version 2.0.1  (2004-11-15), ISBN 3-900051-07-0

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for a HTML browser interface to help.
Type 'q()' to quit R.

> nor <- read.dbf("z:/normal.dbf")
> varz <- nor$dbf[,1]
> summary(varz)
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
  34.02   38.05   39.59   39.62   41.17   44.98
>  shapiro.test(varz)

Shapiro-Wilk normality test
data:  varz
W = 0.9946, p-value = 0.2589

>  ks.test(varz,"pnorm",mean(varz),sd(varz))

One-sample Kolmogorov-Smirnov test
data:  varz
D = 0.0329, p-value = 0.8428
alternative hypothesis: two.sided

Warning message:
cannot compute correct p-values with ties in: ks.test(varz, "pnorm", mean(varz), sd(varz))
>

 

 

retour gH    Retour à la page principale de   (gH)