Good evening, everyone. I am having a question about using the ks.test function.
It's giving completely different results when I use ks.test specifying the probability distribution:
ks.test (amostra$x,"ppois",lambda=mean(amostra$x))
And comparing my sample of interest with a sample generated from rpois:
ks.test (amostra$x,rpois(length(amostra$x),mean(amostra$x)))
Could someone help me in this impasse, please?