Thanks for your reply.

I already know about this. I was talking about cases like

1/(1-b[4]) or b[2]/1-b[3] = k 

Thanks. 

On Wed, 23 Oct 2024 at 09:52, Artur T. <atecon@posteo.de> wrote:
Am 23.10.24 um 08:22 schrieb Riccardo (Jack) Lucchetti:
> On 23/10/2024 06:38, Olasehinde Timmy wrote:
>> I am sorry for jumping into this conversation.
>
> No problem!
>
>> Prof Sven, when are we going to have the non-linear wald test as
>> inbuilt routine in Gretl? I think this would be a good thing to have
>> on the subsequent release of the Gretl.
>
> It's already in, Timmy, and has been for some time. All you have to do
> is write a function with the restriction you want to test. For example:
>
> <hansl>
> open data4-1.gdt
> ols price const sqft bedrms baths
>
> function scalar my_restr(matrix b)
>      ret = b[4] - b[2]*b[3]
>      return ret
> end function
>
> restrict
>      rfunc = my_restr
> end restrict
> </hansl>


Nice, I've also added it here:

https://github.com/gretl-project/material-on-gretl/wiki/Statistics#non-linear-restrictions
_______________________________________________
Gretl-users mailing list -- gretl-users@gretlml.univpm.it
To unsubscribe send an email to gretl-users-leave@gretlml.univpm.it
Website: https://gretlml.univpm.it/postorius/lists/gretl-users.gretlml.univpm.it/