I want to estimate a beta-pricing CAPM model using a portfolio of 12 assets. I want to use the GMM approach proposed by Cochrane (2005, page 241-243):
Array
Here is my command (I simplify it now to three assets):
gmm (ex1 - {alpha1} - {beta1}*mktrf1) /// 1st moment
(ex2 - {alpha2} - {beta2}*mktrf2 ) ///
(ex3 - {alpha3} - {beta3}*mktrf3) ///
((ex1 - {alpha1} - {beta1}*mktrf1)*mktrf1) /// 2st moment
((ex2 - {alpha2} - {beta2}*mktrf2)*mktrf2) ///
((ex3 - {alpha3} - {beta3}*mktrf3)*mktrf3) ///
(ex1 - {beta1}*{lambda}) /// 3st moment
(ex2 - {beta2}*{lambda}) ///
(ex3 - {beta3}*{lambda}) , instruments(mktrf1) winit(identity) igmm nocommonesample
And I always get the error message "could not calculate numerical derivatives -- flat or discontinuous region encountered".
I searched already for a solution, in the stata forum you get the answer to simplify the model. I tried this. Immediately, when I throw out the third moments, it works! But I need of course the third moment. Can anybody help me out here? Is something wrong with my code?
Related Posts with Estimation of CAPM (beta pricing model) with GMM
Reshaping matched panel dataHi I am working with a panel data of firms (BvDIDnumber/BvDIDnumber_U being the unique firm ID for …
Including a binned variable in an OLS regressionProblem solved, however I cannot delete my question.. …
Why GEE is marginal model and GLMM is conditional model?Hi, I‘m a beginner of GEE and GLMM. In recent day, I read some books and materials about GEE. In thi…
Propensity score matching - time variant treatmentDear all, I have a question about propensity score matching for a panel data file. The aim of my stu…
Unable to obtain marginal effects after cmclogitDear all, I am trying to run the postestimation command for marginal effects after an alternative s…
Subscribe to:
Post Comments (Atom)
0 Response to Estimation of CAPM (beta pricing model) with GMM
Post a Comment