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.
Related Posts with regress market model for a lot of variables and save the betas
weird characters of ChineseI have used the following codes to translate the Chiense characters in my dataset (attached). But it…
one year entry for each variableDear all, I'm having a problem with the shape of my data. It is formatted as follows: YEAR id1 i…
The meaning of matching under -psmatch2-Dear Statalisters, When pre-processing my data for a propensity score analysis I would like to make…
Problems lagging a variable with PPML estimatorDear all. I am trying to lag a variable with the PPML estimator through the command = L. The varia…
Interactive Year Fixed EffectsHello, I have a regression of the form: xtreg yvariable c.xvariable#i.year c.xvariable i.year `cont…
Subscribe to:
Post Comments (Atom)
0 Response to regress market model for a lot of variables and save the betas
Post a Comment