On Thu, Jan 19, 2023 at 4:19 AM Sven Schreiber
<sven.schrei...@fu-berlin.de> wrote:
>
> Am 19.01.2023 um 09:22 schrieb Marcin Błażejowski:
>
> Hi,
>
> when we perform tobit command with --guiet flag we sometimes get the 
> following message: "Warning: couldn't improve criterion (gradient = 
> 6.04477e-06)", which per se makes estimation not so quiet. So, the question 
> is: shall we leave current behavior or make 'tobit --quiet' really quiet?
>
> If the later, I wrote a simple patch which suppress any messages (attached). 
> Another possibility would be adding '--silent' flag, which I could do either?
>
> Personally I think that choosing "quiet" doesn't mean that I don't want to 
> see warning messages, so the current behavior is OK. "silent" could be a 
> possibility, but then I think we would have to do it for all estimators, not 
> just for tobit out of coincidence. Right now I think the guideline is more or 
> less that "silent" exists for tests and for system estimation (where even 
> quiet prints a little bit of regular output).
>
> I believe there's a workaround to really suppress all output: Wrap it in an 
> "outfile" block:
>
> string temp
>
> outfile  --buffer=temp
>
> tobit ...
>
> outfile end
>
> And simply discard the string. Admittedly not very elegant...

Or more efficiently:

outfile null
# do stuff silently
end outfile

Allin
_______________________________________________
Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it
To unsubscribe send an email to gretl-devel-le...@gretlml.univpm.it
Website: 
https://gretlml.univpm.it/postorius/lists/gretl-devel.gretlml.univpm.it/

Reply via email to