/usr/share/gretl/scripts/ps3-3.inp is in gretl-common 2017d-3build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 | # PS3.3, for Annotated output in Table 3.3, Section 3.7
open data3-2
textplot exphlth income
ols exphlth const income
# copy residuals from uhat to ut
genr ut=$uhat
# copy predicted value from yhat to yt
genr yt=$yhat
print -o exphlth yt ut
|