Dear Stata Users,
I have the following question: I need to reshape a dataset using the reshape long command. The variables have the following name structure: caj01_04252010 where the term 01 refers to the number of the variable (I have 12 in total) and the sequence of numbers after "_" is a date (for this particular example we have 25-April_2010). Of course I have a unique id for each one of the subjects in the survey. The data was collected 3 times per month during 15 years (on the same days every month). The problem is that Stata is taking hours and hours to perform this task (reshape long), by now 10 hours and it has not finished and I don't know how much longer it is going to take.
10 hours ago I thought that, probably, it would be a good idea to split the job between two computers, so I divided the data set in four different subsets (caj01-caj03 in one subset, caj04-caj07 in another and so on) and made each computer to reshape two of those subsets (in order to merge those subsets later), however it did not work. Is there any advice about how to make Stata to work faster?
Thanks,
Diego
I have the following question: I need to reshape a dataset using the reshape long command. The variables have the following name structure: caj01_04252010 where the term 01 refers to the number of the variable (I have 12 in total) and the sequence of numbers after "_" is a date (for this particular example we have 25-April_2010). Of course I have a unique id for each one of the subjects in the survey. The data was collected 3 times per month during 15 years (on the same days every month). The problem is that Stata is taking hours and hours to perform this task (reshape long), by now 10 hours and it has not finished and I don't know how much longer it is going to take.
10 hours ago I thought that, probably, it would be a good idea to split the job between two computers, so I divided the data set in four different subsets (caj01-caj03 in one subset, caj04-caj07 in another and so on) and made each computer to reshape two of those subsets (in order to merge those subsets later), however it did not work. Is there any advice about how to make Stata to work faster?
Thanks,
Diego
Comment