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.
Related Posts with runiform function and r(N) scalar
About period setting in DID model according to exogenous shock date.Hello, Although I searched into the forum could not find a proper answer about setting a research p…
Failure to define a new scalar in a if clauseDear Statalist community I´ve encountered a wierd situation today: failing to define a new scalar. …
Heckman AS IV?Dear all, I am interested in estimating Y = A + B1*X1 + B2*X2 + B3*X3 + EPS. I am not worried that …
Principal Component Analysis selecting country and questions under conditionsHello dear statalisters, I am working with the World Value Survey that have several questions for d…
Cox Hazard different starting points and year dummiesHey I am investigating the effects of different investor types (A, B and C) on the failure rate of…
Subscribe to:
Post Comments (Atom)
0 Response to runiform function and r(N) scalar
Post a Comment