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.