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
Exporting/displaying boottest resultsHi everyone, I am running a difference in differences regression with Panel data on Stata version 1…
Changing the line colour of panel data line plot according to an indicator variableDear forum, I have a set of longitudinal patient data representing patient id (subjid), time in stud…
Appending models using coefplotI would like to merge multiple models into the same series (crude/adjusted/further adjusted models) …
Survey Weights in the Construction of Adult Literacy RatesHi, I have household survey data from a country with the following variables: district ID (distid)…
suest alternative for panel dataHi, I have a panel GDP data for over 200 countries for the years 1990 to 2018, which I am reducing …
Subscribe to:
Post Comments (Atom)
0 Response to runiform function and r(N) scalar
Post a Comment