Hello everyone, I am new to Stata and I cannot find the right code to solve my issue.

I have time series data and I want to use fund's returns as dependent variable and some factors as indipendent variables. Given the fact that I have hundreds of funds, I would lose a lot of time performing each regression manually. Is possible fixing the indipendent variables, performing the regression for each fund automatically and saving the output?

Thank you.

I have time series data and I want to use fund's returns as dependent variable and some factors as indipendent variables. Given the fact that I have hundreds of funds, I would lose a lot of time performing each regression manually. Is possible fixing the indipendent variables, performing the regression for each fund automatically and saving the output?

Thank you.

## Comment