fmincon gmm function - how to define moment condition

7 views (last 30 days)
NS
NS on 10 Oct 2018
Edited: NS on 10 Oct 2018
I have 3 price series and three moment condtions from which i need to estimate sigma2, alpha,psi and omega using GMM. I have calculated Gamma matrices G0,G1,G2. Kindly help me in using fmincon gmm function?
MOMENT CONDITIONS ARE -
1. To calculate sigmasq , the moment condition is GLR= G0+G1+G1'+G2+G2'= sigmasq*1*1'
2. To calculate alpha , the moment condition is DG=G1'-G1+2(G2'-G2) = sigmasq(alpha*1'-1*alpha') this identifies alpha upto a translation along unit vector.
3. After calculating sigmasq and alpha, omega is calculated by G1'+G1+2(G2'+G2) = -sigmasq(alpha*1'-1*alpha'+2*alpha*alpha')-omega-G2*omega^-1*G2'
4. For psi , the moment condition is G2= -psi*omega
Kindly help me to formulate moment function for these three to calculate parameters using gmm.

Answers (0)

Categories

Find more on Thermal Analysis in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!