On Wed, 30 Jan 2013, Clive Nicholas wrote: [ in response to http://lists.wfu.edu/pipermail/gretl-users/2013-January/008536.html ] > > Thank you for this: it did indeed work for the example you gave (including > Jack's later correction). > > However, when I ran this for my own (unbalanced) panel dataset (N=47, T-36, > NT=823), -gretl- choked:
Some of your regressors have been dropped as redundant, so the list X that you gave on input does not match in dimension the coefficient vector. In this case you can use the accessor $xlist to get the list of actually included regressors (but you have to remove the constant): <hansl> series ai = $ahat series Xb = lincomb($xlist - const, $coeff[2:]) corr ai Xb </hansl> Allin Cottrell
