Hi all
I want help in generating all the possible combinations using 20 variables(diseases) in STATA.
I want combinations of three variables. How will I do that?
These variables are binary in nature.
For example, I want to have a combination like c1+c2+c3 and if this adds to 3 then assign yes(=1) for this new variable of the combination
Please help.
Related Posts with Generating Disease Combinations
Merging Specific File Names onlyHello Everyone, Hope you all are doing well. I have this somewhat confusing query which I am tryin…
Plotting trends of a binary variable over timeHi all, I am working with pooled cross sectional data and after having done probit and marginal eff…
The rank of the differenced variance matrix does not equal the number of coefficients being testedHi there, I have a panel data and I want to do Hausman Test but it keeps on showing this note: . …
Question CEO Duality applying to whole firm in a yearHello everyone, For my thesis I have to investigate CEO Duality. CEO Duality is when the CEO of the…
Generate dummy variables if it is the same day / monthI would like to generate two dummy variables: "same_month" and "same_day". Basically, by id and grou…
Subscribe to:
Post Comments (Atom)
0 Response to Generating Disease Combinations
Post a Comment