Skip to content
Prev 177361 / 398513 Next

rnorm() converted to daily

Ken-JP:
Yes, you?re doing something wrong.

While it is true? that rnorm(n, a, b) will give the same results as
rnorm(n, 0, 1) * b + a, it is *not* true that the above calculations
would return the same numbers. That?s the reason the the means 
differ.

? True in practice, but not documented as far as I can see, so you
  should not depend on it.