Default seeds in Stata -


i gather the stata manual on rng seed value seed 123456789 every time stata launched. questions are

  1. was way or default seed different in older versions (i'm particularly concerned version 8)
  2. is default sortseed 123456789?

to answer own questions:

going @ least version 8 default seed 123456789 nick cox points out in comments above doesn't mean versions of stata produce same sequence of random numbers based on seed because random number generator has changed on time.

the default sortseed seems 1001:

. query sortseed . di r(sortseed) 1001 

Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -