File: kmenta.inp

package info (click to toggle)
gretl 2022c-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 59,552 kB
  • sloc: ansic: 409,074; sh: 4,449; makefile: 3,222; cpp: 2,777; xml: 599; perl: 364
file content (23 lines) | stat: -rw-r--r-- 597 bytes parent folder | download | duplicates (10)
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