Dear Stata users,
My dataset has 776 variables in time-series format.
I am running the following code:
I need to obtain bootstrapped t-stat (with 500 replications) of mean stock return.
My problem is that current code setting is very time consuming. It took Stata 18 hrs to calculate t-stats for 176 variables. And I need to repeat this code over another 2328 variables.
Any idea how to incease prodactivity of this estimation? I may reshape data into panel format if it may help...
Thank you.
My dataset has 776 variables in time-series format.
I am running the following code:
forval i=1/776 {
regress var_MA22Return`i', vce(bootstrap, reps(500))
eststo var_MA22Return`i'
}
regress var_MA22Return`i', vce(bootstrap, reps(500))
eststo var_MA22Return`i'
}
My problem is that current code setting is very time consuming. It took Stata 18 hrs to calculate t-stats for 176 variables. And I need to repeat this code over another 2328 variables.
Any idea how to incease prodactivity of this estimation? I may reshape data into panel format if it may help...
Thank you.
Comment