Dear All,

I am trying to use the user written routine xtbcfe for bias corrected fixed effect estimation of a panel data model. I installed the routine and attempted to replicate the estimations suggested in the help file.

I got the following error message, which I cannot understand:

Code:
. xtbcfe n w wL1 k kL1 kL2 ys ysL1 ysL2, bciters(250) res(iid) ini(bi) lags(2)
command distinct is unrecognized
r(199);
Hence I installed distinct. Then I receive the following error:

Code:
 xtbcfe n w wL1 k kL1 kL2 ys ysL1 ysL2, bciters(250) res(iid) ini(bi) lags(2)
               bcfe_ub():  3499  mm_repeat() not found
                 <istmt>:     -  function returned error
r(3499);
As far as you know (if you know the routine), is there any bug in it?

Best

Dario