Hello Statalist,
I want to create a variable in Stata that is all of the combinations, repetition, of the values of another variable which takes the values 1-718 (this can be numeric or string - it is not very relevant). So, for example, I want a variable that includes "1-2", "1-3"...."1-718", but does NOT include "2-1", "3-1",..."718-1", and so on.
Thanks in advance for any help!
-Andy
Related Posts with Creating all combinations of a series of numbers without repeats
interaction termsHi, Im trying to run a regression using interaction terms including a dummy, could some one help me…
Eventstudytools.com/barc/upload - duplicate entry errorHello reader, I am a beginner when it comes to data-analytics and I have been trying to conduct an …
Reverse each axis after -grqreg-Dear All, Applying the -qreg- command, I attempt to reverse the X- and Y-axis in the graphs compute…
How to interpret the coefficient of the variable that takes first difference?Panel data model. x takes first difference to become stationary. Then how to interpret the coefficie…
titles of factor variables in output of a regressionDear all, I am running an OLS regression using factor variable as a regressor: Code: reg punt_glob…
Subscribe to:
Post Comments (Atom)
0 Response to Creating all combinations of a series of numbers without repeats
Post a Comment