Displaying 1 result from an estimated 1 matches for "m45jvl3zmyzlhrvrhrurzbvk".
2013 Feb 13
2
e1071::skewness and psych::skew return NaN
Hello everyone,
Does anyone know what would cause the skewness() function (from
e1071), as well as skew() from psych, to return a value of NaN?
I have a vector of positively-skewed data
(https://docs.google.com/file/d/0B6-m45Jvl3ZmYzlHRVRHRURzbVk/edit?usp=sharing)
which these functions return a value for like normal:
> skewness( data ) # returns 1.400405
but when I instead give those functions the log-transformed data they return NaN
> skewness( log( data ) ) #returns NaN
The same occurs when I feed the function data transformed b...