?Exercises based on the innovation data (panelprobit.lpj) ?-------------------------------------------------------- ? (1) Bivariate probit model ?-------------------------------------------------------- Sample ; 1 - 1270$ Namelist ; x84 = one,imum84,fdium84,prod84$ Namelist ; x85 = one,imum85,fdium85,prod85$ Bivariate; Lhs = ip84,ip85 ; Rh1 = x84; Rh2 = x85 $ Bivariate; Lhs = ip84,ip85 ; Rh1 = x84; Rh2 = x85 ; Rst = b1,b2,b3,b4,b1,b2,b3,b4,corr$ ?-------------------------------------------------------- ? (2) Trivariate probit model ?-------------------------------------------------------- Namelist ; x86 = one,imum86,fdium86,prod86$ Mprobit ; lhs = ip84,ip85,ip86 ; eq1 = x84 ; eq2 = x85 ; eq3 = x86 ; Pts = 5 ; Maxit=10 $ ? Exercises based on Mroz's female labor supply data ? (labor.lpj) ?-------------------------------------------------------- ? (3) Sample selection Model ?-------------------------------------------------------- Namelist ; XLFP = One,KL6,K618,WA,FAMINC $ Namelist ; XHRS = One,WA,WE,WW,HW$ Probit ; Lhs = LFP ; Rhs = XLFP ; Hold $ Select ; Lhs = WHrs ; Rhs = XHRS ; Marginal Effects$ Select ; Lhs = WHrs ; Rhs = XHRS ; Marginal Effects ; MLE$ ?-------------------------------------------------------- ? (4) Endogenous right hand variable - husband's hours ?-------------------------------------------------------- Namelist ; Hwork = one,ha,he $ Create ; Hearn = hhrs*hw $ Probit ; Lhs = lfp,hearn ; Rhs = one,kl6,k618,wa,faminc,Hearn ; Rh2 = Hwork ; Marginal Effects$