Statistics, Data Science, Analytics, Business Intelligence, Machine Learning.
eyeball using the empirical rule of a standard normal. Only a few Pearson residuals should fall outside of (-2, 2) and very rarely should they fall outside of (-3,3). set.seed(123) x_val <- rnorm(100) y_poisson <- sapply( x_val, function(x) rpois(n = 1, lambda = exp(x)) ) y_negbin <- sapply( x_val,