Empirical methods for microeconomic applications
Download
1 / 20

Empirical Methods for Microeconomic Applications - PowerPoint PPT Presentation


  • 91 Views
  • Uploaded on

Empirical Methods for Microeconomic Applications. William Greene Department of Economics Stern School of Business. Lab 5. Random Parameters and Latent Classes. Upload Your Project File. Commands for Random Parameters. Random Parameter Specifications.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Empirical Methods for Microeconomic Applications' - azana


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Empirical methods for microeconomic applications
Empirical Methods for Microeconomic Applications

William Greene

Department of Economics

Stern School of Business


Lab 5. Random Parameters and Latent Classes




Random parameter specifications
Random Parameter Specifications

All models in LIMDEP/NLOGIT may be fit with random parameters, with panel or cross sections. NLOGIT has more options (not shown here) than the more general cases.

Options for specifications

; FCN = name ( type ), name ( type ), …

Type is N = normal,

U = uniform,

L = lognormal (positive),

T = tent shaped distributions.

C = nonrandom (variance = 0 – only in NLOGIT)

Name is the name of a variable or parameter in the model orA_choice for ASCs (up to 8 characters). In the CLOGIT model, they are A_AIR A_TRAIN A_BUS.

; Correlated parameters (otherwise, independent)


Replicability
Replicability

Consecutive runs of the identical model give different results. Why? Different random draws.

Achieve replicability

(1) Use ;HALTON

(2) Set random number generator before each run with the same value.

CALC ; Ran( large odd number) $

(Setting the seed is not needed for ;Halton)


Random parameters models
Random Parameters Models

SETPANEL ; Group = id ; Pds = ti $

PROBIT ; Lhs = doctor

; Rhs = One,age,educ,income,female

; RPM ; Pts = 25 ; Halton ; Panel

; Fcn = one(N),educ(N) ; Correlated $

POISSON ; Lhs = Doctor

; Rhs = One,Educ,Age,Income,Hhkids

; Fcn = educ(N)

; Panel ; Pts=100 ; Halton

; Maxit = 25 $

And so on…


Saving individual expected values
Saving Individual Expected Values

SETPANEL ; Group = id ; Pds = ti $

PROBIT ; Lhs = doctor

; Rhs = One,age,educ,income,female

; RPM ; Pts = 25 ; Halton ; Panel

; Fcn = one(N),educ(N) ; Correlated

; Parameters

$



ad