triprobit and the GHK simulator: a short note Antoine Terracol∗

1

The trivariate probit

Consider three binary variables y1 , y2 and y3 , the trivariate probit model supposes that:  1 if Xβ + ε1 > 0 y1 = 0 otherwise  y2 =  y3 = with

1 if Zγ + ε2 > 0 0 otherwise

(1)

1 if W θ + ε3 > 0 0 otherwise



 ε1  ε2  → N (0, Σ) ε3

(2)

For identification reasons, the variances of the epsilons must equal 1. Evaluation of the likelihood function requires the computation of trivariate normal integrals. For example, the probability of observing (y1 = 0, y2 = 0, y3 = 0) is: Z

−Xβ

Z

−Zγ

Z

−W θ

Pr [y1 = 0, y2 = 0, y3 = 0] =

φ3 (ε1 , ε2 , ε3 , ρ12 ρ13 ρ23 ) dε3 dε2 dε1 −∞

−∞

(3)

−∞

where φ3 (.) is the trivariate normal p.d.f., and ρij is the correlation coefficient between εi and εj . While Stata provides commands to compute univariate and bivariate normal CDF (norm() and binorm()), no command is available for the trivariate case (as a matter of fact, numerical approximations perform poorly in computing high order integrals). The triprobit command uses the GHK (Geweke-Hajivassiliou-Keane) smooth recursive simulator to approximate these integrals ∗ TEAM, Universit´ e de Paris 1 et CNRS, 106-112 boulevard de l’Hˆ opital, 75647 Paris Cedex 13, France. Email: [email protected] I am very much indebted to Wolfgang Schwerdt who has provided numerous advices

1

2

The GHK simulator

Let us illustrate the GHK simulator in the trivariate case (generalization to higher orders is straightforward) We wish to evaluate Pr (ε1 < b1 , ε2 < b2 , ε3 < b3 ) (4) where (ε1 , ε2 , ε3 ) are normal random variables with covariance structure given in (2) Equation (4) can be rewritten as a product of conditional probabilities: Pr (ε1 < b1 ) Pr (ε2 < b2 |ε1 < b1 ) Pr (ε3 < b3 |ε1 < b1 , ε2 < b2 )

(5)

Let L be the lower triangular Cholesky decomposition of Σ, such that: LL0 = Σ:   l11 0 0 L =  l21 l22 0  l31 l32 l33 We get: 

  ε1 l11  ε2  =  l21 ε3 l31

0 l22 l32

  0 ν1 0   ν2  l33 ν3

(6)

where the νi are independent standard normal random variables such that V ar(ν) = I, where 0 0 ν = (ν1 , ν2 , ν3 ) . Note that V ar(ε) = LIL0 = LL0 = Σ; where ε = (ε1 , ε2 , ε3 ) By (6), we get:

ε1

= l11 ν1

ε2

= l21 ν1 + l22 ν2

ε3

= l31 ν1 + l32 ν2 + l33 ν3

Thus: Pr (ε1 < b1 ) = Pr (ν1 < b1 /l11 )

(7)

Pr (ε2 < b2 |ε1 < b1 ) = Pr (ν2 < (b2 − l21 ν1 ) /l22 |ν1 < b1 /l11 )

(8)

and

and Pr (ε3 < b3 |ε1 < b1 , ε2 < b2 ) = Pr (ν3 < (b3 − l31 ν1 − l32 ν2 ) /l33 |ν1 < b1 /l11 , ν2 < (b2 − l21 ν1 ) /l22 )

(9)

Since (ν1 , ν2 , ν3 ) are independent random variables, equation (4) can be expressed as a product of univariate CDF, but conditional on unobservables (the ν). Suppose now that we draw a random variable ν1∗ from a truncated standard normal density with upper truncation point of b1 /l11 , and another one, ν2∗ , from a standard normal density with upper truncation point of (b2 − l21 ν1∗ ) /l22 . These two random variables respect the conditioning events of equations (8) and (9). Equation (5) is then rewritten as:

2

Pr (ν1 < b1 /l11 ) Pr (ν2 < (b2 − l21 ν1∗ ) /l22 ) Pr (ν3 < (b3 − l31 ν1∗ − l32 ν2∗ ) /l33 )

(10)

The GHK simulator of (4) is the arithmetic mean of the probabilities given by (10) for D random draws of ν1∗ and ν2∗ : D X         f GHK = 1 Φ [b1 /l11 ] Φ b2 − l21 ν1∗d l22 Φ b3 − l31 ν1∗d − l32 ν2∗d l33 Pr D

(11)

d=1

where ν1∗d and ν2∗d are the d-th draw of ν1∗ and ν2∗ , and where Φ (.) is the univariate normal CDF. The simulated probability (11) is then plugged into the likelihood function, and standard maximisation techniques are used.

3

An example on artificial data

set obs 5000 local rho12=0.3 local rho13=-0.3 local rho23=0.3 drawnorm eps1 eps2 eps3 ,corr(1 , ‘rho12’ , ‘rho13’ \ /* */ ‘rho12’ , 1 , ‘rho23’ \ /* */ ‘rho13’ , ‘rho23’ , 1 ) drawnorm x1 x2 x3 x4 x5 x6 x7 x8 x9 gen y3=(1+x6+x7+x8+x9+eps3>0) gen y2=(1+x4+x5+x6+eps2>0) gen y1=(1+y2+y3+x1+x2+x3+eps1>0) /*note that y2 and y3 are endogenous*/ triprobit ( y1= y2 y3 x1 x2 x3)(y2= x4 x5 x6)(y3 = x6 x7 x8 x9) trivariate probit, GHK simulator, 25 draws Comparison log likelihood = -3876.3152 initial: log likelihood = -3876.3152 Iteration 5: log likelihood = -3838.0791 Number of obs Wald chi2(12) Prob > chi2

Log likelihood = -3838.0791

= = =

5000 3576.34 0.0000

-----------------------------------------------------------------------------| Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------y1 | y2 | .9232884 .0927705 9.95 0.000 .7414615 1.105115 y3 | .9222976 .0765911 12.04 0.000 .7721818 1.072413 x1 | 1.065994 .0470546 22.65 0.000 .9737688 1.158219 x2 | .991229 .0449885 22.03 0.000 .9030532 1.079405 3

x3 | 1.037427 .0453475 22.88 0.000 .9485477 1.126307 _cons | 1.085532 .0735326 14.76 0.000 .9414105 1.229653 -------------+---------------------------------------------------------------y2 | x4 | 1.000869 .0338369 29.58 0.000 .9345499 1.067188 x5 | .963295 .0340263 28.31 0.000 .8966047 1.029985 x6 | 1.066905 .0352755 30.24 0.000 .9977661 1.136044 _cons | 1.01315 .0314987 32.16 0.000 .9514141 1.074887 -------------+---------------------------------------------------------------y3 | x6 | 1.023065 .0353343 28.95 0.000 .9538105 1.092319 x7 | 1.023166 .0351069 29.14 0.000 .9543577 1.091974 x8 | 1.03172 .0347611 29.68 0.000 .9635901 1.099851 x9 | 1.017668 .0348807 29.18 0.000 .9493033 1.086033 _cons | 1.015376 .0326298 31.12 0.000 .951423 1.079329 -------------+---------------------------------------------------------------athrho12 | _cons | .1457736 .0471507 3.09 0.002 .05336 .2381872 -------------+---------------------------------------------------------------athrho13 | _cons | -.278662 .0546056 -5.10 0.000 -.385687 -.1716371 -------------+---------------------------------------------------------------athrho23 | _cons | .2598698 .0348018 7.47 0.000 .1916596 .32808 ----------------------------------------------------------------------------------------------------------------------------------------------------------rho12= .14474975 Std. Err.= .04616273 z= 3.1356413 Pr>|z|= .00171479 rho13= -.27166631 Std. Err.= .05057554 z= -5.3714955 Pr>|z|= 7.809e-08 rho23= .25417374 Std. Err.= .03255343 z= 7.8078952 Pr>|z|= 5.773e-15 -----------------------------------------------------------------------------LR test of rho12=rho13=rho23=0: chi2(3) = 76.472099 Prob > chi2 = 1.752e-16

4

triprobit and the GHK simulator: a short note

triprobit and the GHK simulator: a short note. Antoine Terracol∗. 1 The trivariate probit. Consider three binary variables y1, y2 and y3, the trivariate probit model supposes that: y1 = { 1 if Xβ + ε1 > 0. 0 otherwise y2 = { 1 if Zγ + ε2 > 0. 0 otherwise y3 = { 1 if Wθ + ε3 > 0. 0 otherwise. (1) with.. ε1 ε2 ε3.. → N (0, Σ). (2).

104KB Sizes 0 Downloads 155 Views

Recommend Documents

HSM and Thales Basics using the Thales Simulator -
A key encrypted under ZMK and exchanged via online messages. The ZPK will .... From a sim perspective its stored in the file called LMKSTORAGE.TXT in the ...

BLAND: A Circuit Simulator Anand Ramalingam and ...
The Eq. (1.2) can be described as, algebraic sum of water flowing out is zero. The same idea can be applied to electric ... For more details, please refer to wiki article [5]. Also, this is an example which shows that ... It will involve software eng

A Site-Specific MIMO Channel Simulator for Hilly and Mountainous ...
A Site-Specific MIMO Channel Simulator for Hilly and Mountainous Environments.pdf. A Site-Specific MIMO Channel Simulator for Hilly and Mountainous ...

Short Note Simplified anisotropy parameters for ...
c44 affect the P-wave NMO velocity and anellipticity only through the ... VSP data (Miller et al., 1993). ... isotropic medium, the vertical velocity, v v(P), and the.

On the Development of a Brain Simulator
are the emergence of the complex networks. Here, we try to make a comparison of the internet and the brain networks. The internet is a complex network which ...

A note on the upward and downward intruder ... - Springer Link
From the analytic solution of the segregation velocity we can analyze the transition from the upward to downward intruder's movement. The understanding of the ...

A high performance simulator of the immune response
Keywords: Immune response; Cellular automata (CA); Parallel virtual machine ... Section 2.2 deals with the optimization of the memory management to reduce ...

Goat simulator 2
The punisher:warzone.This day and age.15407900600 ... Photoshop cc 64 bit 2015.Beginning android app pdf. ... Pdf dwg converter.Neon joe 720p.Crossing ...

Xcelium Parallel Simulator - Cadence
views. Shown here: Context-aware activity for finite state machine analysis. .... are big misses that can escape IP and subsystem .... External Data ... Plan. Figure 6: The vManager platform's advanced verification methodology control cycle ...

Alexander-The-Great-And-His-Empire-A-Short-Introduction.pdf ...
... problem loading more pages. Retrying... Whoops! There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Alexander-The-Great-And-His-Empire-A-Short-Introduction.

Cheap Home Security Led Tv Simulator Anti Thief Tv Simulator ...
Cheap Home Security Led Tv Simulator Anti Thief Tv S ... Security Device Free Shipping & Wholesale Price.pdf. Cheap Home Security Led Tv Simulator Anti ...

retromezcla: a dynamic stirred tank reactor simulator
Dr. Jorge A. Velásquez. Dept. of Chemical Engineering. Universidad Pontificia Bolivariana. Circular 1ª #70 - 01. Medellín, Antioquia. Colombia [email protected]. Tel. (574)-4159020 Ext. 9598. Retromezcla, page 1. Page 2. ABSTRACT. Retromezc

A Short Course on the Lebesgue Integral and Measure Theory.pdf ...
Riemann integral alone, it is not entirely trivial, but it is with the Lebesgue. 3. Page 3 of 53. A Short Course on the Lebesgue Integral and Measure Theory.pdf.

Note
our Savior endured His suffering with an eye to glory. Why did Paul's heart not waver? Because it beat in rhythm with the heart of Christ. As you close this study, sit beside Paul at the cross and draw strength from Christ. Ask the Lord to show you H

Note
But while Darius lies on his soft couch, free on the outside, his soul is vexed to ... Used company time for personal business. • Called in sick when you weren't.

Note
Put ALL your devices away and communicate nonverbally that you are listening. Picture one of the children in your ... Tools for Digging Deeper. Parenting: From ...

A Note to Forensics Parents
... from making comparisons during or after rounds- positive comments and good sportsmanship please! ... This is a major inconvenience for the Host school. 3.

Note
tranquil words that turned their thoughts toward a place of safety and love— ... Note the following key words and phrases, and, if you write in your Bible, identify ...