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
Pooled cross section the best way to analyze non-panel longitudinal data?There are a bunch of datasets, e.g. world values survey, alcohol usage report etc which present good…
Launch of Cross Sectional Dependence Tests in StataHi Dear, Can you please tell me when or in which year and month Stata introduced cross sectional de…
Stacked bar chart using pre-aggregated census dataHello, I have a table of aggregated data that I downloaded from Census. The first three years of the…
Strategy for analyzing 90 observations with a dichotomous dependent variableDear statalisters, I am involved in a project analyzing the effect of Environmental Impact Assessme…
Non-typical periodicity in panel/time seriesWhen using tsset or xtset, there are a bunch of frequencies that are standard and can be set easily …
Subscribe to:
Post Comments (Atom)
0 Response to runiform function and r(N) scalar
Post a Comment