Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. LCI = 1000 - 3*4^(1/2)
  2.  
  3. LCS = 1000 + 3*4/4^(1/2)
  4.  
  5. k = replicate(10000, (mean(rnorm(4, mean=1000, sd=4))))
  6.  
  7. k[k < LCI | k > LCS]
  8.  
  9. n = which(k %in% c(k[k < LCI | k > LCS]))
  10.  
  11. n[9]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement