Thank you Allin, It works fine now.
Best,
Artur

2015-01-31 22:08 GMT+01:00 Allin Cottrell <cottrell(a)wfu.edu>:

> On Fri, 30 Jan 2015, Artur Bala wrote:
>
>  As Jack suggested (some months ago) I use "catch" into a loop command in
>> order to skip cases where a biprobit estimation could not be provided.
>> My script looks like :
>>
>> *loop 200 --progressive*
>> *do some random sorting*
>> *catch biprobit y1 y2 const x1 ; const x2*
>> *err = $error*
>> *if !err*
>> *    do some stuff*
>> *else*
>> *    do nothing in particular*
>> *endif*
>> *endloop*
>>
>> This script used to work perfectly in an earlier version of gretl (by
>> mid-2014). The problem is that it doesn't work anymore and its execution
>> is
>> interrupted if the estimation procedure fails
>>
>
> Thanks for the report, Artur. I think this is now fixed in CVS and
> snapshots.
>
> Allin
>
> _______________________________________________
> Gretl-users mailing list
> Gretl-users(a)lists.wfu.edu
> http://lists.wfu.edu/mailman/listinfo/gretl-users
>
Thank you Allin, It works fine now.
Best,
Artur

2015-01-31 22:08 GMT+01:00 Allin Cottrell <cottr...@wfu.edu>:
On Fri, 30 Jan 2015, Artur Bala wrote:

As Jack suggested (some months ago) I use "catch" into a loop command in
order to skip cases where a biprobit estimation could not be provided.
My script looks like :

*loop 200 --progressive*
*do some random sorting*
*catch biprobit y1 y2 const x1 ; const x2*
*err = $error*
*if !err*
*    do some stuff*
*else*
*    do nothing in particular*
*endif*
*endloop*

This script used to work perfectly in an earlier version of gretl (by
mid-2014). The problem is that it doesn't work anymore and its execution is
interrupted if the estimation procedure fails

Thanks for the report, Artur. I think this is now fixed in CVS and snapshots.

Allin

_______________________________________________
Gretl-users mailing list
gretl-us...@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users

Reply via email to