Dear all,
How can I generate a column of numbers with an interval of 3?Just like the example,
Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input double var1
 1
 4
 7
10
13
16
19
22
25
28
31
34
37
40
end

. list

     +------+
     | var1 |
     |------|
  1. |    1 |
  2. |    4 |
  3. |    7 |
  4. |   10 |
  5. |   13 |
     |------|
  6. |   16 |
  7. |   19 |
  8. |   22 |
  9. |   25 |
 10. |   28 |
     |------|
 11. |   31 |
 12. |   34 |
 13. |   37 |
 14. |   40 |
     +------+