/usr/share/gretl/scripts/ps6-4.inp is in gretl-common 1.9.14-2.
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 | # PS6.4, for Practice Problems 6.5 and 6.6 of Section 6.4
open data4-1
genr sqft2=sqft*sqft
# obtain logarithm of sqft
genr lsqft=log(sqft)
# Practice problem 6.5
ols price 0 sqft sqft2
# Practice problem 6.5
ols price 0 lsqft
# Practice problem 6.6
ols price 0 lsqft baths
|