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

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -