I am using the package OnlineStats (I am open to suggested other packages) to compute the mean, variance, skewness, and kurtosis of data.
The data is Array{Float64,1}.
The following works fine:
mean(data)
var(data)
but skewness and kurtosis throws an error:
skewness(data)
kurtosis(data)
The error I get is:
**MethodError: objects of type Array{Float64,2} are not callable**
**Use square brackets [] for indexing an Array.**
in top-level scope at [untitled:38](#)