Hi,
This might sound a bit silly but I just wanted to be sure.
If I am understanding the help file correctly, you should only use -set seed- once in your do file, even if you have two commands which use simulations in that do file, right? E.g. -sqreg, reps(#)- and -bsqreg, reps(#)-. Or do I need to set the seed before each command line?
Thanks in advance!
Related Posts with Question regarding -set seed-
Procedure to select the variable with values closest to the values to another variableIs there any automatic procedure in Stata to do the following: I have a fairly short time-series da…
Keeping most full observation in a hierarchyHi, I have a dataset that is a hierarchy set over a maximum of 4 levels where each row is a level i…
generating new variable based on date variableDear Stata community, I have a variable stored as dates in the Stata format i.e 01jul1993 (I conver…
How to generate a new variable to convert data of acres unit variable to hectares unit? (1 acre=0.4hectare)The variable on acres unit was a string variable. I encoded it and created a new numeric (float) var…
how to make new variable based on existing variable?Hello! I have this categorical variable "education" No education 0 High School 1 Collage 2 PhD 3 …
Subscribe to:
Post Comments (Atom)
0 Response to Question regarding -set seed-
Post a Comment