Hello I have a question.
when I use extremevalues package, it show me "NaN create" message.
How to solve this?
sample code
y <- rlnorm(100)
y <- c(0.1min(y),y,10max(y))
K <- getOutliers(y,method="I",distribution="lognormal")
L <- getOutliers(y,method="II",distribution="lognormal")
par(mfrow=c(1,2))
outlierPlot(y,K,mode="qq")
outlierPlot(y,L,mode="residual")
I reference above code and then use my data. (change y value to my data(numeric))
But it is not work properly.
error code sample >>> ex) outlierPlot(y,K,mode="qq")
Error in while (par$residuals[i - 1] > par$limit[2] & i > tail(iLambda, :
missing value where TRUE/FALSE needed
In addition: Warning message:
In qlnorm(p, par$mu, par$sigma) : NaN was created.
Hello I have a question.
when I use extremevalues package, it show me "NaN create" message.
How to solve this?
sample code
y <- rlnorm(100)
y <- c(0.1min(y),y,10max(y))
K <- getOutliers(y,method="I",distribution="lognormal")
L <- getOutliers(y,method="II",distribution="lognormal")
par(mfrow=c(1,2))
outlierPlot(y,K,mode="qq")
outlierPlot(y,L,mode="residual")
I reference above code and then use my data. (change y value to my data(numeric))
But it is not work properly.
error code sample >>> ex) outlierPlot(y,K,mode="qq")
Error in while (par$residuals[i - 1] > par$limit[2] & i > tail(iLambda, :
missing value where TRUE/FALSE needed
In addition: Warning message:
In qlnorm(p, par$mu, par$sigma) : NaN was created.