/usr/share/gretl/scripts/misc/oprobit.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 18 19 20 21 22 | # Use Ray Fair's extra-marital affairs data, as reproduced
# by William Greene
open greene22_2
# display the definitions of the variables
labels
# The variable 'Z8' is the self-rating of marriage:
# we subtract one to give a base of zero, mark the resulting
# variable as discrete, examine its frequency distribution,
# then relate it to gender (Z1) and age in years (Z2)
genr rat = Z8 - 1
discrete rat
freq rat
# ordered probit
probit rat 0 Z1 Z2
probit rat 0 Z1 Z2 --robust
# ordered logit
logit rat 0 Z1 Z2
logit rat 0 Z1 Z2 --robust
|