楼主: yancheng54
12497 57

新手问三个问题 [推广有奖]

41
yancheng54 发表于 2010-5-16 10:34:40
{xout,fout,gout,cout}=optmum(&lik_fcn,PRMTR_in);只问一下cout是啥意思

42
yancheng54 发表于 2010-5-16 10:35:22
似然值多少可以接受,有没有明确的范围

43
xuehe 发表于 2010-5-16 12:55:51
"==FINAL OUTPUT========================================================";

"initial values of prmtr is";
                  trans(prmtr_in)';
"==============================================================";
"code is--------";;cout;
"likelihood value is ";; -1*fout;
"Estimated parameters are:";
prm_fnl'; "  ";
xout';
output off;

44
xuehe 发表于 2010-5-16 13:07:48
The input value of Cout has no effect. The output value of Cout is a square matrix with the same number of rows as xin. The matrix Cout is an estimate of the covariance of the optimal value for x as an estimate of the true parameter vector.

45
xuehe 发表于 2010-5-16 13:09:09
Extended Least Squares
Syntax  relative(function y, function F, function dF, ...
         M, xin, xlow, xup, eps, maxstp, mitr, ...
         xout, vout, Rout, gout, lamout, Cout)  
See Also  nlsq , dnlsq  
http://www.omatrix.com/manual/relative.htm

46
xuehe 发表于 2010-5-16 13:11:02

47
xuehe 发表于 2010-5-16 13:13:40
36楼看,你数据没导入。你没有数据,还是原程序数据。INTr_s3.dta是输出数据。

48
xuehe 发表于 2010-5-16 13:15:35
论坛参考:
MLE的AP(1)的估计
本文来自: 人大经济论坛 详细出处参考:http://www.pinggu.org/bbs/viewth ... =1&from^^uid=9913

49
yancheng54 发表于 2010-5-21 17:10:20
厉害啊!
再问一个,如何看Gauss图。
即还是以这个例子来说,做出来的图,如何才能判断实在哪个时点发生了机制转换。还是在out文件里有。总不能一个一个得数吧

State-Space Models with Regime-Switching.rar
下载链接: https://bbs.pinggu.org/a-642804.html

4.79 KB

本附件包括:

  • INTr_s3.dta
  • INTR_S3.out
  • intr_s3.opt

50
xuehe 发表于 2010-5-21 22:12:56
DEFINE PARAMETERS
PR_TR=(PRMTR[1:2]|1-SUMC(PRMTR[1:2]))~
            (PRMTR[3:4]|1-SUMC(PRMTR[3:4]))~
            (PRMTR[5:6]|1-SUMC(PRMTR[5:6]));


           PHI=PRMTR[7:8,1];
           VAR=PRMTR[9:11,1];
           MU1=PRMTR[12,1];  @ recession, vs. boom@
           MU2=PRMTR[13,1];  @ recession, vs. boom@
           MU3=PRMTR[14,1];

           VAR_L=VAR[1,1]*S1T_MAT[.,COLS(S1T_MAT)] +
                 VAR[2,1]*S2T_MAT[.,COLS(S2T_MAT)] +
                 VAR[3,1]*S3T_MAT[.,COLS(S3T_MAT)];

           MU_MAT= MU1*S1T_MAT+
                   (MU2)*S2T_MAT+  (MU3)*S3T_MAT;

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-27 05:14