File: kmenta.inp

package info (click to toggle)
gretl 2016d-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 48,620 kB
  • ctags: 22,779
  • sloc: ansic: 345,830; sh: 4,648; makefile: 2,712; xml: 570; perl: 364
file content (23 lines) | stat: -rw-r--r-- 597 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Replication of illustrative system of equations from
# J. Kmenta, "Elements of Econometrics", 2e, (University
# of Michigan Press, 1986).  
#
# The two endogenous variables were artificially generated 
# by Kmenta.  The other variables are taken from a study by 
# Girschik and Haavelmo (Econometrica, 1947)

open kmenta.gdt

Kmenta <- system
  equation Q 0 P D
  equation Q 0 P F A
  endog Q P
end system

estimate Kmenta method=ols
estimate Kmenta method=tsls
estimate Kmenta method=liml
estimate Kmenta method=3sls
estimate Kmenta method=3sls --iterate
estimate Kmenta method=fiml --verbose