/usr/share/gretl/scripts/ps6-1.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 10 11 12 13 | # PS6.1 for Example 6.1
open data4-1
logs sqft bedrms baths
# learn about the logs command
help logs
# "best" linear model
ols price 0 sqft
# estimate linear-log model
ols price 0 l_sqft l_bedrms l_baths
# omit l_baths
omit l_baths
# omit l_bedrms also
omit l_bedrms
|