Announcement

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

  • can we order the variables after -egen- ?

    Code:
        egen progsvness=rowmean(techAdvt prodAdvt)
            order progsvness,a(prodAdvt)
    the code above is a little verbose, does -egen- command has similar function like -gen-
    Code:
    gen a=b,after(b)

  • #2
    No. Adding such an option to egen (not function, in this case) is a possibility for StataCorp. There would be need be some thought about how they might mesh with options of its constituent functions.

    Comment


    • #3
      Alright, Thanks Nick.

      Comment

      Working...
      X