search for: ascomb

Displaying 4 results from an estimated 4 matches for "ascomb".

Did you mean: ascom
2020 Oct 15
0
package(moments) issue
...t; moments::anscombe.test(c(2,2,2,2,2,2,2,2)) Error in if (pval > 1) pval <- 2 - pval : missing value where TRUE/FALSE needed You can use tryCatch() to return some special value where these errors occur. E.g., use tryCatch(anscombe.test(x), error=function(e) list(p.value=NA)) instead of ascombe.test (this assumes you will only look at p.value later - add other entries as needed.). -Bill On Thu, Oct 15, 2020 at 12:09 PM Sania Wadud <sania.wadud at gmail.com> wrote: > Hi all, > > While running the anscombe.test in R, I'm getting an error of *Error in if > (pval &gt...
2020 Oct 15
2
package(moments) issue
...2)) > Error in if (pval > 1) pval <- 2 - pval : > missing value where TRUE/FALSE needed > > You can use tryCatch() to return some special value where these errors > occur. E.g., use > > tryCatch(anscombe.test(x), error=function(e) list(p.value=NA)) > > instead of ascombe.test (this assumes you will only look at p.value later > - add other entries as needed.). > > -Bill > > On Thu, Oct 15, 2020 at 12:09 PM Sania Wadud <sania.wadud at gmail.com> > wrote: > >> Hi all, >> >> While running the anscombe.test in R, I'm get...
2020 Oct 15
2
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
2020 Oct 15
0
package(moments) issue
...1) pval <- 2 - pval : >> missing value where TRUE/FALSE needed >> >> You can use tryCatch() to return some special value where these errors >> occur. E.g., use >> >> tryCatch(anscombe.test(x), error=function(e) list(p.value=NA)) >> >> instead of ascombe.test (this assumes you will only look at p.value later >> - add other entries as needed.). >> >> -Bill >> >> On Thu, Oct 15, 2020 at 12:09 PM Sania Wadud <sania.wadud at gmail.com> >> wrote: >> >>> Hi all, >>> >>> While run...