Hello all,
I'm using Stata to clean and arrange the data.
I would like to "clone" some records, extract the values from some certain variables, in this case "Function 1, Function 2" and assign them into "Qty" variable of 2 new records
It's quite hard to explain by word, so I try to use below image to show the idea.
The yellow part will be the new records that expected to be added into the data.

I hope someone could hep!! really appreciated!
Quang.
I'm using Stata to clean and arrange the data.
I would like to "clone" some records, extract the values from some certain variables, in this case "Function 1, Function 2" and assign them into "Qty" variable of 2 new records
It's quite hard to explain by word, so I try to use below image to show the idea.
The yellow part will be the new records that expected to be added into the data.
I hope someone could hep!! really appreciated!
Quang.
Comment