Hi everyone,,

I'm not very pratical with this program and i'm trying to improve my skills.

I'm using about 600 financial funds with monthly returns and i need to regress the return for each funds with an index fund, and then save for every regression the Beta value because I need them later.

I know that i can't write the same code 600 times, the funds have the same initial letter so i thought to use

" foreach F* {
regress Rfunds Rindex "
}

or something similar but doesn't work.