/usr/share/gretl/scripts/misc/camtriv.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 | # Replicate several count data models of doctor visits from
# A. C. Cameron and P. K. Trivedi, "Regression Analysis of
# Count Data" (Cambridge, 1998).
# See also http://cameron.econ.ucdavis.edu/racd/count.html
# and http://www.stanford.edu/~clint/bench/ for TSP results
open rac3d.gdt --quiet
list X = 0 SEX AGE AGESQ INCOME LEVYPLUS FREEPOOR FREEREPA \
ILLNESS ACTDAYS HSCORE CHCOND1 CHCOND2
# Poisson regression
poisson DVISITS X
# Negative binomial (model II)
negbin DVISITS X
# Negative binomial (model I)
negbin DVISITS X --model1
# ordered probit
probit DVISITS X
|