Hi,

I am trying to use the runiform function to randomally select 1/3 of the observations. Unfortunately, it seems that the use of the function affects unrelated results.
For example, look at this picture:

Array

As you can see, I am writing the exact same sum command in lines 19 and 25. These are the results of the return list:

Array

The return lists are totally different, even though this is the same sum command, and even though the ruinform command is not related in any way to the summed variable.
Does anyone knows what may causes this?

Thanks,
Nir.