DeSelectByName expects a string, not an array of strings, so try
oTrend.DeSelectByName("Trend_22", X_VAR, 0);
instead of
oTrend.DeSelectByName({"Trend_22"},X_VAR, 0);
Jurgen.
oxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxox
oxoxoxox 3rd OxMetrics user conference August 2005
oxoxoxox Cass Business School, London
oxoxoxox 17 August (afternoon) - 18 August (morning)
oxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxox
Dr Jurgen A Doornik
Nuffield College, Oxford OX1 1NF, UK
tel. UK: +44-1865-278610 fax +44-1865-278621
http://www.doornik.com
http://www.oxmetrics.net
oxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxox
Raushan Bokusheva wrote:
> Hi ox-users,
> can anybody help me and say what I am doing wrong de-selecting variables
> for an estimation (please see a cut from my program attached as an
> ox-file ). The program does not accept my de-selection commands.
> Or maybe somebody know a more intelligent solution for my problem: I
> would like to do a stepwise OLS estimation, i.e., my final model should
> contain only those variables which have statistically significant
> parameter estimates.
> Many thanks in advance,
> Raushan
>
> Institute of Agricultural Development in Central and Eastern Europe (IAMO)
> Theodor-Lieser-Str.2
> D-06120 Halle (Saale), Germany
> Tel.: +49 345 2928 134
> Fax: +49 345 2928 399
> e-mail: [log in to unmask] <mailto:[log in to unmask]>
> IAMO-homepage: www.iamo.de <http://www.iamo.de>
|