Code: Select all
equation {%subcsavg}.ls(cov=hac) avgrets c betagCode: Select all
equation {%subcsavg}.ls(wgt=cxsur) avgrets c betagI don't know what to say
Moderators: EViews Gareth, EViews Moderator, EViews Esther
Code: Select all
equation {%subcsavg}.ls(cov=hac) avgrets c betagCode: Select all
equation {%subcsavg}.ls(wgt=cxsur) avgrets c betagLooks like the subroutine FMB is the part that does the calculations. The line:is the one that performs OLS and puts the row of coefficients into the matrix g. Just change that line to do whatever calculation you want, instead of OLS.Code: Select all
rowplace(g, @transpose(@inverse(@transpose(design) * design) * @transpose(design) * retvec), j)
They are betas from a second regression that use the betas from the first timeseries regression as regressors. See equation 4 in the documentation for more details.Also I have a question regarding the second table output from the add-in function, are the betas reported in table 2 average betas from the first regression?
Users browsing this forum: No registered users and 2 guests