empirical methods for microeconomic applications
DESCRIPTION
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. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Empirical Methods for Microeconomic Applications](https://reader033.vdocument.in/reader033/viewer/2022042720/568156dc550346895dc4837a/html5/thumbnails/1.jpg)
Empirical Methods for Microeconomic Applications
William GreeneDepartment of EconomicsStern School of Business
![Page 2: Empirical Methods for Microeconomic Applications](https://reader033.vdocument.in/reader033/viewer/2022042720/568156dc550346895dc4837a/html5/thumbnails/2.jpg)
Lab 5. Random Parameters and Latent Classes
![Page 3: Empirical Methods for Microeconomic Applications](https://reader033.vdocument.in/reader033/viewer/2022042720/568156dc550346895dc4837a/html5/thumbnails/3.jpg)
Upload Your Project File
![Page 4: Empirical Methods for Microeconomic Applications](https://reader033.vdocument.in/reader033/viewer/2022042720/568156dc550346895dc4837a/html5/thumbnails/4.jpg)
Commands for Random Parameters
![Page 5: Empirical Methods for Microeconomic Applications](https://reader033.vdocument.in/reader033/viewer/2022042720/568156dc550346895dc4837a/html5/thumbnails/5.jpg)
Random Parameter SpecificationsAll 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 or
A_choice for ASCs (up to 8 characters). In the CLOGIT model, they are A_AIR A_TRAIN A_BUS.
; Correlated parameters (otherwise, independent)
![Page 6: Empirical Methods for Microeconomic Applications](https://reader033.vdocument.in/reader033/viewer/2022042720/568156dc550346895dc4837a/html5/thumbnails/6.jpg)
ReplicabilityConsecutive 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)
![Page 7: Empirical Methods for Microeconomic Applications](https://reader033.vdocument.in/reader033/viewer/2022042720/568156dc550346895dc4837a/html5/thumbnails/7.jpg)
Random Parameters ModelsSETPANEL ; 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…
![Page 8: Empirical Methods for Microeconomic Applications](https://reader033.vdocument.in/reader033/viewer/2022042720/568156dc550346895dc4837a/html5/thumbnails/8.jpg)
![Page 9: Empirical Methods for Microeconomic Applications](https://reader033.vdocument.in/reader033/viewer/2022042720/568156dc550346895dc4837a/html5/thumbnails/9.jpg)
![Page 10: Empirical Methods for Microeconomic Applications](https://reader033.vdocument.in/reader033/viewer/2022042720/568156dc550346895dc4837a/html5/thumbnails/10.jpg)
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$
![Page 11: Empirical Methods for Microeconomic Applications](https://reader033.vdocument.in/reader033/viewer/2022042720/568156dc550346895dc4837a/html5/thumbnails/11.jpg)
![Page 12: Empirical Methods for Microeconomic Applications](https://reader033.vdocument.in/reader033/viewer/2022042720/568156dc550346895dc4837a/html5/thumbnails/12.jpg)
![Page 13: Empirical Methods for Microeconomic Applications](https://reader033.vdocument.in/reader033/viewer/2022042720/568156dc550346895dc4837a/html5/thumbnails/13.jpg)
![Page 14: Empirical Methods for Microeconomic Applications](https://reader033.vdocument.in/reader033/viewer/2022042720/568156dc550346895dc4837a/html5/thumbnails/14.jpg)
![Page 15: Empirical Methods for Microeconomic Applications](https://reader033.vdocument.in/reader033/viewer/2022042720/568156dc550346895dc4837a/html5/thumbnails/15.jpg)
![Page 16: Empirical Methods for Microeconomic Applications](https://reader033.vdocument.in/reader033/viewer/2022042720/568156dc550346895dc4837a/html5/thumbnails/16.jpg)
Commands for Latent Class Models
![Page 17: Empirical Methods for Microeconomic Applications](https://reader033.vdocument.in/reader033/viewer/2022042720/568156dc550346895dc4837a/html5/thumbnails/17.jpg)
![Page 18: Empirical Methods for Microeconomic Applications](https://reader033.vdocument.in/reader033/viewer/2022042720/568156dc550346895dc4837a/html5/thumbnails/18.jpg)
![Page 19: Empirical Methods for Microeconomic Applications](https://reader033.vdocument.in/reader033/viewer/2022042720/568156dc550346895dc4837a/html5/thumbnails/19.jpg)
![Page 20: Empirical Methods for Microeconomic Applications](https://reader033.vdocument.in/reader033/viewer/2022042720/568156dc550346895dc4837a/html5/thumbnails/20.jpg)