Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Luther Koch

    Welcome to Statalist.

    Please note that as discussed above, permutations are different than combinations. If you have 5 variables, each of which can take on one of two values, then you have 2^5 = 32 possible combinations, and permutations don't enter into the picture. This doesn't affect Carole's code, but should affect your expectations of the results.

    Comment


    • #17
      Thank you for helping me Carole! I apologize for not using dataex; I'll be sure to use it in the future.

      Comment


      • #18
        Oh, of course. Thank you kindly for setting me straight!

        Comment


        • #19
          Carole, your solution performed magnificently! Thank you once again! I am indebted.

          Comment


          • #20
            Hello,

            Could anyone help me to generate the data for a combination like the below:
            Block Question set A1 A2 A3 A4 A5 A6 A7 A8 A9
            1 1 1 -1 . . . . . . .
            1 1 1 . -1 . . . . . .
            1 1 1 . . -1 . . . . .
            1 1 1 . . . -1 . . . .
            There are 9 blocks and each block with 4 question sets. There are 9 alternatives (A1-A9) with combinations of two alternatives as best (-1) and worst (-1) while others are missing.

            Thank you in advance !!






            Comment

            Working...
            X