Message-ID: <CAECzKZZp45dr30n7KX-33WQc4ODPB=HhLcGLPQ=A67Obv68nbA@mail.gmail.com>
Date: 2020-10-15T14:59:39Z
From: Sania Wadud
Subject: package(moments) issue
Hi all,
While running the anscombe.test in R, I'm getting an error of *Error in if
(pval > 1) pval <- 2 - pval : missing value where TRUE/FALSE needed* for a
few time series columns whereas for most of the series the function is
working fine. I have checked for those specific columns for missing values.
However, there is no NA/NAN value in the dataset.
I have also run kurtosis for those time series and I can get results. I
have noticed the same issue was reported in the following post for python
(scipy.stat) and the report mentions that there is a bug in moments package
in R. I was wondering whether the issue has been resolved.
https://github.com/scipy/scipy/issues/1950
Could anyone please help me with the error?
I look forward to hearing from you.
Regards,
Sania
[[alternative HTML version deleted]]