Hello Listers
i want to make a mock dataset
i would like to generate 2 integers at random
1) either 0 or 1
2) between 18-99
3) either 0 or 1 but at a ratio of 5 to 1
thank you.
best
lars
Related Posts with Generate random integers
Filling in missing Data in time-series using interpolationI have a database on Size and Return for every day in a year. It looks like this: Day Return Size 1…
stcox and stcrregHi guys: I have a question regarding stcox and stcrreg. i try to find how does the independent varia…
Destring dates turns no resultHello I am trying to destring a number of daily dates using Code: gen time= date(days, "DMY") form…
Reshaping and Transposing Data in StataDear Stata Users: I have the following table in STATA. The problem is all the data is in one row. I …
Wald test for logistic regression - measuring whether a=bHi, I'm running logistic regressions. I'd like to know whether dependent variable a is (statistical…
Subscribe to:
Post Comments (Atom)
0 Response to Generate random integers
Post a Comment