The following link contains the files used in this video: payhip.com/b/1RCTZ
@julian6706
8 ай бұрын
How did you obtain the HMl and SMB factor?
@thedatahall
8 ай бұрын
These are made using another code, i dint explained because this video was particularly related to fama macbeth
@thedatahall
8 ай бұрын
Please contact me at info@thedatahall.com
@julian6706
8 ай бұрын
@@thedatahall would you also like to make a video about these? :)
@thedatahall
8 ай бұрын
Yes its definitely on the to do list
@MiguelVanEs
3 ай бұрын
Thanks for the video. I was wondering how you should interpret the final coefficients you obtain after running both stages? Do the coefficients represent risk premia? or rather the effect on returns?
@di150899
Жыл бұрын
Great video!
@thedatahall
Жыл бұрын
Thanks
@flynndavies3544
5 ай бұрын
Great video, I was just wondering how you could alter the code to use Logit regressions instead?
@thedatahall
5 ай бұрын
You can try with statsby command, asreg will not work in this case.
@arsec42
4 ай бұрын
I was wondering if its possible to use this method to analyse the risk premium for a specific risk factor through time, and see if there is a signficant risk premium present in specific time periods. Is there a way to do this?
@thedatahall
4 ай бұрын
Theoretically we can use this technique but i have to look at some paper that might have done this kind of analysis. If you have paper of this kind please share
@rodrigomota3369
5 ай бұрын
@thedatahall Great explanation! I used the statsby command and I got the coefficients of the factors in the end but I wanted to know how can I obtain the r-squared or the adjusted r-squared in this first approach. Is it possible in the statsby approach or only in the other methods (asreg, xtfmb, etc)?
Fantastic video! I have a question about the Fama-French factors used in the model. How did you arrive at these variables that are different for each stock? When I download the factor data from Kenneth French they only vary across time and not assets (as they are calculated by comparing portfolio's). As you said that cross-sectionally invariant data is not usable I was wondering how you managed to arrive at cross-sectionally varying data.
@thedatahall
7 ай бұрын
Hi, i have the similar factors as on Kenneth french's website i.e they are time varient but same for each crossection. We applied the timeseries regression for each crossection and the generated coefficients are used in step 1 i.e crossectional regression models. Please feel free to email me (info@thedatahall.com) if there is still a confusion.
@arsec42
6 ай бұрын
I have a question regarding the xtset command used. When I use this command it gives me an error because my symbol variable is a string variable. How could I get around this? My symbol variable is a symbol stock ticker like you have in your example
@thedatahall
6 ай бұрын
Use the following command to generate an encoded variable for ur ticker Encode ticker, gen(e_ticker) Then do Xtset e_ticker date
@arsec42
6 ай бұрын
Thank you very much!@@thedatahall
@arsec42
6 ай бұрын
@@thedatahall After applying this solution I encountered a different error: "repeated time values within panel". My dataset is similar to yours with stock data across a set time period. How would I get around this?
@thedatahall
6 ай бұрын
Are you using the fama macbeth dataset? Can u re download and follow the steps in the video. The error tells u that there are duplicate values, generally we do following to resolve it Duplicates drop ticker date, force
@arsec42
6 ай бұрын
@@thedatahall I am using my own dataset. There are gaps in the Year variables. When I try to fill these using one of your other videos I also need to use xtset and get the same error. I do not quite understand how to eliminate the repeated time values error
@bilalanwar1191
11 ай бұрын
A very good tutorial but I'm still facing a problem with functions. My results do not match. I'm not sure what Im doing wrong
@thedatahall
11 ай бұрын
What results do not match? If you can email me the .dta file and the code u used at info@thedatahall.com and i will have a look.
@chrisjackowski591
11 ай бұрын
Hello, just wondering if you provide example.dta online? Thank you.
@thedatahall
11 ай бұрын
Sure, i usually add a link to the files in the description. But if in any article you do not find the link, please feel free to email me at info@thedatahall.com and i shall provide u the data and the do files.
Пікірлер: 30