Day 3C Simulation: Maximum Simulated Likelihood

Size: px
Start display at page:

Download "Day 3C Simulation: Maximum Simulated Likelihood"

Transcription

1 Day 3C Simulation: Maximum Simulated Likelihood c A. Colin Cameron Univ. of Calif. - Davis... for Center of Labor Economics Norwegian School of Economics Advanced Microeconometrics Aug 28 - Sep 1, 2017 c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School ofaug Economics 28 - SepAdvanced 1, 2017 Microeconom 1 / 29

2 1. Introduction 1. Introduction Maximum simulated likelihood (MSL) I I for models where the density involves an integral with no closed form solution so replace the integral with a Monte Carlo integral. Leading applications I I random parameter models F random parameters multinomial logit random utility models F multinomial probit. These slides consider binary logit with a single random slope I Pr[y i = 1jx i, β 1, β 2i ] = Λ(β 1 + β 2i x i ), where β 2i jβ 2, σ 2 N[β 2, σ 2 2 ] c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School ofaug Economics 28 - SepAdvanced 1, 2017 Microeconom 2 / 29

3 1. Introduction Outline 1 Introduction 2 Binary logit model estimated using ml command 3 Random parameters binary logit MSL: Theory 4 Random parameters logit MSL by ml command 5 Random parameters logit MSL by mixlogit add-on 6 Random parameters logit MSL by Stata 15 asmixlogit 7 Random parameters logit model in general 8 MSL in General 9 References c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School ofaug Economics 28 - SepAdvanced 1, 2017 Microeconom 3 / 29

4 2. Binary logit Binary logit model using command ml 2. Binary logit model Logit example: individual choice between two cars I y = 1 if electric and y = 0 if regular I x is di erence in price, di erence in running cost per mile,... Binary logit model y i = 1 with probability Λ(x 0 i β) 0 with probability 1 Λ(x 0 i β) where Pr[y i = 1jx i, β] = Λ(x 0 i β) = ex0 i β 1 + e x0 i β. c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School ofaug Economics 28 - SepAdvanced 1, 2017 Microeconom 4 / 29

5 2. Binary logit Binary logit MLE Binary logit MLE We can write the density (probability mass function) as f (y i jx i, β) = Λ(xi 0 β) y i (1 Λ(xi 0 β)) 1 y i. The MLE maximizes ln L = N i=1 ln f (y i jx i, β) = i lnfλ(xi 0 β) y i (1 Λ(xi 0 β)) 1 y i g. Some algebra yields the rst-order conditions: N i=1(y i exp(xi 0 β)) = 0. c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School ofaug Economics 28 - SepAdvanced 1, 2017 Microeconom 5 / 29

6 2. Binary logit Binary logit example 2. Binary logit example Generated data example: logit with intercept plus single regressor Pr[y i = 1jx i, β 1, β 2 ] = Λ(β 1 + β 2 x i ) x i N[0, 2 2 ] Logit model can be generated as I y i = 1 if yi > 0 where yi = xi 0 β + u i where u i logistic I inverse transformation: logistic cdf F (w) = e w (1 + e w ) so setting u = e w (1 + e w ) gives w = ln u ln(1 u) Generate data as follows set obs 1000 set seed gen u = runiform() gen ulogistic = ln(u) - ln(1-u) // draw logistic gen x = rnormal(0,2) gen y = 1 + 1*x + ulogistic > 0 c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School ofaug Economics 28 - SepAdvanced 1, 2017 Microeconom 6 / 29

7 2. Binary logit Command logit Command logit Resulting estimates are close to β 1 = 1 and β 2 = 1.. summarize Variable Obs Mean Std. Dev. Min Max u ulogistic x y * Logit ml using logit command. logit y x, nolog Logistic regression Number of obs = 1000 LR chi2(1) = Prob > chi2 = Log likelihood = Pseudo R2 = y Coef. Std. Err. z P> z [95% Conf. Interval] x _cons c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School ofaug Economics 28 - SepAdvanced 1, 2017 Microeconom 7 / 29

8 2. Binary logit Command ml Command ml using user-written program Program lflogit de nes the logit log-likelihood I I I lnf is the rst argument and is the output - the log-density for observation i theta1 is the second argument and is the input - xi 0 β $Ml_y1 is a global macro for y i (it was not passed as a parameter).. * ML program lflogit to be called by command ml method lf. program lflogit 1. args lnf theta1 // theta1=x'b, lnf=lnf(y) 2. tempvar p // Will define p to make program more reada 3. local y "$ML_y1" // Define y so program more readable 4. generate double `p' = exp(`theta1')/(1+exp(`theta1')) 5. quietly replace `lnf' = `y'*ln(`p') + (1 `y')*ln(1 `p') 6. end c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School ofaug Economics 28 - SepAdvanced 1, 2017 Microeconom 8 / 29

9 2. Binary logit Command ml Command ml Tell command ml the program and data to be used I then maximize gives same results as logit. * Command ml model including defining y and x.. ml model lf lflogit (y = x).. ml maximize initial: log likelihood = alternative: log likelihood = rescale: log likelihood = Iteration 0: log likelihood = Iteration 1: log likelihood = Iteration 2: log likelihood = Iteration 3: log likelihood = Iteration 4: log likelihood = Number of obs = 1000 Wald chi2(1) = Log likelihood = Prob > chi2 = y Coef. Std. Err. z P> z [95% Conf. Interval] x _cons c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School ofaug Economics 28 - SepAdvanced 1, 2017 Microeconom 9 / 29

10 2. Binary logit Variation Variation For MSL below we need to treat intercept and slope di erently. And we need to explicitly compute the density f (y) And then take the log of this.. * The following program is a variation. * that will be extended to random parameters binary logit. * b1 and b2 are separate parameters, alternative way to defin lnf, orbust se's. program lflogitnew 1. args lnf b1 b2 // 1 is intercept and b2 is slope 2. tempvar p f 3. local y "$ML_y1" 4. gen double `p' = exp(`b1' + `b2') / (1 + exp(`b1' + `b2')) 5. quietly generate `f' = `p' if `y'==1 6. quietly replace `f' = 1 `p' if `y'==0 7. quietly replace `lnf' = ln(`f') 8. end c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School of Aug Economics 28 - SepAdvanced 1, 2017 Microeconom 10 / 29

11 2. Binary logit Variation Variation (continued) Same results, except here have robust standard errors.. ml model lf lflogitnew (b1: y = ) (b2: x, nocons), vce(robust). ml init 1 1, copy. ml maximize initial: log pseudolikelihood = rescale: log pseudolikelihood = rescale eq: log pseudolikelihood = Iteration 0: log pseudolikelihood = (not concave) Iteration 1: log pseudolikelihood = Iteration 2: log pseudolikelihood = (not concave) Iteration 3: log pseudolikelihood = Iteration 4: log pseudolikelihood = (not concave) Iteration 5: log pseudolikelihood = Iteration 6: log pseudolikelihood = Iteration 7: log pseudolikelihood = Number of obs = 1000 Wald chi2(0) =. Log pseudolikelihood = Prob > chi2 =. Robust y Coef. Std. Err. z P> z [95% Conf. Interval] b1 b2 _cons x c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School of Aug Economics 28 - SepAdvanced 1, 2017 Microeconom 11 / 29

12 3. Random parameters binary logit Random parameters binary logit model Random parameters binary logit Introduce a random slope parameter β 2i that is normally distributed Pr[y i = 1jx i, β 1, β 2i ] = Λ(β 1 + β 2i x i ) β 2i jβ 2, σ 2 N[β 2, σ 2 2 ]. Then β 2i = β 2 + w i where w i N[0, σ 2 2 ] so can rewrite as Then the density Pr[y i = 1jx i, β 1, w i ] Λ(β 1 + (β 2 + w i )x i ) w i jσ 2 N[0, σ 2 2 ]. f (y i jx i, β 1, β 2, w i ) = Λ(β 1 + (β 2 + w i )x i ) y i [1 Λ(β 1 + (β 2 + w i )x i )] 1 y i. We do not observe w i it needs to be integrated out. c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School of Aug Economics 28 - SepAdvanced 1, 2017 Microeconom 12 / 29

13 3. Random parameters binary logit Monte Carlo integration Monte Carlo integration We do not observe w i need to integrate it out = f (y i jx i, β 1, β 2, σ 2 ) Z Λ(β 1 + (β 2 + w i )x i ) y i [1 Λ(β 1 + (β 2 + w i )x i )] 1 y i g(w i jσ 2 )dw where g(w i jσ 2 ) is the N[0, σ 2 2 ] density. There is no closed form solution. So use Monte Carlo integration: bf (y i jx i, β 1, β 2, σ 2 ) = 1 S S s=1 f (y i jx i, β 1, β 2, w (s) i ) = 1 S S s=1 Λ(β 1 + (β 2 + w (s) i )x i ) y i [1 Λ(β 1 + (β 2 + w (s) i )x i )] 1 y i where w (s) i, s = 1,..., S are S draws from N[0, σ 2 2 ]. c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School of Aug Economics 28 - SepAdvanced 1, 2017 Microeconom 13 / 29

14 3. Random parameters binary logit Maximum simulated likelihood Maximum simulated likelihood The maximum simulated likelihood estimator maximizes ln L(β 1, β 2, σ 2 ) = N i=1 ln bf (y i jx i, β 1, β 2, σ 2 ) 1 = N i=1 ln S S s=1 Λ(β 1 + (β 2 + w (s) i )x i ) y i To implement in Stata [1 Λ(β 1 + (β 2 + w (s) i )x i )] 1 y i I Generate data to test program I Generate uniform draws that are held constant throughout I write a program lflogitmsl that calculates ln bf (y i jx i, β 1, β 2, σ 2 ) I call this program from ml maximize. c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School of Aug Economics 28 - SepAdvanced 1, 2017 Microeconom 14 / 29

15 3. Random parameters binary logit Generate data with random coe cient Generate data with random coe cient Parameters β 1 = 1, β 2 = 1, σ β2 = 1.. * Generate the data Pr[y=1] = LAMDA(1 + (1+e)*x). clear all. set obs 1000 number of observations (_N) was 0, now 1,000. set seed gen u = runiform(). gen ulogistic = ln(u) ln(1 u). gen x = rnormal(0,2). gen e = rnormal(0,1). gen y = 1 + (1+e)*x + ulogistic > 0. summarize Variable Obs Mean Std. Dev. Min Max u 1, ulogistic 1, x 1, e 1, y 1, c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School of Aug Economics 28 - SepAdvanced 1, 2017 Microeconom 15 / 29

16 4. Random parameters logit by ml command Generate uniform draws 4. Random parameters logit by ml command We code up this random parameters logit example using ml command. The inverse transformation method is used for normal draws I I they are from the same underlying uniform draws but vary with each iteration as sd (σ 2 ) changes. To avoid chatter we will use the same underlying random uniform draws.. * Create 100 draws (S=100) from the uniform for each observation (n=1000). * These will be used to in turn get draws from the normal distribution. set seed forvalues i = 1/100 { 2. gen draws`i' = runiform() 3. } c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School of Aug Economics 28 - SepAdvanced 1, 2017 Microeconom 16 / 29

17 4. Random parameters logit by ml command Program for log simulated density Program for log simulated density The following code builds up the log-density for one observation. * Program to calculate the log density using Monte Carlo integration. program lflogitmsl 1. args lnf b1 b2 ln_sd // if use sd then problems if sd < 0 2. tempvar p sim_f sim_avef 3. local y "$ML_y1" 4. local sd = exp(`ln_sd') // convert back to sd 5. qui gen `sim_avef' = 0 6. set seed forvalues d = 1/100 { 8. gen double `p' = exp(`b1' + `b2' + `sd'*invnormal(draws`d')*x) /// > / (1 + exp(`b1' + `b2' + `sd'*invnormal(draws`d')*x)) 9. qui gen `sim_f' = `p' if `y'==1 10. qui replace `sim_f' = 1 `p' if `y'==0 11. qui replace `sim_avef' = `sim_avef' + `sim_f'/ drop `p' `sim_f' 13. } 14. qui replace `lnf' = ln(`sim_avef') 15. end c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School of Aug Economics 28 - SepAdvanced 1, 2017 Microeconom 17 / 29

18 4. Random parameters logit by ml command nl maximize ml maximize. * Now calculate the maximum simulated likelihood estimator. ml model lf lflogitmsl (b1: y = ) (b2: x, nocons) (ln_sd:), vce(robust). ml init 1 1 0, copy. ml maximize, difficult initial: log pseudolikelihood = rescale: log pseudolikelihood = rescale eq: log pseudolikelihood = Iteration 0: log pseudolikelihood = (not concave) Iteration 1: log pseudolikelihood = (not concave) Iteration 2: log pseudolikelihood = (not concave) Iteration 3: log pseudolikelihood = (not concave) Iteration 4: log pseudolikelihood = (not concave) Iteration 5: log pseudolikelihood = (not concave) Iteration 6: log pseudolikelihood = (not concave) Iteration 7: log pseudolikelihood = (not concave) Iteration 8: log pseudolikelihood = (not concave) Iteration 9: log pseudolikelihood = Iteration 10: log pseudolikelihood = (not concave) Iteration 11: log pseudolikelihood = (not concave) Iteration 12: log pseudolikelihood = (not concave) Iteration 13: log pseudolikelihood = (not concave) Iteration 14: log pseudolikelihood = (not concave) Iteration 15: log pseudolikelihood = Iteration 16: log pseudolikelihood = c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School of Aug Economics 28 - SepAdvanced 1, 2017 Microeconom 18 / 29

19 4. Random parameters logit by ml command MSL results using ml method MSL results using ml method bβ 1 = 1.17, bβ 2 = 1.08, bσ β2 = Number of obs = 1,000 Wald chi2(0) =. Log pseudolikelihood = Prob > chi2 =. Robust y Coef. Std. Err. z P> z [95% Conf. Interval] b1 b2 ln_sd _cons x _cons * And convert back to sd = exp(ln_sd). nlcom exp(_b[ln_sd:_cons]) _nl_1: exp(_b[ln_sd:_cons]) y Coef. Std. Err. z P> z [95% Conf. Interval] _nl_ c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School of Aug Economics 28 - SepAdvanced 1, 2017 Microeconom 19 / 29

20 4. Random Parameters Binary Logit by mixlogit 4. Random Parameters Binary Logit by mixlogit Can instead use user-written addon mixlogit This requires converting data to a data set with one line for each alternative I similar format to that used by command clogit. * Data before conversion. list y x in 1/5, clean y x * Now convert to dataset with data for each alternative. gen id = _n. gen x1 = 0. rename x x2. rename y y2. gen y1 = 1 y2. reshape long y x, i(id) j(alt) c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School of Aug Economics 28 - SepAdvanced 1, 2017 Microeconom 20 / 29

21 4. Random Parameters Binary Logit by mixlogit We now have two lines per initial observation I x 1i = 0 and x 2i = x i so the di erence (x 2i x 1i ) = x i. * See what expanded data set looks like. sum id alt y x Variable Obs Mean Std. Dev. Min Max id 2, alt 2, y 2, x 2, list id alt y x in 1/10, clean id alt y x c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School of Aug Economics 28 - SepAdvanced 1, 2017 Microeconom 21 / 29

22 4. Random Parameters Binary Logit by mixlogit MSL results using mixlogit MSL results using mixlogit This uses Hammersley draws as default so no need for seed. bβ 1 = 1.217, bβ 2 = 1.15, bσ β2 = * Now do mixlogit which has similar command structure to clogit. mixlogit y d2, group(id) rand(x) nrep(50) Iteration 0: log likelihood = (not concave) Iteration 1: log likelihood = Iteration 2: log likelihood = Iteration 3: log likelihood = Iteration 4: log likelihood = Iteration 5: log likelihood = Mixed logit model Number of obs = 2,000 LR chi2(1) = Log likelihood = Prob > chi2 = y Coef. Std. Err. z P> z [95% Conf. Interval] Mean SD d x x The sign of the estimated standard deviations is irrelevant: interpret them as being positive c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School of Aug Economics 28 - SepAdvanced 1, 2017 Microeconom 22 / 29

23 5. Random Parameter Logit by Stata 15 asmixlogit 5. Random Parameter Logit by Stata 15 asmixlogit Stata 15 introduced a command for the mix logit model I this uses Hammersley draws as default so no need for seed. bβ 1 = 1.20, bβ 2 = 1.15, bσ β2 = * asmixlogit has similar command structure to asclogit. asmixlogit y, case(id) alternatives(alt) random(x) nolog Alternative specific mixed logit Number of obs = 2,000 Case variable: id Number of cases = 1,000 Alternative variable: alt Alts per case: min = 2 avg = 2.0 max = 2 Integration sequence: Hammersley Integration points: 50 Wald chi2(1) = Log simulated likelihood = Prob > chi2 = y Coef. Std. Err. z P> z [95% Conf. Interval] alt Normal 1 x sd(x) _cons (base alternative) LR test vs. fixed parameters: chibar2(01) = Prob >= chibar2 = c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School of Aug Economics 28 - SepAdvanced 1, 2017 Microeconom 23 / 29

24 Comparison Comparison d.g.p. values: β 1 = 1, β 2 = 1, σ β2 = 1. ml code: bβ 1 = 1.17, bβ 2 = 1.08, bσ β2 = lnl = mixlogit: bβ 1 = 1.21, bβ 2 = 1.15, bσ β2 = lnl = asmixlogit: bβ 1 = 1.20, bβ 2 = 1.15, bσ β2 = lnl = Results will get closer as N increases and number of draws or evaluation points increases. c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School of Aug Economics 28 - SepAdvanced 1, 2017 Microeconom 24 / 29

25 6. Random Parameters Binary Logit in General 6. Random Parameters Binary Logit in General The previous example had just one regressor. Now generalize. Random parameters allow di erent individuals even with same x i to respond di erently (big in marketing studies) Binary logit but replace β with β i N [β, Σ] with density φ(β i jβ, Σ) Pr[y i = 1jx i, β i ] = Λ(x 0 i β i ) = e x0 i β i /(1 e x 0 i β i ) Conditional on β i density (or p.m.f.) of y i is f (y i jx i, β i ) = Λ(x 0 i β i ) y i (1 Λ(x 0 i β i )) 1 y i Unconditional analysis requires integrate out β i : f (y i jx i, β, Σ) = R R Λ(x 0 i β i ) y i (1 Λ(x 0 i β i )) 1 y i φ(β i jβ, Σ)d β i c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School of Aug Economics 28 - SepAdvanced 1, 2017 Microeconom 25 / 29

26 6. Random Parameters Binary Logit in General Random parameters binary logit (continued) Compute f (y i jx i, β, Σ) by Monte Carlo integration bf (y i jx i, β, Σ) = 1 S S s=1 Λ(x 0 i β (s) i ) y i (1 Λ(x 0 i β (s) i )) 1 y i I uses s draws β (s) i, s = 1,..., S from φ(β i jβ, Σ) I note: at r th round of gradient method draw is from φ(β i jβ r, Σ r ) The ML estimator for binary outcome model maximizes ln L(β, Σ) = N i=1 ln f (y i jx i, β, Σ). The simulated maximum likelihood (SML) estimator maximizes ln L(β, Σ) = N i=1 ln bf (y i jx i, β, Σ) = N i=1 ln 1 S S s=1 Λ(xi 0 β (s) i ) y i (1 Λ(xi 0 β (s) i )) 1 y i = i fy i ln bp i + (1 y i ) ln(1 bp i )g; bp i = 1 S s Λ(xi 0 β (s) i ) Especially popular for multinomial data I then random parameters logit overcomes independence of irrelevant alternatives limitation of regular conditional logit. c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School of Aug Economics 28 - SepAdvanced 1, 2017 Microeconom 26 / 29

27 7. MSL in General 7. MSL in general Problem: MLE (with independent data over i) maximizes ln L(θ) = N i=1 ln f (y i jx i, θ). I but f (y i jx i, θ) does not have a closed form solution. I e.g. f (y i jx i, θ) = R g(y i jx i, θ 1, α)h(αjθ 2 )dα =? Solution: Maximum simulated likelihood (MSL) estimator maximizes ln bl(θ) = N i=1 ln bf (y i jx i, θ) I I bf (y i jx i, θ) is a simulated approxn. to f (y i jx i, θ) based on S draws e.g. f (y i jx i, θ) = S 1 S s=1 g(y i jx i, θ, α (s) ), α (s) are draws from h(α). MSLE consistent with the usual MLE asymptotic distribution if I bf () is an unbiased simulator and satis es other conditions given below I S!, N! and p N/S! 0 where S is number of simulations. I note that many draws S (to compute bf ()) are required. c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School of Aug Economics 28 - SepAdvanced 1, 2017 Microeconom 27 / 29

28 7. MSL in General MSL details MSL details Assumed properties of the simulator: I bf () is an unbiased simulator with: E[bf (y i jx i, θ)] = f (y i jx i, θ) I bf () is di erentiable in θ (or smooth simulator) so gradient methods can be used I the underlying draws to compute bf () are unchanged so no "chatter". MSL needs S! because simulator is nonetheless biased for ln f () E[bf ()] = f () ; E[ln bf ()] 6= ln f (). Variation: Method of simulated (MSM) estimator instead works with moment conditions that allow an unbiased simulator I bθ is a method of moments estimator that solves N i =1 m(y i jx i, θ) = 0. I Assume unbiased simulator such that E[ bm(y i jx i, θ)] = m(y i jx i, θ) I The MSM solves N i =1 bm(y i jx i, θ) = 0 F Consistent even for small S, though there is then e ciency loss. F When bm() is the frequency simulator V[bθ MSM ] = (1 + S 1 )V[ bθ MSL ]. c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School of Aug Economics 28 - SepAdvanced 1, 2017 Microeconom 28 / 29

29 8. References 8. Some References The general principles of MSL are covered in I CT(2005) MMA chapter 13. c A. Colin Cameron Univ. of Calif. - Davis... for Maximum Center of Labor Simulated Economics Likelihood Norwegian School of Aug Economics 28 - SepAdvanced 1, 2017 Microeconom 29 / 29

Maximum Likelihood Estimation Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised January 10, 2017

Maximum Likelihood Estimation Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised January 10, 2017 Maximum Likelihood Estimation Richard Williams, University of otre Dame, https://www3.nd.edu/~rwilliam/ Last revised January 0, 207 [This handout draws very heavily from Regression Models for Categorical

More information

Maximum Likelihood Estimation Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised January 13, 2018

Maximum Likelihood Estimation Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised January 13, 2018 Maximum Likelihood Estimation Richard Williams, University of otre Dame, https://www3.nd.edu/~rwilliam/ Last revised January 3, 208 [This handout draws very heavily from Regression Models for Categorical

More information

Econometric Methods for Valuation Analysis

Econometric Methods for Valuation Analysis Econometric Methods for Valuation Analysis Margarita Genius Dept of Economics M. Genius (Univ. of Crete) Econometric Methods for Valuation Analysis Cagliari, 2017 1 / 25 Outline We will consider econometric

More information

Simulated Multivariate Random Effects Probit Models for Unbalanced Panels

Simulated Multivariate Random Effects Probit Models for Unbalanced Panels Simulated Multivariate Random Effects Probit Models for Unbalanced Panels Alexander Plum 2013 German Stata Users Group Meeting June 7, 2013 Overview Introduction Random Effects Model Illustration Simulated

More information

Nonlinear Econometric Analysis (ECO 722) Answers to Homework 4

Nonlinear Econometric Analysis (ECO 722) Answers to Homework 4 Nonlinear Econometric Analysis (ECO 722) Answers to Homework 4 1 Greene and Hensher (1997) report estimates of a model of travel mode choice for travel between Sydney and Melbourne, Australia The dataset

More information

3. Multinomial response models

3. Multinomial response models 3. Multinomial response models 3.1 General model approaches Multinomial dependent variables in a microeconometric analysis: These qualitative variables have more than two possible mutually exclusive categories

More information

15. Multinomial Outcomes A. Colin Cameron Pravin K. Trivedi Copyright 2006

15. Multinomial Outcomes A. Colin Cameron Pravin K. Trivedi Copyright 2006 15. Multinomial Outcomes A. Colin Cameron Pravin K. Trivedi Copyright 2006 These slides were prepared in 1999. They cover material similar to Sections 15.3-15.6 of our subsequent book Microeconometrics:

More information

Final Exam - section 1. Thursday, December hours, 30 minutes

Final Exam - section 1. Thursday, December hours, 30 minutes Econometrics, ECON312 San Francisco State University Michael Bar Fall 2013 Final Exam - section 1 Thursday, December 19 1 hours, 30 minutes Name: Instructions 1. This is closed book, closed notes exam.

More information

Logistic Regression Analysis

Logistic Regression Analysis Revised July 2018 Logistic Regression Analysis This set of notes shows how to use Stata to estimate a logistic regression equation. It assumes that you have set Stata up on your computer (see the Getting

More information

tm / / / / / / / / / / / / Statistics/Data Analysis User: Klick Project: Limited Dependent Variables{space -6}

tm / / / / / / / / / / / / Statistics/Data Analysis User: Klick Project: Limited Dependent Variables{space -6} PS 4 Monday August 16 01:00:42 2010 Page 1 tm / / / / / / / / / / / / Statistics/Data Analysis User: Klick Project: Limited Dependent Variables{space -6} log: C:\web\PS4log.smcl log type: smcl opened on:

More information

An Introduction to Event History Analysis

An Introduction to Event History Analysis An Introduction to Event History Analysis Oxford Spring School June 18-20, 2007 Day Three: Diagnostics, Extensions, and Other Miscellanea Data Redux: Supreme Court Vacancies, 1789-1992. stset service,

More information

Longitudinal Logistic Regression: Breastfeeding of Nepalese Children

Longitudinal Logistic Regression: Breastfeeding of Nepalese Children Longitudinal Logistic Regression: Breastfeeding of Nepalese Children Scientific Question Determine whether the breastfeeding of Nepalese children varies with child age and/or sex of child. Data: Nepal

More information

Creation of Synthetic Discrete Response Regression Models

Creation of Synthetic Discrete Response Regression Models Arizona State University From the SelectedWorks of Joseph M Hilbe 2010 Creation of Synthetic Discrete Response Regression Models Joseph Hilbe, Arizona State University Available at: https://works.bepress.com/joseph_hilbe/2/

More information

sociology SO5032 Quantitative Research Methods Brendan Halpin, Sociology, University of Limerick Spring 2018 SO5032 Quantitative Research Methods

sociology SO5032 Quantitative Research Methods Brendan Halpin, Sociology, University of Limerick Spring 2018 SO5032 Quantitative Research Methods 1 SO5032 Quantitative Research Methods Brendan Halpin, Sociology, University of Limerick Spring 2018 Lecture 10: Multinomial regression baseline category extension of binary What if we have multiple possible

More information

Multinomial Logit Models - Overview Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised February 13, 2017

Multinomial Logit Models - Overview Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised February 13, 2017 Multinomial Logit Models - Overview Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised February 13, 2017 This is adapted heavily from Menard s Applied Logistic Regression

More information

Module 4 Bivariate Regressions

Module 4 Bivariate Regressions AGRODEP Stata Training April 2013 Module 4 Bivariate Regressions Manuel Barron 1 and Pia Basurto 2 1 University of California, Berkeley, Department of Agricultural and Resource Economics 2 University of

More information

Categorical Outcomes. Statistical Modelling in Stata: Categorical Outcomes. R by C Table: Example. Nominal Outcomes. Mark Lunt.

Categorical Outcomes. Statistical Modelling in Stata: Categorical Outcomes. R by C Table: Example. Nominal Outcomes. Mark Lunt. Categorical Outcomes Statistical Modelling in Stata: Categorical Outcomes Mark Lunt Arthritis Research UK Epidemiology Unit University of Manchester Nominal Ordinal 28/11/2017 R by C Table: Example Categorical,

More information

Allison notes there are two conditions for using fixed effects methods.

Allison notes there are two conditions for using fixed effects methods. Panel Data 3: Conditional Logit/ Fixed Effects Logit Models Richard Williams, University of Notre Dame, http://www3.nd.edu/~rwilliam/ Last revised April 2, 2017 These notes borrow very heavily, sometimes

More information

Duration Models: Parametric Models

Duration Models: Parametric Models Duration Models: Parametric Models Brad 1 1 Department of Political Science University of California, Davis January 28, 2011 Parametric Models Some Motivation for Parametrics Consider the hazard rate:

More information

Using Halton Sequences. in Random Parameters Logit Models

Using Halton Sequences. in Random Parameters Logit Models Journal of Statistical and Econometric Methods, vol.5, no.1, 2016, 59-86 ISSN: 1792-6602 (print), 1792-6939 (online) Scienpress Ltd, 2016 Using Halton Sequences in Random Parameters Logit Models Tong Zeng

More information

Module 9: Single-level and Multilevel Models for Ordinal Responses. Stata Practical 1

Module 9: Single-level and Multilevel Models for Ordinal Responses. Stata Practical 1 Module 9: Single-level and Multilevel Models for Ordinal Responses Pre-requisites Modules 5, 6 and 7 Stata Practical 1 George Leckie, Tim Morris & Fiona Steele Centre for Multilevel Modelling If you find

More information

Intro to GLM Day 2: GLM and Maximum Likelihood

Intro to GLM Day 2: GLM and Maximum Likelihood Intro to GLM Day 2: GLM and Maximum Likelihood Federico Vegetti Central European University ECPR Summer School in Methods and Techniques 1 / 32 Generalized Linear Modeling 3 steps of GLM 1. Specify the

More information

Model fit assessment via marginal model plots

Model fit assessment via marginal model plots The Stata Journal (2010) 10, Number 2, pp. 215 225 Model fit assessment via marginal model plots Charles Lindsey Texas A & M University Department of Statistics College Station, TX lindseyc@stat.tamu.edu

More information

Creating synthetic discrete-response regression models

Creating synthetic discrete-response regression models The Stata Journal (2010) 10, Number 1, pp. 104 124 Creating synthetic discrete-response regression models Joseph M. Hilbe Arizona State University and Jet Propulsion Laboratory, CalTech Hilbe@asu.edu Abstract.

More information

Limited Dependent Variables

Limited Dependent Variables Limited Dependent Variables Christopher F Baum Boston College and DIW Berlin Birmingham Business School, March 2013 Christopher F Baum (BC / DIW) Limited Dependent Variables BBS 2013 1 / 47 Limited dependent

More information

[BINARY DEPENDENT VARIABLE ESTIMATION WITH STATA]

[BINARY DEPENDENT VARIABLE ESTIMATION WITH STATA] Tutorial #3 This example uses data in the file 16.09.2011.dta under Tutorial folder. It contains 753 observations from a sample PSID data on the labor force status of married women in the U.S in 1975.

More information

STATA log file for Time-Varying Covariates (TVC) Duration Model Estimations.

STATA log file for Time-Varying Covariates (TVC) Duration Model Estimations. STATA log file for Time-Varying Covariates (TVC) Duration Model Estimations. This STATA 8.0 log file reports estimations in which CDER Staff Aggregates and PDUFA variable are assigned to drug-months of

More information

Australian School of Business Working Paper

Australian School of Business Working Paper Australian School of Business Working Paper Australian School of Business Research Paper No. 2012 ECON 49 lclogit: A Stata module for estimating latent class conditional logit models via the Expectation-Maximization

More information

Estimating treatment effects for ordered outcomes using maximum simulated likelihood

Estimating treatment effects for ordered outcomes using maximum simulated likelihood The Stata Journal (2015) 15, Number 3, pp. 756 774 Estimating treatment effects for ordered outcomes using maximum simulated likelihood Christian A. Gregory Economic Research Service, USDA Washington,

More information

Continuous random variables

Continuous random variables Continuous random variables probability density function (f(x)) the probability distribution function of a continuous random variable (analogous to the probability mass function for a discrete random variable),

More information

Chapter 6 Part 3 October 21, Bootstrapping

Chapter 6 Part 3 October 21, Bootstrapping Chapter 6 Part 3 October 21, 2008 Bootstrapping From the internet: The bootstrap involves repeated re-estimation of a parameter using random samples with replacement from the original data. Because the

More information

Quantitative Techniques Term 2

Quantitative Techniques Term 2 Quantitative Techniques Term 2 Laboratory 7 2 March 2006 Overview The objective of this lab is to: Estimate a cost function for a panel of firms; Calculate returns to scale; Introduce the command cluster

More information

EC327: Limited Dependent Variables and Sample Selection Binomial probit: probit

EC327: Limited Dependent Variables and Sample Selection Binomial probit: probit EC327: Limited Dependent Variables and Sample Selection Binomial probit: probit. summarize work age married children education Variable Obs Mean Std. Dev. Min Max work 2000.6715.4697852 0 1 age 2000 36.208

More information

COMPLEMENTARITY ANALYSIS IN MULTINOMIAL

COMPLEMENTARITY ANALYSIS IN MULTINOMIAL 1 / 25 COMPLEMENTARITY ANALYSIS IN MULTINOMIAL MODELS: THE GENTZKOW COMMAND Yunrong Li & Ricardo Mora SWUFE & UC3M Madrid, Oct 2017 2 / 25 Outline 1 Getzkow (2007) 2 Case Study: social vs. internet interactions

More information

Introduction to fractional outcome regression models using the fracreg and betareg commands

Introduction to fractional outcome regression models using the fracreg and betareg commands Introduction to fractional outcome regression models using the fracreg and betareg commands Miguel Dorta Staff Statistician StataCorp LP Aguascalientes, Mexico (StataCorp LP) fracreg - betareg May 18,

More information

ECON Introductory Econometrics. Seminar 4. Stock and Watson Chapter 8

ECON Introductory Econometrics. Seminar 4. Stock and Watson Chapter 8 ECON4150 - Introductory Econometrics Seminar 4 Stock and Watson Chapter 8 empirical exercise E8.2: Data 2 In this exercise we use the data set CPS12.dta Each month the Bureau of Labor Statistics in the

More information

Introduction to the Maximum Likelihood Estimation Technique. September 24, 2015

Introduction to the Maximum Likelihood Estimation Technique. September 24, 2015 Introduction to the Maximum Likelihood Estimation Technique September 24, 2015 So far our Dependent Variable is Continuous That is, our outcome variable Y is assumed to follow a normal distribution having

More information

The method of Maximum Likelihood.

The method of Maximum Likelihood. Maximum Likelihood The method of Maximum Likelihood. In developing the least squares estimator - no mention of probabilities. Minimize the distance between the predicted linear regression and the observed

More information

Econometrics II Multinomial Choice Models

Econometrics II Multinomial Choice Models LV MNC MRM MNLC IIA Int Est Tests End Econometrics II Multinomial Choice Models Paul Kattuman Cambridge Judge Business School February 9, 2018 LV MNC MRM MNLC IIA Int Est Tests End LW LW2 LV LV3 Last Week:

More information

CPSC 540: Machine Learning

CPSC 540: Machine Learning CPSC 540: Machine Learning Monte Carlo Methods Mark Schmidt University of British Columbia Winter 2019 Last Time: Markov Chains We can use Markov chains for density estimation, d p(x) = p(x 1 ) p(x }{{}

More information

The data definition file provided by the authors is reproduced below: Obs: 1500 home sales in Stockton, CA from Oct 1, 1996 to Nov 30, 1998

The data definition file provided by the authors is reproduced below: Obs: 1500 home sales in Stockton, CA from Oct 1, 1996 to Nov 30, 1998 Economics 312 Sample Project Report Jeffrey Parker Introduction This project is based on Exercise 2.12 on page 81 of the Hill, Griffiths, and Lim text. It examines how the sale price of houses in Stockton,

More information

CPSC 540: Machine Learning

CPSC 540: Machine Learning CPSC 540: Machine Learning Monte Carlo Methods Mark Schmidt University of British Columbia Winter 2018 Last Time: Markov Chains We can use Markov chains for density estimation, p(x) = p(x 1 ) }{{} d p(x

More information

Lecture 1: Logit. Quantitative Methods for Economic Analysis. Seyed Ali Madani Zadeh and Hosein Joshaghani. Sharif University of Technology

Lecture 1: Logit. Quantitative Methods for Economic Analysis. Seyed Ali Madani Zadeh and Hosein Joshaghani. Sharif University of Technology Lecture 1: Logit Quantitative Methods for Economic Analysis Seyed Ali Madani Zadeh and Hosein Joshaghani Sharif University of Technology February 2017 1 / 38 Road map 1. Discrete Choice Models 2. Binary

More information

u panel_lecture . sum

u panel_lecture . sum u panel_lecture sum Variable Obs Mean Std Dev Min Max datastre 639 9039644 6369418 900228 926665 year 639 1980 2584012 1976 1984 total_sa 639 9377839 3212313 682 441e+07 tot_fixe 639 5214385 1988422 642

More information

Back to estimators...

Back to estimators... Back to estimators... So far, we have: Identified estimators for common parameters Discussed the sampling distributions of estimators Introduced ways to judge the goodness of an estimator (bias, MSE, etc.)

More information

The Financial Econometrics of Option Markets

The Financial Econometrics of Option Markets of Option Markets Professor Vance L. Martin October 8th, 2013 October 8th, 2013 1 / 53 Outline of Workshop Day 1: 1. Introduction to options 2. Basic pricing ideas 3. Econometric interpretation to pricing

More information

Optimal reinsurance for variance related premium calculation principles

Optimal reinsurance for variance related premium calculation principles Optimal reinsurance for variance related premium calculation principles Guerra, M. and Centeno, M.L. CEOC and ISEG, TULisbon CEMAPRE, ISEG, TULisbon ASTIN 2007 Guerra and Centeno (ISEG, TULisbon) Optimal

More information

Sociology Exam 3 Answer Key - DRAFT May 8, 2007

Sociology Exam 3 Answer Key - DRAFT May 8, 2007 Sociology 63993 Exam 3 Answer Key - DRAFT May 8, 2007 I. True-False. (20 points) Indicate whether the following statements are true or false. If false, briefly explain why. 1. The odds of an event occurring

More information

This notes lists some statistical estimates on which the analysis and discussion in the Health Affairs article was based.

This notes lists some statistical estimates on which the analysis and discussion in the Health Affairs article was based. Commands and Estimates for D. Carpenter, M. Chernew, D. G. Smith, and A. M. Fendrick, Approval Times For New Drugs: Does The Source Of Funding For FDA Staff Matter? Health Affairs (Web Exclusive) December

More information

Sociology 704: Topics in Multivariate Statistics Instructor: Natasha Sarkisian. Binary Logit

Sociology 704: Topics in Multivariate Statistics Instructor: Natasha Sarkisian. Binary Logit Sociology 704: Topics in Multivariate Statistics Instructor: Natasha Sarkisian Binary Logit Binary models deal with binary (0/1, yes/no) dependent variables. OLS is inappropriate for this kind of dependent

More information

Lecture 17: More on Markov Decision Processes. Reinforcement learning

Lecture 17: More on Markov Decision Processes. Reinforcement learning Lecture 17: More on Markov Decision Processes. Reinforcement learning Learning a model: maximum likelihood Learning a value function directly Monte Carlo Temporal-difference (TD) learning COMP-424, Lecture

More information

Log-linear Modeling Under Generalized Inverse Sampling Scheme

Log-linear Modeling Under Generalized Inverse Sampling Scheme Log-linear Modeling Under Generalized Inverse Sampling Scheme Soumi Lahiri (1) and Sunil Dhar (2) (1) Department of Mathematical Sciences New Jersey Institute of Technology University Heights, Newark,

More information

Maximum Likelihood Estimation

Maximum Likelihood Estimation Maximum Likelihood Estimation EPSY 905: Fundamentals of Multivariate Modeling Online Lecture #6 EPSY 905: Maximum Likelihood In This Lecture The basics of maximum likelihood estimation Ø The engine that

More information

Two hours. To be supplied by the Examinations Office: Mathematical Formula Tables and Statistical Tables THE UNIVERSITY OF MANCHESTER

Two hours. To be supplied by the Examinations Office: Mathematical Formula Tables and Statistical Tables THE UNIVERSITY OF MANCHESTER Two hours MATH20802 To be supplied by the Examinations Office: Mathematical Formula Tables and Statistical Tables THE UNIVERSITY OF MANCHESTER STATISTICAL METHODS Answer any FOUR of the SIX questions.

More information

6. Genetics examples: Hardy-Weinberg Equilibrium

6. Genetics examples: Hardy-Weinberg Equilibrium PBCB 206 (Fall 2006) Instructor: Fei Zou email: fzou@bios.unc.edu office: 3107D McGavran-Greenberg Hall Lecture 4 Topics for Lecture 4 1. Parametric models and estimating parameters from data 2. Method

More information

Review questions for Multinomial Logit/Probit, Tobit, Heckit, Quantile Regressions

Review questions for Multinomial Logit/Probit, Tobit, Heckit, Quantile Regressions 1. I estimated a multinomial logit model of employment behavior using data from the 2006 Current Population Survey. The three possible outcomes for a person are employed (outcome=1), unemployed (outcome=2)

More information

Morten Frydenberg Wednesday, 12 May 2004

Morten Frydenberg Wednesday, 12 May 2004 " $% " * +, " --. / ",, 2 ", $, % $ 4 %78 % / "92:8/- 788;?5"= "8= < < @ "A57 57 "χ 2 = -value=. 5 OR =, OR = = = + OR B " B Linear ang Logistic Regression: Note. = + OR 2 women - % β β = + woman

More information

Why do the youth in Jamaica neither study nor work? Evidence from JSLC 2001

Why do the youth in Jamaica neither study nor work? Evidence from JSLC 2001 VERY PRELIMINARY, PLEASE DO NOT QUOTE Why do the youth in Jamaica neither study nor work? Evidence from JSLC 2001 Abstract Abbi Kedir 1 University of Leicester, UK E-mail: ak138@le.ac.uk and Michael Henry

More information

STATA Program for OLS cps87_or.do

STATA Program for OLS cps87_or.do STATA Program for OLS cps87_or.do * the data for this project is a small subsample; * of full time (30 or more hours) male workers; * aged 21-64 from the out going rotation; * samples of the 1987 current

More information

UQ, STAT2201, 2017, Lectures 3 and 4 Unit 3 Probability Distributions.

UQ, STAT2201, 2017, Lectures 3 and 4 Unit 3 Probability Distributions. UQ, STAT2201, 2017, Lectures 3 and 4 Unit 3 Probability Distributions. Random Variables 2 A random variable X is a numerical (integer, real, complex, vector etc.) summary of the outcome of the random experiment.

More information

Multinomial Choice (Basic Models)

Multinomial Choice (Basic Models) Unversitat Pompeu Fabra Lecture Notes in Microeconometrics Dr Kurt Schmidheiny June 17, 2007 Multinomial Choice (Basic Models) 2 1 Ordered Probit Contents Multinomial Choice (Basic Models) 1 Ordered Probit

More information

West Coast Stata Users Group Meeting, October 25, 2007

West Coast Stata Users Group Meeting, October 25, 2007 Estimating Heterogeneous Choice Models with Stata Richard Williams, Notre Dame Sociology, rwilliam@nd.edu oglm support page: http://www.nd.edu/~rwilliam/oglm/index.html West Coast Stata Users Group Meeting,

More information

CSE 312 Winter Learning From Data: Maximum Likelihood Estimators (MLE)

CSE 312 Winter Learning From Data: Maximum Likelihood Estimators (MLE) CSE 312 Winter 2017 Learning From Data: Maximum Likelihood Estimators (MLE) 1 Parameter Estimation Given: independent samples x1, x2,..., xn from a parametric distribution f(x θ) Goal: estimate θ. Not

More information

Advanced Industrial Organization I Identi cation of Demand Functions

Advanced Industrial Organization I Identi cation of Demand Functions Advanced Industrial Organization I Identi cation of Demand Functions Måns Söderbom, University of Gothenburg January 25, 2011 1 1 Introduction This is primarily an empirical lecture in which I will discuss

More information

Introducing nominal rigidities.

Introducing nominal rigidities. Introducing nominal rigidities. Olivier Blanchard May 22 14.452. Spring 22. Topic 7. 14.452. Spring, 22 2 In the model we just saw, the price level (the price of goods in terms of money) behaved like an

More information

Point Estimation. Copyright Cengage Learning. All rights reserved.

Point Estimation. Copyright Cengage Learning. All rights reserved. 6 Point Estimation Copyright Cengage Learning. All rights reserved. 6.2 Methods of Point Estimation Copyright Cengage Learning. All rights reserved. Methods of Point Estimation The definition of unbiasedness

More information

Econ 371 Problem Set #4 Answer Sheet. 6.2 This question asks you to use the results from column (1) in the table on page 213.

Econ 371 Problem Set #4 Answer Sheet. 6.2 This question asks you to use the results from column (1) in the table on page 213. Econ 371 Problem Set #4 Answer Sheet 6.2 This question asks you to use the results from column (1) in the table on page 213. a. The first part of this question asks whether workers with college degrees

More information

Advanced Econometrics

Advanced Econometrics Advanced Econometrics Instructor: Takashi Yamano 11/14/2003 Due: 11/21/2003 Homework 5 (30 points) Sample Answers 1. (16 points) Read Example 13.4 and an AER paper by Meyer, Viscusi, and Durbin (1995).

More information

Syntax Menu Description Options Remarks and examples Stored results Methods and formulas Acknowledgment References Also see

Syntax Menu Description Options Remarks and examples Stored results Methods and formulas Acknowledgment References Also see Title stata.com xtdpdsys Arellano Bover/Blundell Bond linear dynamic panel-data estimation Syntax Menu Description Options Remarks and examples Stored results Methods and formulas Acknowledgment References

More information

CHAPTER 12 EXAMPLES: MONTE CARLO SIMULATION STUDIES

CHAPTER 12 EXAMPLES: MONTE CARLO SIMULATION STUDIES Examples: Monte Carlo Simulation Studies CHAPTER 12 EXAMPLES: MONTE CARLO SIMULATION STUDIES Monte Carlo simulation studies are often used for methodological investigations of the performance of statistical

More information

Stock Price, Risk-free Rate and Learning

Stock Price, Risk-free Rate and Learning Stock Price, Risk-free Rate and Learning Tongbin Zhang Univeristat Autonoma de Barcelona and Barcelona GSE April 2016 Tongbin Zhang (Institute) Stock Price, Risk-free Rate and Learning April 2016 1 / 31

More information

Essays on the Random Parameters Logit Model

Essays on the Random Parameters Logit Model Louisiana State University LSU Digital Commons LSU Doctoral Dissertations Graduate School 2011 Essays on the Random Parameters Logit Model Tong Zeng Louisiana State University and Agricultural and Mechanical

More information

Applied Econometrics. Lectures 13 & 14: Nonlinear Models Beyond Binary Choice: Multinomial Response Models, Corner Solution Models &

Applied Econometrics. Lectures 13 & 14: Nonlinear Models Beyond Binary Choice: Multinomial Response Models, Corner Solution Models & Applied Econometrics Lectures 13 & 14: Nonlinear Models Beyond Binary Choice: Multinomial Response Models, Corner Solution Models & Censored Regressions Måns Söderbom 6 & 9 October 2009 University of Gothenburg.

More information

Unobserved Heterogeneity Revisited

Unobserved Heterogeneity Revisited Unobserved Heterogeneity Revisited Robert A. Miller Dynamic Discrete Choice March 2018 Miller (Dynamic Discrete Choice) cemmap 7 March 2018 1 / 24 Distributional Assumptions about the Unobserved Variables

More information

Religion and Volunteerism

Religion and Volunteerism Religion and Volunteerism Abstract This paper uses a standard Tobit to explore the effects of religion on volunteerism. It analyzes cross-sectional data from a representative sample of about 3,000 American

More information

Problem Set 6 ANSWERS

Problem Set 6 ANSWERS Economics 20 Part I. Problem Set 6 ANSWERS Prof. Patricia M. Anderson The first 5 questions are based on the following information: Suppose a researcher is interested in the effect of class attendance

More information

The Vasicek Distribution

The Vasicek Distribution The Vasicek Distribution Dirk Tasche Lloyds TSB Bank Corporate Markets Rating Systems dirk.tasche@gmx.net Bristol / London, August 2008 The opinions expressed in this presentation are those of the author

More information

lclogit: A Stata command for fitting latent-class conditional logit models via the expectation-maximization algorithm

lclogit: A Stata command for fitting latent-class conditional logit models via the expectation-maximization algorithm The Stata Journal (2013) 13, Number 3, pp. 625 639 lclogit: A Stata command for fitting latent-class conditional logit models via the expectation-maximization algorithm Daniele Pacifico Italian Department

More information

Statistical estimation

Statistical estimation Statistical estimation Statistical modelling: theory and practice Gilles Guillot gigu@dtu.dk September 3, 2013 Gilles Guillot (gigu@dtu.dk) Estimation September 3, 2013 1 / 27 1 Introductory example 2

More information

Credit Risk Modelling

Credit Risk Modelling Credit Risk Modelling Tiziano Bellini Università di Bologna December 13, 2013 Tiziano Bellini (Università di Bologna) Credit Risk Modelling December 13, 2013 1 / 55 Outline Framework Credit Risk Modelling

More information

Modeling wages of females in the UK

Modeling wages of females in the UK International Journal of Business and Social Science Vol. 2 No. 11 [Special Issue - June 2011] Modeling wages of females in the UK Saadia Irfan NUST Business School National University of Sciences and

More information

Session 5. A brief introduction to Predictive Modeling

Session 5. A brief introduction to Predictive Modeling SOA Predictive Analytics Seminar Malaysia 27 Aug. 2018 Kuala Lumpur, Malaysia Session 5 A brief introduction to Predictive Modeling Lichen Bao, Ph.D A Brief Introduction to Predictive Modeling LICHEN BAO

More information

Description Remarks and examples References Also see

Description Remarks and examples References Also see Title stata.com example 41g Two-level multinomial logistic regression (multilevel) Description Remarks and examples References Also see Description We demonstrate two-level multinomial logistic regression

More information

Point Estimators. STATISTICS Lecture no. 10. Department of Econometrics FEM UO Brno office 69a, tel

Point Estimators. STATISTICS Lecture no. 10. Department of Econometrics FEM UO Brno office 69a, tel STATISTICS Lecture no. 10 Department of Econometrics FEM UO Brno office 69a, tel. 973 442029 email:jiri.neubauer@unob.cz 8. 12. 2009 Introduction Suppose that we manufacture lightbulbs and we want to state

More information

Logit Models for Binary Data

Logit Models for Binary Data Chapter 3 Logit Models for Binary Data We now turn our attention to regression models for dichotomous data, including logistic regression and probit analysis These models are appropriate when the response

More information

Probability & Statistics

Probability & Statistics Probability & Statistics BITS Pilani K K Birla Goa Campus Dr. Jajati Keshari Sahoo Department of Mathematics Statistics Descriptive statistics Inferential statistics /38 Inferential Statistics 1. Involves:

More information

Duration Models: Modeling Strategies

Duration Models: Modeling Strategies Bradford S., UC-Davis, Dept. of Political Science Duration Models: Modeling Strategies Brad 1 1 Department of Political Science University of California, Davis February 28, 2007 Bradford S., UC-Davis,

More information

Point Estimation. Some General Concepts of Point Estimation. Example. Estimator quality

Point Estimation. Some General Concepts of Point Estimation. Example. Estimator quality Point Estimation Some General Concepts of Point Estimation Statistical inference = conclusions about parameters Parameters == population characteristics A point estimate of a parameter is a value (based

More information

*1A. Basic Descriptive Statistics sum housereg drive elecbill affidavit witness adddoc income male age literacy educ occup cityyears if control==1

*1A. Basic Descriptive Statistics sum housereg drive elecbill affidavit witness adddoc income male age literacy educ occup cityyears if control==1 *1A Basic Descriptive Statistics sum housereg drive elecbill affidavit witness adddoc income male age literacy educ occup cityyears if control==1 Variable Obs Mean Std Dev Min Max --- housereg 21 2380952

More information

Analysis of Microdata

Analysis of Microdata Rainer Winkelmann Stefan Boes Analysis of Microdata Second Edition 4u Springer 1 Introduction 1 1.1 What Are Microdata? 1 1.2 Types of Microdata 4 1.2.1 Qualitative Data 4 1.2.2 Quantitative Data 6 1.3

More information

درس هفتم یادگیري ماشین. (Machine Learning) دانشگاه فردوسی مشهد دانشکده مهندسی رضا منصفی

درس هفتم یادگیري ماشین. (Machine Learning) دانشگاه فردوسی مشهد دانشکده مهندسی رضا منصفی یادگیري ماشین توزیع هاي نمونه و تخمین نقطه اي پارامترها Sampling Distributions and Point Estimation of Parameter (Machine Learning) دانشگاه فردوسی مشهد دانشکده مهندسی رضا منصفی درس هفتم 1 Outline Introduction

More information

Lecture 21: Logit Models for Multinomial Responses Continued

Lecture 21: Logit Models for Multinomial Responses Continued Lecture 21: Logit Models for Multinomial Responses Continued Dipankar Bandyopadhyay, Ph.D. BMTRY 711: Analysis of Categorical Data Spring 2011 Division of Biostatistics and Epidemiology Medical University

More information

Lecture 10: Point Estimation

Lecture 10: Point Estimation Lecture 10: Point Estimation MSU-STT-351-Sum-17B (P. Vellaisamy: MSU-STT-351-Sum-17B) Probability & Statistics for Engineers 1 / 31 Basic Concepts of Point Estimation A point estimate of a parameter θ,

More information

A potentially useful approach to model nonlinearities in time series is to assume different behavior (structural break) in different subsamples

A potentially useful approach to model nonlinearities in time series is to assume different behavior (structural break) in different subsamples 1.3 Regime switching models A potentially useful approach to model nonlinearities in time series is to assume different behavior (structural break) in different subsamples (or regimes). If the dates, the

More information

Your Name (Please print) Did you agree to take the optional portion of the final exam Yes No. Directions

Your Name (Please print) Did you agree to take the optional portion of the final exam Yes No. Directions Your Name (Please print) Did you agree to take the optional portion of the final exam Yes No (Your online answer will be used to verify your response.) Directions There are two parts to the final exam.

More information

Mixed Logit or Random Parameter Logit Model

Mixed Logit or Random Parameter Logit Model Mixed Logit or Random Parameter Logit Model Mixed Logit Model Very flexible model that can approximate any random utility model. This model when compared to standard logit model overcomes the Taste variation

More information

Much of what appears here comes from ideas presented in the book:

Much of what appears here comes from ideas presented in the book: Chapter 11 Robust statistical methods Much of what appears here comes from ideas presented in the book: Huber, Peter J. (1981), Robust statistics, John Wiley & Sons (New York; Chichester). There are many

More information

Choice Probabilities. Logit Choice Probabilities Derivation. Choice Probabilities. Basic Econometrics in Transportation.

Choice Probabilities. Logit Choice Probabilities Derivation. Choice Probabilities. Basic Econometrics in Transportation. 1/31 Choice Probabilities Basic Econometrics in Transportation Logit Models Amir Samimi Civil Engineering Department Sharif University of Technology Primary Source: Discrete Choice Methods with Simulation

More information

Estimating Ordered Categorical Variables Using Panel Data: A Generalised Ordered Probit Model with an Autofit Procedure

Estimating Ordered Categorical Variables Using Panel Data: A Generalised Ordered Probit Model with an Autofit Procedure Journal of Economics and Econometrics Vol. 54, No.1, 2011 pp. 7-23 ISSN 2032-9652 E-ISSN 2032-9660 Estimating Ordered Categorical Variables Using Panel Data: A Generalised Ordered Probit Model with an

More information

Improved Inference for Signal Discovery Under Exceptionally Low False Positive Error Rates

Improved Inference for Signal Discovery Under Exceptionally Low False Positive Error Rates Improved Inference for Signal Discovery Under Exceptionally Low False Positive Error Rates (to appear in Journal of Instrumentation) Igor Volobouev & Alex Trindade Dept. of Physics & Astronomy, Texas Tech

More information