using stata 13 I have set a seed value and using gen random=runiform() generated random numbers. When I used the same seed in stata 16 and used gen random=runiform() the resulting random numbers are different why so? when i opened the saved file (version 13) in stata 16 and tried gen random1=ran it gave same random numbers but gen random1=ran gave error in new window of stata 16.
Please advise.
Related Posts with random number generation
How to build a logic to test the validity of observations in Stata?Hi Statalisters, I am new to Stata and have some questions about data management. In the following…
How to evaluate the appropriateness of instruments with xtivreg?I need to estimate an instrumental variable model with GLS random-effects (RE) model: xtivreg, re T…
Grouping values within a variable?In a prior post I looked at https://www.statalist.org/forums/for...hin-a-variable I tried to derive …
reshape or stack?Dear All, I have this data set: Code: * Example generated by -dataex-. To install: ssc install data…
Identify excluded observations from mixedI'm working with longitudinal panel data and running models using the mixed command. In prepping the…
Subscribe to:
Post Comments (Atom)
0 Response to random number generation
Post a Comment