I am very new to Stata and would like to write a loop code to open different files, run a regression, and then store the outputs into a results file.
Is this possible in Stata? I have previous experience with Matlab which works fine, but Matlab doesn't have the statistical test I want and therefore I need to learn Stata.
There are 195 files, three columns each, the name of each file is HS1 to HS195.
Please let me know what would be the simplest way to do this.
Thank you very much.
Is this possible in Stata? I have previous experience with Matlab which works fine, but Matlab doesn't have the statistical test I want and therefore I need to learn Stata.
There are 195 files, three columns each, the name of each file is HS1 to HS195.
Please let me know what would be the simplest way to do this.
Thank you very much.
Comment