[R] Null

Yuta Tamberg yutamberg at gmail.com
Thu May 5 17:15:38 CEST 2011


There were no problems when I repeated the test with data provided.
I simply created a vector
xxxx<-c(1.600972896,1.534026106,1.633468456,1.69019608,1.686636269,1.713490543,1.460897843,1.604226053,1.547774705,1.575187845,1.50242712,1.489958479,1.555094449,1.56937391,1.46686762,1.583198774,1.59439255,1.627365857,1.596597096,1.598790507,1.596597096,1.613841822,1.607455023,1.586587305,1.72427587,1.668385917,1.743509765,1.5774918,1.709269961,1.507855872,1.650307523,1.670245853,1.721810615,1.613841822,1.586587305,1.658011397,1.595496222,1.662757832,1.521138084,1.564666064,1.515873844,1.596597096,1.617000341,1.621176282,1.598790507,1.73479983,1.498310554,1.571708832,1.426511261,1.698970004,1.534026106,1.5774918,1.682145076,1.689308859,1.654176542,1.526339277,1.545307116,1.658964843,1.638489257,1.557507202,1.604226053,1.627365857,1.651278014,1.627365857,1.559906625,1.720159303,1.64738297,1.62324929,1.698970004,1.704150517,1.57863921,1.558708571,1.681241237,1.539076099,1.5132176)
and performed shapiro.test(xxxx) with following results:
W = 0.9876, p-value = 0.677
As far as I understand R, complete.cases has nothing to do with normality
check of single vector.

pcc wrote:
> 
> This is probably a very simple question but I am completely stumped!I am
> trying to do shapiro.wilk(x) test on a relatively small dataset(75) and
> each time my variable and keeps coming out as 'NULL' 


--
View this message in context: http://r.789695.n4.nabble.com/Null-tp3498261p3498607.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list