You're ignoring the working example I gave you, which is very simple.
Just give a filename as the argument to "outfile" (no buffer option)
then execute your logit command, do "end outfile", and you'll get a
plain text file containing the logit results.
Allin
On Wed, Apr 7, 2021 at 1:12 PM Iago Varela <iagovar@outlook.com> wrote:
>
> Hi, I've tried the following
>
> 1)
>
> # Running our logit model
>
> string logit_summary = ""
>
> outfile logit_summary.txt --buffer=logit_summary # Writing logit output into string var
> logit model_dependent model_regressors --p-values
> end outfile
>
> print logit_summary
>
> 2)
>
> # Running our logit model
>
> string logit_summary = ""
>
> outfile --buffer=logit_summary # Writing logit output into string var
> logit model_dependent model_regressors --p-values
> end outfile
>
> print logit_summary
>
> store model_summary.txt logit_summary
>
>
> Neither of two produce a file, although I can print the result in the second one.
_______________________________________________
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/