R Program: Generate Data from Good and Bad Lots
{"Image DocumentName": "R Program: Generate Data from Good and Bad Lots", "Image ImageDescription": "mu0 = 100. mu1 = 9.8. sigma0 = sigma1 = p = 0.7. n = 90. k=5. x = matrix(0,n,k) for(i in 1:n){ u <- runif(1) if (u < p) x[i,] = rnorm(k, mu0, sigma0) # from good lot. else x[i,] = rnorm(k, mu1, sigma1) # from bad lot. } x.", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}