Hi. I need some help with tuple coding commands to do the following:
1) Create all possible combinations among 7 variables, with a minimum of 3 variables in a tuple.
2) I need to know/display the frequencies in each tuple
3) And then I need to add up all the counts of all the tuples into a new variable called poly. This poly variable should have as categories all the possible above tuples with their frequencies.
I've looked at all the communication threads on Statalist regarding this, but not able to get the codes to generate and view the frequencies correct.
Please help.
Maliha Ali
1) Create all possible combinations among 7 variables, with a minimum of 3 variables in a tuple.
2) I need to know/display the frequencies in each tuple
3) And then I need to add up all the counts of all the tuples into a new variable called poly. This poly variable should have as categories all the possible above tuples with their frequencies.
I've looked at all the communication threads on Statalist regarding this, but not able to get the codes to generate and view the frequencies correct.
Please help.
Maliha Ali
Comment