fmincon gmm function - how to define moment condition

3 visualizzazioni (ultimi 30 giorni)
NS
NS il 10 Ott 2018
Modificato: NS il 10 Ott 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.

Risposte (0)

Categorie

Scopri di più su Thermal Analysis in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by