Dear forum,
I hope all is well for you all.
I'm currently a Master's student in Investment Banking. I'm currently in the process of writing my dissertation on the Fama and French Five-Factor model using the data provided on Kenneth French's website.
I have downloaded the GRS Test for Stata and successfully ran this through STATA and replicating the results as seen in F&F's 2015 paper.
I did a 25 portfolio test for a specific time period and the GRS test once again worked for me.
However, for a 32 portfolio test, I get the error:
ME2BM ambiguous abbreviation
r(111);
I have variables that begin with ME2BM, but no actual variable is with that specific name.
var list:
SMALLLoBMLoOP ME1BM1OP2 ME1BM1OP3 SMALLLoBMHiOP ME1BM2OP1 ME1BM2OP2 ME1BM2OP3 ME1BM2OP4 ME1BM3OP1 ME1BM3OP2 ME1BM3OP3 ME1BM3OP4 SMALLHiBMLoOP ME1BM4OP2 ME1BM4OP3 SMALLHiBMHiOP BIGLoBMLoOP ME2BM1OP2 ME2BM1OP3 BIGLoBMHiOP ME2BM2OP1 ME2BM2OP2 ME2BM2OP3 ME2BM2OP4 ME2BM3OP1 ME2BM3OP2 ME2BM3OP3 ME2BM3OP4 BIGHiBMLoOP ME2BM4OP2 ME2BM4OP3 BIGHiBMHiOP
My code is the following
version 12
capture log close
log using TableA_5_1963_1973, replace
set more off
clear all
import excel 32MEBMOP.xls, firstrow sheet("1963,07-1973,07")
grstest2 SMALLLoBMLoOP ME1BM1OP2 ME1BM1OP3 SMALLLoBMHiOP ME1BM2OP1 ME1BM2OP2 ME1BM2OP3 ME1BM2OP4 ME1BM3OP1 ME1BM3OP2 ME1BM3OP3 ME1BM3OP4 SMALLHiBMLoOP ME1BM4OP2 ME1BM4OP3 SMALLHiBMHiOP BIGLoBMLoOP ME2BM1OP2 ME2BM1OP3 BIGLoBMHiOP ME2BM2OP1 ME2BM2OP2 ME2BM2OP3 ME2BM2OP4 ME2BM3OP1 ME2BM3OP2 ME2BM3OP3 ME2BM3OP4 BIGHiBMLoOP ME2BM4OP2 ME2BM4OP3 BIGHiBMHiOP, flist(Mkt SMB HML)
I apologise if this post is scruffy, but i was hoping for some guidance that could help me fix the issue or find an alternative.
Kind regards,
Ross
I hope all is well for you all.
I'm currently a Master's student in Investment Banking. I'm currently in the process of writing my dissertation on the Fama and French Five-Factor model using the data provided on Kenneth French's website.
I have downloaded the GRS Test for Stata and successfully ran this through STATA and replicating the results as seen in F&F's 2015 paper.
I did a 25 portfolio test for a specific time period and the GRS test once again worked for me.
However, for a 32 portfolio test, I get the error:
ME2BM ambiguous abbreviation
r(111);
I have variables that begin with ME2BM, but no actual variable is with that specific name.
var list:
SMALLLoBMLoOP ME1BM1OP2 ME1BM1OP3 SMALLLoBMHiOP ME1BM2OP1 ME1BM2OP2 ME1BM2OP3 ME1BM2OP4 ME1BM3OP1 ME1BM3OP2 ME1BM3OP3 ME1BM3OP4 SMALLHiBMLoOP ME1BM4OP2 ME1BM4OP3 SMALLHiBMHiOP BIGLoBMLoOP ME2BM1OP2 ME2BM1OP3 BIGLoBMHiOP ME2BM2OP1 ME2BM2OP2 ME2BM2OP3 ME2BM2OP4 ME2BM3OP1 ME2BM3OP2 ME2BM3OP3 ME2BM3OP4 BIGHiBMLoOP ME2BM4OP2 ME2BM4OP3 BIGHiBMHiOP
My code is the following
version 12
capture log close
log using TableA_5_1963_1973, replace
set more off
clear all
import excel 32MEBMOP.xls, firstrow sheet("1963,07-1973,07")
grstest2 SMALLLoBMLoOP ME1BM1OP2 ME1BM1OP3 SMALLLoBMHiOP ME1BM2OP1 ME1BM2OP2 ME1BM2OP3 ME1BM2OP4 ME1BM3OP1 ME1BM3OP2 ME1BM3OP3 ME1BM3OP4 SMALLHiBMLoOP ME1BM4OP2 ME1BM4OP3 SMALLHiBMHiOP BIGLoBMLoOP ME2BM1OP2 ME2BM1OP3 BIGLoBMHiOP ME2BM2OP1 ME2BM2OP2 ME2BM2OP3 ME2BM2OP4 ME2BM3OP1 ME2BM3OP2 ME2BM3OP3 ME2BM3OP4 BIGHiBMLoOP ME2BM4OP2 ME2BM4OP3 BIGHiBMHiOP, flist(Mkt SMB HML)
I apologise if this post is scruffy, but i was hoping for some guidance that could help me fix the issue or find an alternative.
Kind regards,
Ross
Comment