bug with CMLMT with only one parameter

Suppose there is only one parameter estimated, with bound constraints (no other constraints). Then line 606 of cmlmt.src will create np=1. By default, qp_a=nan. Then line s 1146-1147 (if scalmiss(qp_a); qp_a =  zeros(1,np-1)~1;) creates trouble "Argument out of range " because of zeros(1,np-1).

CMLMT2.0 has been released for several years. I paid for this, yet it is so disappointing! (I pinned down another serious bug a couple of years ago regarding MLE/QMLE robust covariance matrix; it appears that it is still there!)

 

1 Answer



0



What version of CMLMT to you have. The current version, 3.0.1, has the following for handling the single parameter model.

if scalmiss(qp_a);
if np > 1;
qp_a = zeros(1,np-1)~1;
else;
qp_a = 1;
endif;
qp_b = -1e256;
numeq = 0;
endif;

With regard to the QML bug you mentioned, could you pass on a more specific description to [email protected]? Thank you.

Your Answer

1 Answer

0

What version of CMLMT to you have. The current version, 3.0.1, has the following for handling the single parameter model.

if scalmiss(qp_a);
if np > 1;
qp_a = zeros(1,np-1)~1;
else;
qp_a = 1;
endif;
qp_b = -1e256;
numeq = 0;
endif;

With regard to the QML bug you mentioned, could you pass on a more specific description to [email protected]? Thank you.


You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.