/usr/share/gretl/scripts/ps3-2.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 | # PS3.2, for Section 3.6 on changing units
open data3-1
ols price 0 sqft
# price in dollars
genr price2 = price*1000
# estimate new model
ols price2 0 sqft
# sqft in hundredths
genr sqft2 = sqft/100
# estimate new model
ols price 0 sqft2
# both units changed
ols price2 0 sqft2
|