Announcement

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

  • convert variables observations from thousands to millions

    Hello every one,

    All variables in my dataset are recorded in millions but two of them are recorded in thousands.

    are there any Stata code that convert a variable observations from thousands to millions.

    your support is very appreciated.

    Thanks

    Faisal

  • #2
    Maybe
    Code:
    replace thousands = thousands / 1000
    rename thousands millions

    Comment

    Working...
    X