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
Marginsplot with catagorical variables on x axis - custom spacingI have a dataset where the outcome is binary (y), and a predictor variable is in the form of ordinal…
Collecting Confidence Intervals from regress using statsbyHi. I want to use statsby to collect the lower and upper limits of the 95% confidence interval of a …
coefplot using "meta-data"Hi all, (Relatively new STATA user here) I'm trying some interesting ways of visualizing my data and…
Hypothesis testing in StataHi, for my Thesis I investigate the effect of ESG scores on the financial performance of companies.…
Bootstrapping? - Comparing the within-subject treatment effect with the between-subject treatment effect (based on two other groups)Dear fellow Stata users, thank you very much for reading my post. I am currently working on an inte…
Subscribe to:
Post Comments (Atom)
0 Response to Creating all combinations of a series of numbers without repeats
Post a Comment