Announcement

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

  • sort, extract loop

    Hi, My dataset consist 200 months in columns (named as t1 to t200), 1000 ids in raw s. REQUIRED: (1) sort t1. ( 2) extract 1/175 of t4 and t7only. (3) repeat this process (200-6=194) times. Each process sorts column t, extracts 1/175 of column (t+3) and (t+6) and saves in a new file.
    How to write the .do-file? Thank you.
    PhD student.
Working...
X