Beek,
I think you'd have to calculate that yourself, but it should be pretty easy. Something
like this should work (assuming y is your dependent variable):
[model estimation, other stuff]
...
Rbarsq = 1-($nobs-1)/($nobs-rows($coeff))*($ess/var(y))
HTH,
PS
-----Original Message-----
From: gretl-users-bounces(a)lists.wfu.edu [mailto:gretl-users-bounces@lists.wfu.edu] On
Behalf Of Beek Pang
Sent: Tuesday, August 20, 2013 8:32 AM
To: gretl-users(a)lists.wfu.edu
Subject: [Gretl-users] Retrieving adjusted R-squared using the command line
Dear gretl community,
When using the gretl console, or a script, it is possible to use '$rsq' in order
to retrieve the value of the (according to the gretl documentation) UNadjusted R-squared
from the model output. This is convenient when using the --quiet option, for example.
My question now: Can the adjusted R-squared (which gretl usually also includes in model
output, where appropriate) also be retrieved, in a similar (using the $-accessor) or
another way?
Many thanks.
Kind regards
Beek
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users