Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. gen X = .
  2. replace X = 1 if Y >= 1 & Y <= 6
  3. replace X = 2 if Y >= 7 & Y <= 12
  4. replace X = 3 if Y >= 13 & Y <= 18
  5. replace X = 4 if Y >= 19 & Y <= 24
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement