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
Test for assumptions of OLS and FEHi, I am making a diff-in-diff regression for the top ESG companies relative to the bottom ESG comp…
multinomial logistic regression using panel data - femlogit not workingDear all, I am trying to perform a multinomial logistic regression with fixed effects (I am working…
Control variablesHi, I have a question in regards control variables. I am making a diff-in-diff model to measure the…
How to save HR and 95%CI and P-value from Loops of cox regression from ten exposures on same outcome in a separate file (excel or dta)Hi, I am recently working on a project that requires me to calculate the HRs and 95%CI and p-value f…
Displaying regression output in results windowHi I am running a regression using IV including fixed effects (this variable takes around 1500 valu…
Subscribe to:
Post Comments (Atom)
0 Response to Random seed needed
Post a Comment