I Need A Dataset To Be Transposed Like
I Need A Dataset To Be Transposed Like
Query # 2:
The data consist of growth measurements for 3 girls and 2 boys at ages 8, 10, 12 and 14,where y1 is the
measurement at age 8, y2 at age 10 and so forth. The data also has the age variable.
id
sex
21
20
22
23
10
12
14
20
24
26
27
10
12
14
19
20
22
25
10
12
14
24
27
28
29
10
12
14
12
y1
22
01 F 21 8
01 F 20 10
01 F 22 12
01 F 23 14
04 F 20 8
.................
.................
12 M 25 14
y2
21
y3
23
y4
25
a1
a2
10
a3
12
a4
14