I am looking for a number or string that will be different in different runs of the same program. So far I can only think of using c(current_time) but that only changes once a minute. Is there a way to get the processid? That is what Stata uses for its temporary files but I don't see how to get it myself. The documentation for Stata random functions suggests saving the rng state, but that requires coordination across runs that I can't depend on. Any other suggestions?
Related Posts with Random seed needed
linear mixed modelsHi all, I am using linear mixed models (xtmixed) to analyse data from a randomized controlled trial.…
Predicted CEF values out of sample from npregress using the local constant optionHello, I am having trouble predicting specific CEF values using --npregress-- with the local consta…
reshape errorany way to do a reshape wide to long if there are duplicate id's? …
2019 Canadian Stata Conference - Banff, ABOn behalf of the scientific committee, I invite you to join us in Banff, Alberta, to discover new wa…
Append files (change variable type)Hello, I am reading my friend's STATA code, which is to append several data file. But before appen…
Subscribe to:
Post Comments (Atom)
0 Response to Random seed needed
Post a Comment