r - Using the ks.test function to poisson distribution -


good night people. have question using ks.test function.

it giving different results when use ks.test specifying probability distribution:

ks.test (sample $ x, "ppois", lambda = mean (sample $ x)) 

and comparing sample of interest sample generated rpois:

ks.test (sample $ x, rpois (length (sample $ x), mean (sample $ x))) 

could me in deadlock, please?


Comments

Popular posts from this blog

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -