This file is indexed.

/usr/share/gretl/scripts/ps7-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
# PS7.1 for example in Section 7.1
open data7-1
ols WAGE 0 D
genr n=$T
genr nm=sum(D)
genr wall=sum(WAGE)
genr wbar=wall/n
genr nf=n-nm
genr wm=sum(WAGE*D)
genr mbar=wm/nm
genr wf=sum(WAGE*(1-D))
genr fbar=wf/nf
print wbar nm mbar nf fbar