- . webuse nlswork
- (National Longitudinal Survey. Young Women 14-26 years of age in 1968)
- r; t=1.37 15:12:24
- . xtset
- panel variable: idcode (unbalanced)
- time variable: year, 68 to 88, but with gaps
- delta: 1 unit
- r; t=0.03 15:12:32
- . r; t=0.31 15:12:50
- gen L_ttlexp=L.ttlexp
- variable ttlexp not found
- r(111); t=0.00 15:13:09
- . gen L_ttl_exp=L.ttl_exp
- (17643 missing values generated)
- r; t=0.02 15:13:20
- . list idcode year ttl_exp L_ttl_exp in 1/10
- +-------------------------------------+
- | idcode year ttl_exp L_ttl_~p |
- |-------------------------------------|
- 1. | 1 70 1.083333 . |
- 2. | 1 71 1.275641 1.083333 |
- 3. | 1 72 2.25641 1.275641 |
- 4. | 1 73 2.314102 2.25641 |
- 5. | 1 75 2.775641 . |
- |-------------------------------------|
- 6. | 1 77 3.775641 . |
- 7. | 1 78 3.852564 3.775641 |
- 8. | 1 80 5.294872 . |
- 9. | 1 83 5.294872 . |
- 10. | 1 85 7.160256 . |
- +-------------------------------------+
- r; t=0.00 15:13:48
- .