This file is indexed.

/usr/share/gretl/scripts/ps9-3.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
12
13
14
15
16
17
# PS9.3, for the LM test in Example 9.4 
open data4-7
ols chd 0 cig edfat spirits beer 
# save residuals 
genr ut=$uhat
# generate lag of ut 
genr ut1=ut(-1)
# print ut and ut1 to see how ut1 is internally stored 
print ut ut1
# suppress first obs. because ut1 is not defined for it 
smpl 1948 1980
# auxiliary regression for LM test 
ols ut 0 cig edfat spirits beer ut1
# compute nrsquare statistic 
genr LM = $nrsq
# compute pvalue for it 
pvalue X 1 LM