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
How to rank value in each specific date of each firmsHi all, I have data as follow (from 04Jan2012 to 31Dec2021) Code: * Example generated by -dataex-. …
ivreghdfe's error: virtual Factor::drop_singletons() not foundDear Statalists, I'm trying to run ivreghdfe but run across an error that I failed to find any onli…
Help with ML ProgramHello, I am trying to define and estimate the parameters from a log likelihood function using minimu…
Flipping models, coefficients, number of observations and number of clusters with esttabHello everyone, Firstly, I am a Stata 14 user. I have a question regarding esttab command and flipp…
3 Dummy variables in panel dataHello everyone, I have a question since i need 3 dummy variables there must be always one dummy var…
Subscribe to:
Post Comments (Atom)
0 Response to Random seed needed
Post a Comment