Guest User

Untitled

a guest
Dec 16th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.08 KB | None | 0 0
  1. n=10000
  2. Y=rnorm(n)
  3. X=cumsum(Y)
  4. NC=sum(X<0) #count of negative values in X
Add Comment
Please, Sign In to add comment