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.
________________________________
De: Allin Cottrell <cottrell(a)wfu.edu>
Enviado: miércoles, 7 de abril de 2021 13:16
Para: Gretl list <gretl-users(a)gretlml.univpm.it>
Asunto: [Gretl-users] Re: Storing model output summary
On Wed, 7 Apr 2021, Iago Varela wrote:
Sorry, I forgot to mention that I was making a script, this one in
particular:
https://gitlab.com/iagovar/gretl-logit-test
I was just looking for a way to automatically export the logit
summary to a txt.
Then try the "outfile" command:
outfile mymodel.txt
logit ...
end outfile
Allin
_______________________________________________
Gretl-users mailing list -- gretl-users(a)gretlml.univpm.it
To unsubscribe send an email to gretl-users-leave(a)gretlml.univpm.it
Website:
https://gretlml.univpm.it/postorius/lists/gretl-users.gretlml.univpm.it/