Announcement

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

  • Remove variable labels from all variable at once

    How to remove variable labels from all variable at once? Or duplicate variable names to variable labels for all variables?

  • #2
    I'd do this:
    Code:
    foreach v of varlist * {
       label var `v' ""
    }

    Comment


    • #3
      Also see: elabel (SSC).

      [R]emove variable labels from all variable at once
      Code:
      elabel variable (*) ("")

      [D]uplicate variable names to variable labels for all variables
      Code:
      unab all : *
      elabel variable (`all') (`all')
      Best
      Daniel

      Comment

      Working...
      X