SlideShare a Scribd company logo
1 of 29
Download to read offline
Estimation of Static Discrete Choice Models
         Using Market Level Data
            NBER Methods Lectures


                     Aviv Nevo

           Northwestern University and NBER


                     July 2012
Data Structures


Market-level data
    cross section/time series/panel of markets
Consumer level data
    cross section of consumers
    sometimes: panel (i.e., repeated choices)
    sometimes: second choice data
Combination
    sample of consumers plus market-level data
    quantity/share by demographic groups
    average demographics of purchasers of good j
Market-level Data

We see product-level quantity/market shares by "market"
Data include:
    aggregate (market-level) quantity
    prices/characteristics/advertising
    de…nition of market size
    distribution of demographics
         sample of actual consumers
         data to estimate a parametric distribution

Advantages:
    easier to get
    sample selection less of an issue
Disadvantages
    estimation often harder and identi…cation less clear
Consumer-level Data

See match between consumers and their choices
Data include:
    consumer choices (including choice of outside good)
    prices/characteristics/advertising of all options
    consumer demographics
Advantages:
    impact of demographics
    identi…cation and estimation
    dynamics (especially if we have panel)
Disadvantages
    harder/more costly to get
    sample selection and reporting error
Review of the Model and Notation
Indirect utility function for the J inside goods

                    U (xjt , ξ jt , Ii   pjt , Dit , νit ; θ ),
where
xjt – observed product characteristics
ξ jt – unobserved (by us) product characteristic
Dit – "observed" consumer demographics (e.g., income)
νit – unobserved consumer attributes

     ξ jt will play an important role
          realistic
          will act as a "residual" (why don’ predicted shares …t exactly
                                            t
          – over…tting)
          potentially implies endogeneity
Linear RC (Mixed) Logit Model

A common model is the linear Mixed Logit model

                     uijt = xjt βi + αi pjt + ξ jt + εijt

where

                       αi               α
                               =               + ΠDi + Σvi
                       βi               β

It will be coinvent to write

        uijt   δ(xjt , pjt , ξ jt ; θ 1 ) + µ(xjt , pjt , Di , νi ; θ 2 ) + εijt

where δjt = xjt β + αpjt + ξ jt , and µijt = (pjt xjt ) (ΠDi + Σvi )
Linear RC (Mixed) Logit Model

A common model is the linear Mixed Logit model

                     uijt = xjt βi + αi pjt + ξ jt + εijt

and

        uijt   δ(xjt , pjt , ξ jt ; θ 1 ) + µ(xjt , pjt , Di , νi ; θ 2 ) + εijt

Note:
(1) the mean utility will play a key role in what follows
(2) the interplay between µijt and εijt
(3) the "linear" and "non-linear" parameters
(4) de…nition of a market
Key Challenges for Estimation

Recovering the non-linear parameters, which govern
heterogeneity, without observing consumer level data
The unobserved characteristic, ξ jt
    a main di¤erence from early DC model (earlier models often
    had option speci…c constant in consumer level models)
    generates a potential for correlation with price (or other x’
                                                                s)
    when constructing a counterfactual we will have to deal with
    what happens to ξ jt
Consumer-level vs Market-level data
    with consumer data, the …rst issue is less of a problem
    the "endogeneity" problem can exist with both consumer and
    market level data: a point often missed
What would we do if we had micro data?
Estimate in two steps.
First step, estimate (δ, θ 2 ) say by MLE

Pr(yit = j jDit , xt , pt , ξ t , θ ) = Pr(yit = j jDit , δ(xt , pt , ξ t , θ 1 ), xt , pt , θ

e.g., assume εijt is iid double exponential (Logit), and Σ = 0

                            expfδjt + (pjt xjt )ΠDi g
                   =
                       ∑ J =0
                         k      expfδkt + (pkt xkt )ΠDi g

Second step, recover θ 1

                           bjt = xjt β + αpjt + ξ
                           δ                      jt

ξ jt is the residual. If it is correlated with price (or x’ need
                                                           s)
IVs (or an assumption about the panel structure)
Intuition from estimation with consumer data
Estimation in 2 steps: …rst recover δ and θ 2 (parameters of
heterogeneity) and then recover θ 1
Di¤erent variation identfying the di¤erent parameters
    θ 2 is identi…ed from variation in demographics holding the
    level (i.e., δ) constant
         If Σ 6= 0 then it is identi…ed from within market share
         variation in choice probabilities
    θ 1 is identi…ed from cross market variation (and appropriate
    exclusion restrictions)
With market-level data will in some sense try to follow a
similar logic
    however, we do not have within market variation to identify θ 2
    will rely on cross market variation (in choice sets and
    demographics) for both steps
    a key issue is that ξ jt is not held constant
Estimation with market data: preliminaries


In principle, we could consider estimating θ by min the distance
between observed and predicted shares:

                       min kSt      sj (xt , pt , θ )k
                         θ



    Issues:
         computation (all parameters enter non-linearly)
         more importantly,
              prices might be correlated with the ξ jt (“structural” error)
              standard IV methods do not work
Inversion

Instead, follow estimation method proposed by Berry (1994)
and BLP (1995)
Key insight:
    with ξ jt predicted shares can equal observed shares
                                 Z
    σj (δt , xt , pt ; θ 2 ) =       1 uijt       uikt    8k 6= j dF (εit , Dit , νit ) = Sjt

    under weak conditions this mapping can be inverted
                                          1
                                 δt = σ       (St , xt , pt ; θ 2 )

    the mean utility is linear in ξ jt ; thus, we can form linear
    moment conditions
    estimate parameters via GMM
Important (and often missed) point


IVs play dual role (recall 2 steps with consumer level data)
    generate moment conditions to identify θ 2
    deal with the correlation of prices and error
Even if prices are exogenous still need IVs
This last point is often missed
Why di¤erent than consumer-level data?
    with aggregate data we only know the mean choice probability,
    i.e., the market share
    with consumer level data we know more moments of the
    distribution of choice probabilities (holding ξ jt constant) :
    these moments help identify the heterogeneity parameters
I will now go over the steps of the estimation
For now I assume that we have valid IVs
    later we will discuss where these come from
I will follow the original BLP algorithm
    I will discuss recently proposed alternatives later
    I will also discuss results on the performance of the algorithm
The BLP Estimation Algorithm



1. Compute predicted shares: given δt and θ 2 compute
   σj (δt , xt , pt ; θ 2 )
2. Inversion: given θ 2 search for δt that equates σj (δt , xt , pt ; θ 2 )
   and the observed market shares
        the search for δt will call the function computed in (1)
3. Use the computed δt to compute ξ jt and form the GMM
   objective function (as a function of θ)
4. Search for the value of θ that minimizes the objective function
Example: Estimation of the Logit Model

Data: aggregate quantity, price characteristics. Market share
sjt = qjt /Mt
    Note: need for data on market size
Computing market share

                                   expfδjt g
                      sjt =
                              ∑ J =0
                                k      expfδkt g

Inversion

       ln(sjt )   ln(s0t ) = δjt       δ0t = xjt β + αpjt + ξ jt

Estimate using linear methods (e.g., 2SLS) with
ln(sjt ) ln(s0t ) as the "dependent variable".
Step 1: Compute the market shares predicted by the model
      Given δt and θ 2 (and the data) compute
                                    Z
       σj (δt , xt , pt ; θ 2 ) =       1 [uijt         uikt    8k 6= j ] dF (εit , Dit , νit )

      For some models this can be done analytically (e.g., Logit,
      Nested Logit and a few others)
      Generally the integral is computed numerically
      A common way to do this is via simulation
                                            1    ns
                                                               expfδjt + (pjt xjt )(ΠDi + Σvi )g
      e
      σj (δt , x t , p t , F ns ; θ 2 ) =
                                            ns   ∑ 1 + ∑J             expfδkt + (pkt xkt )(ΠDi + Σ
                                                 i =1          k =1

      where vi and Di , i = 1, ..., ns are draws from Fv (v ) and
      FD ( D ) ,
      Note:
             the ε’ are integrated analytically
                   s
             other simulators (importance sampling, Halton seq)
             integral can be approximated in other ways (e.g., quadrature)
Step 2: Invert the shares to get mean utilities
Given θ 2 , for each market compute mean utility, δt , that
equates the market shares computed in Step 1 to observed
shares by solving

                   e
                   σ(δt , xt , pt , Fns ; θ 2 ) = St

For some model (e.g., Logit and Nested Logit) this inversion
can be computed analytically.
Generally solved using a contraction mapping for each market

 δh +1 = δh + ln(St )
  t       t               ln(σ(δh , xt , pt , Fns ; θ 2 ) h = 0, ..., H,
                             e t

where H is the smallest integer such that δH
                                           t             δH
                                                          t
                                                              1
                                                                  <ρ
δH is the approximation to δt
 t
Choosing a high tolerance level, ρ, is crucial (at least 10         12 )
Step 3: Compute the GMM objective


Once the inversion has been computed the error term is
de…ned as
                          1
                      e
          ξ jt (θ ) = σ       (St , xt , pt ; θ 2 )   xjt β   αpjt

Note: θ 1 enters this term, and the GMM objective, in a linear
fashion, while θ 2 enters non-linearly.
This error is interacted with the IV to form

                          ξ (θ )0 ZWZ 0 ξ (θ )

where W is the GMM weight matrix
Step 4: Search for the parameters that maximize the
                      objective


   In general, the search is non-linear
   It can be simpli…ed in two ways.
        “concentrate out” the linear parameters and limit search to θ 2
        use the Implicit Function Theorem to compute the analytic
        gradient and use it to aid the search
   Still highly non-linear so much care should be taken:
        start search from di¤erent starting points
        use di¤erent optimizers
Identi…cation

Ideal experiment: randomly vary prices, characteristics and
availability of products, and see where consumers switch (i.e.,
shares of which products respond)
In practice we will use IVs that try to mimic this ideal
experiment
Next lecture we will see examples
Is there "enough" variation to identify substitution?
Solutions:
    supply information (BLP)
    many markets (Nevo)
    add micro information (Petrin, MicroBLP)
For further discussion and proofs (in NP case) see Haile and
Berry
The Limit Distribution for the Parameter Estimates
   Can be obtained in a similar way to any GMM estimator
   With one cross section of observations is
                     J   1
                             (Γ0 Γ)   1 0
                                       Γ V0 Γ ( Γ 0 Γ )   1

   where
       Γ – derivative of the expectation of the moments wrt
       parameters
       V0 – variance-covariance of those moments evaluated
   V0 has (at least) two orthogonal sources of randomness
       randomness generated by random draws on ξ
       variance generated by simulation draws.
       in samples based on a small set of consumers: randomness in
       sample
   Berry Linton and Pakes, (2004 RESTUD): last 2 components
   likely to be very large if market shares are small.
   A separate issue: limit in J or in T
       in large part depends on the data
Challenges
Knittel and Metaxoglou found that di¤erent optimizers give
di¤erent results and are sensitive to starting values
Some have used these results to argue against the use of the
model
Note, that its unlikely that a researcher will mimic the KM
exercise
    start from one starting point and not check others
    some of the algorithms they use are not very good and rarely
    used
It ends up that much (but not all!) of their results go away if
    use tight tolerance in inversion (10   12 )
    proper code
    reasonable optimizers
This is an important warning about the challenges of NL
estimation
MPEC

Judd and Su, and Dube, Fox and Su, advocate the use of
MPEC algorithm instead of the Nested …xed point
The basic idea: maximize the GMM objective function subject
to the "equilibrium" constraints (i.e., that the predicted
shares equal the observed shares)
Avoids the need to perform the inversion at each and every
iteration of the search
    performing the inversion for values of the parameters far from
    the truth can be quite costly
The problem to solve can be quite large, but e¢ cient
optimzers (e.g., Knitro) can solve it e¤ectively.
DFS report signi…cant speed improvements
MPEC (cont)

Formally

                    min      ξ 0 ZWZ0 ξ
                     θ,ξ
             subject to       e
                              σ (ξ; x, p, Fns , θ ) = S

Note
    the min is over both θ and ξ: a much higher dimension search
    ξ is a vector of parameters, and unlike before it is not a
    function of θ
    avoid the need for an inversion: equilibrium constraint only
    holds at the optimum
    in principle, should yield the same solution as the nested …xed
    point
Many bells and whistles that I will skip
ABLP
Lee (2011) builds on some of the ideas proposed in dynamic
choice to propose what he calls Approximate BLP
The basic idea
    Start with a guess to ξ, denoted ξ 0 , and use it to compute a
    …rst order Taylor approximation to σ(ξ t , xt , pt ; θ ) given by

                                                               ∂ ln s (ξ 0 ; θ )
    ln s (ξ t ; θ )    ln s A (ξ t ; θ )   ln s (ξ 0 ; θ ) +
                                                   t                    0
                                                                         t
                                                                                 (ξ t   ξ0 )
                                                                                         t
                                                                   ln ξ t

    From ln St = ln s A (ξ t ; θ ) we get
                                       "                 #     1
                                     ∂ ln s (ξ 0 ; θ )
     ξt =    Φt ( ξ 0 , θ )
                    t           ξ0 +
                                 t            0
                                               t
                                                                   (ln St    ln s (ξ 0 ; θ ))
                                                                                     t
                                         ln ξ t

    Use this approximation for estimation

                              min Φ(ξ 0 , θ )0 ZWZ0 Φ(ξ 0 , θ )
                               θ
ABLP (cont)

Nest this idea into K-step procedure
    Step 1: Obtain new GMM estimate

             θ K = arg min Φ(ξ K   1
                                       , θ )0 ZWZ0 Φ(ξ K   1
                                                               , θ)
                       θ

    Step 2: Update ξ

                           ξ K = Φ(ξ K
                                     t
                                          1
                                              , θK )

    Repeat until convergence
Like MPEC avoids inversion at each stage, but has low
dimensional search
Lee reports signi…cant improvements over MPEC
Disclaimer: still a WP and has not been signi…cantly tested
Comparing the methods


Patel (2012, chapter 2 NWU thesis) compared the 3 methods
Comparing the methods




Word of caution: MPEC results can probably be signi…cantly
improved with better implementation
This is just an example of what one might expect if asking a
(good) RA to program these methods

More Related Content

What's hot

07.12.2012 - Aprajit Mahajan
07.12.2012 - Aprajit Mahajan07.12.2012 - Aprajit Mahajan
07.12.2012 - Aprajit MahajanAMDSeminarSeries
 
Discrete Probability Distributions
Discrete  Probability DistributionsDiscrete  Probability Distributions
Discrete Probability DistributionsE-tan
 
Whitcher Ismrm 2009
Whitcher Ismrm 2009Whitcher Ismrm 2009
Whitcher Ismrm 2009bwhitcher
 
Endogeneous Inequality
Endogeneous InequalityEndogeneous Inequality
Endogeneous Inequalitymatthias_g
 
Interacting Agents Produce Endogenous Inequality
Interacting Agents Produce Endogenous InequalityInteracting Agents Produce Endogenous Inequality
Interacting Agents Produce Endogenous InequalityStephen Kinsella
 
Context-aware similarities within the factorization framework (CaRR 2013 pres...
Context-aware similarities within the factorization framework (CaRR 2013 pres...Context-aware similarities within the factorization framework (CaRR 2013 pres...
Context-aware similarities within the factorization framework (CaRR 2013 pres...Balázs Hidasi
 
Lesson 13: Exponential and Logarithmic Functions (Section 021 handout)
Lesson 13: Exponential and Logarithmic Functions (Section 021 handout)Lesson 13: Exponential and Logarithmic Functions (Section 021 handout)
Lesson 13: Exponential and Logarithmic Functions (Section 021 handout)Matthew Leingang
 
Lesson 15: Exponential Growth and Decay
Lesson 15: Exponential Growth and DecayLesson 15: Exponential Growth and Decay
Lesson 15: Exponential Growth and DecayMatthew Leingang
 
Biased normalized cuts
Biased normalized cutsBiased normalized cuts
Biased normalized cutsirisshicat
 
Lesson 13: Related Rates Problems
Lesson 13: Related Rates ProblemsLesson 13: Related Rates Problems
Lesson 13: Related Rates ProblemsMatthew Leingang
 
Lesson 23: The Definite Integral (handout)
Lesson 23: The Definite Integral (handout)Lesson 23: The Definite Integral (handout)
Lesson 23: The Definite Integral (handout)Matthew Leingang
 
Is ABC a new empirical Bayes approach?
Is ABC a new empirical Bayes approach?Is ABC a new empirical Bayes approach?
Is ABC a new empirical Bayes approach?Christian Robert
 
Lesson 14: Derivatives of Logarithmic and Exponential Functions
Lesson 14: Derivatives of Logarithmic and Exponential FunctionsLesson 14: Derivatives of Logarithmic and Exponential Functions
Lesson 14: Derivatives of Logarithmic and Exponential FunctionsMatthew Leingang
 
Statement of stochastic programming problems
Statement of stochastic programming problemsStatement of stochastic programming problems
Statement of stochastic programming problemsSSA KPI
 

What's hot (20)

07.12.2012 - Aprajit Mahajan
07.12.2012 - Aprajit Mahajan07.12.2012 - Aprajit Mahajan
07.12.2012 - Aprajit Mahajan
 
1. df tests
1. df tests1. df tests
1. df tests
 
MUMS: Bayesian, Fiducial, and Frequentist Conference - Variable Selection in ...
MUMS: Bayesian, Fiducial, and Frequentist Conference - Variable Selection in ...MUMS: Bayesian, Fiducial, and Frequentist Conference - Variable Selection in ...
MUMS: Bayesian, Fiducial, and Frequentist Conference - Variable Selection in ...
 
Discrete Probability Distributions
Discrete  Probability DistributionsDiscrete  Probability Distributions
Discrete Probability Distributions
 
Interview Preparation
Interview PreparationInterview Preparation
Interview Preparation
 
Whitcher Ismrm 2009
Whitcher Ismrm 2009Whitcher Ismrm 2009
Whitcher Ismrm 2009
 
Endogeneous Inequality
Endogeneous InequalityEndogeneous Inequality
Endogeneous Inequality
 
ABC in Varanasi
ABC in VaranasiABC in Varanasi
ABC in Varanasi
 
Interacting Agents Produce Endogenous Inequality
Interacting Agents Produce Endogenous InequalityInteracting Agents Produce Endogenous Inequality
Interacting Agents Produce Endogenous Inequality
 
Context-aware similarities within the factorization framework (CaRR 2013 pres...
Context-aware similarities within the factorization framework (CaRR 2013 pres...Context-aware similarities within the factorization framework (CaRR 2013 pres...
Context-aware similarities within the factorization framework (CaRR 2013 pres...
 
Lesson 13: Exponential and Logarithmic Functions (Section 021 handout)
Lesson 13: Exponential and Logarithmic Functions (Section 021 handout)Lesson 13: Exponential and Logarithmic Functions (Section 021 handout)
Lesson 13: Exponential and Logarithmic Functions (Section 021 handout)
 
Lesson 15: Exponential Growth and Decay
Lesson 15: Exponential Growth and DecayLesson 15: Exponential Growth and Decay
Lesson 15: Exponential Growth and Decay
 
Biased normalized cuts
Biased normalized cutsBiased normalized cuts
Biased normalized cuts
 
Lesson 13: Related Rates Problems
Lesson 13: Related Rates ProblemsLesson 13: Related Rates Problems
Lesson 13: Related Rates Problems
 
Lesson 23: The Definite Integral (handout)
Lesson 23: The Definite Integral (handout)Lesson 23: The Definite Integral (handout)
Lesson 23: The Definite Integral (handout)
 
Desm s mathematics
Desm s mathematicsDesm s mathematics
Desm s mathematics
 
Is ABC a new empirical Bayes approach?
Is ABC a new empirical Bayes approach?Is ABC a new empirical Bayes approach?
Is ABC a new empirical Bayes approach?
 
Lesson 14: Derivatives of Logarithmic and Exponential Functions
Lesson 14: Derivatives of Logarithmic and Exponential FunctionsLesson 14: Derivatives of Logarithmic and Exponential Functions
Lesson 14: Derivatives of Logarithmic and Exponential Functions
 
Al24258261
Al24258261Al24258261
Al24258261
 
Statement of stochastic programming problems
Statement of stochastic programming problemsStatement of stochastic programming problems
Statement of stochastic programming problems
 

Viewers also liked

Lecture 2: NBERMetrics
Lecture 2: NBERMetricsLecture 2: NBERMetrics
Lecture 2: NBERMetricsNBER
 
Applications and Choice of IVs.
Applications and Choice of IVs.Applications and Choice of IVs.
Applications and Choice of IVs.NBER
 
L3 1b
L3 1bL3 1b
L3 1bNBER
 
Lecture 1: NBERMetrics
Lecture 1: NBERMetricsLecture 1: NBERMetrics
Lecture 1: NBERMetricsNBER
 
Lecture 4: NBERMetrics
Lecture 4: NBERMetricsLecture 4: NBERMetrics
Lecture 4: NBERMetricsNBER
 
Dynamic Demand
Dynamic DemandDynamic Demand
Dynamic DemandNBER
 
Nbe rcausalpredictionv111 lecture2
Nbe rcausalpredictionv111 lecture2Nbe rcausalpredictionv111 lecture2
Nbe rcausalpredictionv111 lecture2NBER
 
Big Data Analysis
Big Data AnalysisBig Data Analysis
Big Data AnalysisNBER
 
Nbe rtopicsandrecomvlecture1
Nbe rtopicsandrecomvlecture1Nbe rtopicsandrecomvlecture1
Nbe rtopicsandrecomvlecture1NBER
 
Nber slides11 lecture2
Nber slides11 lecture2Nber slides11 lecture2
Nber slides11 lecture2NBER
 
Introduction to Supervised ML Concepts and Algorithms
Introduction to Supervised ML Concepts and AlgorithmsIntroduction to Supervised ML Concepts and Algorithms
Introduction to Supervised ML Concepts and AlgorithmsNBER
 
Nuts and bolts
Nuts and boltsNuts and bolts
Nuts and boltsNBER
 
Applications: Prediction
Applications: PredictionApplications: Prediction
Applications: PredictionNBER
 
Econometrics of High-Dimensional Sparse Models
Econometrics of High-Dimensional Sparse ModelsEconometrics of High-Dimensional Sparse Models
Econometrics of High-Dimensional Sparse ModelsNBER
 
High-Dimensional Methods: Examples for Inference on Structural Effects
High-Dimensional Methods: Examples for Inference on Structural EffectsHigh-Dimensional Methods: Examples for Inference on Structural Effects
High-Dimensional Methods: Examples for Inference on Structural EffectsNBER
 
Acemoglu lecture4
Acemoglu lecture4Acemoglu lecture4
Acemoglu lecture4NBER
 
Jackson nber-slides2014 lecture3
Jackson nber-slides2014 lecture3Jackson nber-slides2014 lecture3
Jackson nber-slides2014 lecture3NBER
 
Acemoglu lecture2
Acemoglu lecture2Acemoglu lecture2
Acemoglu lecture2NBER
 
Jackson nber-slides2014 lecture1
Jackson nber-slides2014 lecture1Jackson nber-slides2014 lecture1
Jackson nber-slides2014 lecture1NBER
 
Dynare exercise
Dynare exerciseDynare exercise
Dynare exerciseNBER
 

Viewers also liked (20)

Lecture 2: NBERMetrics
Lecture 2: NBERMetricsLecture 2: NBERMetrics
Lecture 2: NBERMetrics
 
Applications and Choice of IVs.
Applications and Choice of IVs.Applications and Choice of IVs.
Applications and Choice of IVs.
 
L3 1b
L3 1bL3 1b
L3 1b
 
Lecture 1: NBERMetrics
Lecture 1: NBERMetricsLecture 1: NBERMetrics
Lecture 1: NBERMetrics
 
Lecture 4: NBERMetrics
Lecture 4: NBERMetricsLecture 4: NBERMetrics
Lecture 4: NBERMetrics
 
Dynamic Demand
Dynamic DemandDynamic Demand
Dynamic Demand
 
Nbe rcausalpredictionv111 lecture2
Nbe rcausalpredictionv111 lecture2Nbe rcausalpredictionv111 lecture2
Nbe rcausalpredictionv111 lecture2
 
Big Data Analysis
Big Data AnalysisBig Data Analysis
Big Data Analysis
 
Nbe rtopicsandrecomvlecture1
Nbe rtopicsandrecomvlecture1Nbe rtopicsandrecomvlecture1
Nbe rtopicsandrecomvlecture1
 
Nber slides11 lecture2
Nber slides11 lecture2Nber slides11 lecture2
Nber slides11 lecture2
 
Introduction to Supervised ML Concepts and Algorithms
Introduction to Supervised ML Concepts and AlgorithmsIntroduction to Supervised ML Concepts and Algorithms
Introduction to Supervised ML Concepts and Algorithms
 
Nuts and bolts
Nuts and boltsNuts and bolts
Nuts and bolts
 
Applications: Prediction
Applications: PredictionApplications: Prediction
Applications: Prediction
 
Econometrics of High-Dimensional Sparse Models
Econometrics of High-Dimensional Sparse ModelsEconometrics of High-Dimensional Sparse Models
Econometrics of High-Dimensional Sparse Models
 
High-Dimensional Methods: Examples for Inference on Structural Effects
High-Dimensional Methods: Examples for Inference on Structural EffectsHigh-Dimensional Methods: Examples for Inference on Structural Effects
High-Dimensional Methods: Examples for Inference on Structural Effects
 
Acemoglu lecture4
Acemoglu lecture4Acemoglu lecture4
Acemoglu lecture4
 
Jackson nber-slides2014 lecture3
Jackson nber-slides2014 lecture3Jackson nber-slides2014 lecture3
Jackson nber-slides2014 lecture3
 
Acemoglu lecture2
Acemoglu lecture2Acemoglu lecture2
Acemoglu lecture2
 
Jackson nber-slides2014 lecture1
Jackson nber-slides2014 lecture1Jackson nber-slides2014 lecture1
Jackson nber-slides2014 lecture1
 
Dynare exercise
Dynare exerciseDynare exercise
Dynare exercise
 

Similar to Estimation of Static Discrete Choice Models Using Market Level Data

T. Proietti, M. Marczak, G. Mazzi - EuroMInd-D: A density estimate of monthly...
T. Proietti, M. Marczak, G. Mazzi - EuroMInd-D: A density estimate of monthly...T. Proietti, M. Marczak, G. Mazzi - EuroMInd-D: A density estimate of monthly...
T. Proietti, M. Marczak, G. Mazzi - EuroMInd-D: A density estimate of monthly...Istituto nazionale di statistica
 
Paris2012 session4
Paris2012 session4Paris2012 session4
Paris2012 session4Cdiscount
 
State Space Model
State Space ModelState Space Model
State Space ModelCdiscount
 
Scalable inference for a full multivariate stochastic volatility
Scalable inference for a full multivariate stochastic volatilityScalable inference for a full multivariate stochastic volatility
Scalable inference for a full multivariate stochastic volatilitySYRTO Project
 
Digital Signal Processing[ECEG-3171]-Ch1_L07
Digital Signal Processing[ECEG-3171]-Ch1_L07Digital Signal Processing[ECEG-3171]-Ch1_L07
Digital Signal Processing[ECEG-3171]-Ch1_L07Rediet Moges
 
Incomplete-Market Equilibrium with Unhedgeable Fundamentals and Heterogeneous...
Incomplete-Market Equilibrium with Unhedgeable Fundamentals and Heterogeneous...Incomplete-Market Equilibrium with Unhedgeable Fundamentals and Heterogeneous...
Incomplete-Market Equilibrium with Unhedgeable Fundamentals and Heterogeneous...guasoni
 
Mm chap08 -_lossy_compression_algorithms
Mm chap08 -_lossy_compression_algorithmsMm chap08 -_lossy_compression_algorithms
Mm chap08 -_lossy_compression_algorithmsEellekwameowusu
 
Dynamic Jump Intensity Dynamic GARCH Volatility
Dynamic Jump Intensity Dynamic GARCH Volatility Dynamic Jump Intensity Dynamic GARCH Volatility
Dynamic Jump Intensity Dynamic GARCH Volatility Amit Sinha
 
Cerdeira and silva (2010)
Cerdeira and silva (2010)Cerdeira and silva (2010)
Cerdeira and silva (2010)Maria De Mello
 
2_GLMs_printable.pdf
2_GLMs_printable.pdf2_GLMs_printable.pdf
2_GLMs_printable.pdfElio Laureano
 
MCQMC_talk_Chiheb_Ben_hammouda.pdf
MCQMC_talk_Chiheb_Ben_hammouda.pdfMCQMC_talk_Chiheb_Ben_hammouda.pdf
MCQMC_talk_Chiheb_Ben_hammouda.pdfChiheb Ben Hammouda
 
Planning Under Uncertainty With Markov Decision Processes
Planning Under Uncertainty With Markov Decision ProcessesPlanning Under Uncertainty With Markov Decision Processes
Planning Under Uncertainty With Markov Decision Processesahmad bassiouny
 
The convenience yield implied by quadratic volatility smiles presentation [...
The convenience yield implied by quadratic volatility smiles   presentation [...The convenience yield implied by quadratic volatility smiles   presentation [...
The convenience yield implied by quadratic volatility smiles presentation [...yigalbt
 
Econophysics V: Market States and Subtleties of Correlations - Thomas Guhr
Econophysics V: Market  States and Subtleties of Correlations - Thomas GuhrEconophysics V: Market  States and Subtleties of Correlations - Thomas Guhr
Econophysics V: Market States and Subtleties of Correlations - Thomas GuhrLake Como School of Advanced Studies
 

Similar to Estimation of Static Discrete Choice Models Using Market Level Data (20)

T. Proietti, M. Marczak, G. Mazzi - EuroMInd-D: A density estimate of monthly...
T. Proietti, M. Marczak, G. Mazzi - EuroMInd-D: A density estimate of monthly...T. Proietti, M. Marczak, G. Mazzi - EuroMInd-D: A density estimate of monthly...
T. Proietti, M. Marczak, G. Mazzi - EuroMInd-D: A density estimate of monthly...
 
Paris2012 session4
Paris2012 session4Paris2012 session4
Paris2012 session4
 
State Space Model
State Space ModelState Space Model
State Space Model
 
Pres fibe2015-pbs-org
Pres fibe2015-pbs-orgPres fibe2015-pbs-org
Pres fibe2015-pbs-org
 
Pres-Fibe2015-pbs-Org
Pres-Fibe2015-pbs-OrgPres-Fibe2015-pbs-Org
Pres-Fibe2015-pbs-Org
 
PhD defense talk slides
PhD  defense talk slidesPhD  defense talk slides
PhD defense talk slides
 
Scalable inference for a full multivariate stochastic volatility
Scalable inference for a full multivariate stochastic volatilityScalable inference for a full multivariate stochastic volatility
Scalable inference for a full multivariate stochastic volatility
 
AINL 2016: Strijov
AINL 2016: StrijovAINL 2016: Strijov
AINL 2016: Strijov
 
Digital Signal Processing[ECEG-3171]-Ch1_L07
Digital Signal Processing[ECEG-3171]-Ch1_L07Digital Signal Processing[ECEG-3171]-Ch1_L07
Digital Signal Processing[ECEG-3171]-Ch1_L07
 
2019 GDRR: Blockchain Data Analytics - Dissecting Blockchain Price Analytics...
2019 GDRR: Blockchain Data Analytics  - Dissecting Blockchain Price Analytics...2019 GDRR: Blockchain Data Analytics  - Dissecting Blockchain Price Analytics...
2019 GDRR: Blockchain Data Analytics - Dissecting Blockchain Price Analytics...
 
Incomplete-Market Equilibrium with Unhedgeable Fundamentals and Heterogeneous...
Incomplete-Market Equilibrium with Unhedgeable Fundamentals and Heterogeneous...Incomplete-Market Equilibrium with Unhedgeable Fundamentals and Heterogeneous...
Incomplete-Market Equilibrium with Unhedgeable Fundamentals and Heterogeneous...
 
Mm chap08 -_lossy_compression_algorithms
Mm chap08 -_lossy_compression_algorithmsMm chap08 -_lossy_compression_algorithms
Mm chap08 -_lossy_compression_algorithms
 
Dynamic Jump Intensity Dynamic GARCH Volatility
Dynamic Jump Intensity Dynamic GARCH Volatility Dynamic Jump Intensity Dynamic GARCH Volatility
Dynamic Jump Intensity Dynamic GARCH Volatility
 
Cerdeira and silva (2010)
Cerdeira and silva (2010)Cerdeira and silva (2010)
Cerdeira and silva (2010)
 
2_GLMs_printable.pdf
2_GLMs_printable.pdf2_GLMs_printable.pdf
2_GLMs_printable.pdf
 
MCQMC_talk_Chiheb_Ben_hammouda.pdf
MCQMC_talk_Chiheb_Ben_hammouda.pdfMCQMC_talk_Chiheb_Ben_hammouda.pdf
MCQMC_talk_Chiheb_Ben_hammouda.pdf
 
Planning Under Uncertainty With Markov Decision Processes
Planning Under Uncertainty With Markov Decision ProcessesPlanning Under Uncertainty With Markov Decision Processes
Planning Under Uncertainty With Markov Decision Processes
 
The convenience yield implied by quadratic volatility smiles presentation [...
The convenience yield implied by quadratic volatility smiles   presentation [...The convenience yield implied by quadratic volatility smiles   presentation [...
The convenience yield implied by quadratic volatility smiles presentation [...
 
Econophysics V: Market States and Subtleties of Correlations - Thomas Guhr
Econophysics V: Market  States and Subtleties of Correlations - Thomas GuhrEconophysics V: Market  States and Subtleties of Correlations - Thomas Guhr
Econophysics V: Market States and Subtleties of Correlations - Thomas Guhr
 
ML unit-1.pptx
ML unit-1.pptxML unit-1.pptx
ML unit-1.pptx
 

More from NBER

FISCAL STIMULUS IN ECONOMIC UNIONS: WHAT ROLE FOR STATES
FISCAL STIMULUS IN ECONOMIC UNIONS: WHAT ROLE FOR STATESFISCAL STIMULUS IN ECONOMIC UNIONS: WHAT ROLE FOR STATES
FISCAL STIMULUS IN ECONOMIC UNIONS: WHAT ROLE FOR STATESNBER
 
Business in the United States Who Owns it and How Much Tax They Pay
Business in the United States Who Owns it and How Much Tax They PayBusiness in the United States Who Owns it and How Much Tax They Pay
Business in the United States Who Owns it and How Much Tax They PayNBER
 
Redistribution through Minimum Wage Regulation: An Analysis of Program Linkag...
Redistribution through Minimum Wage Regulation: An Analysis of Program Linkag...Redistribution through Minimum Wage Regulation: An Analysis of Program Linkag...
Redistribution through Minimum Wage Regulation: An Analysis of Program Linkag...NBER
 
The Distributional E ffects of U.S. Clean Energy Tax Credits
The Distributional Effects of U.S. Clean Energy Tax CreditsThe Distributional Effects of U.S. Clean Energy Tax Credits
The Distributional E ffects of U.S. Clean Energy Tax CreditsNBER
 
An Experimental Evaluation of Strategies to Increase Property Tax Compliance:...
An Experimental Evaluation of Strategies to Increase Property Tax Compliance:...An Experimental Evaluation of Strategies to Increase Property Tax Compliance:...
An Experimental Evaluation of Strategies to Increase Property Tax Compliance:...NBER
 
Recommenders, Topics, and Text
Recommenders, Topics, and TextRecommenders, Topics, and Text
Recommenders, Topics, and TextNBER
 
Machine Learning and Causal Inference
Machine Learning and Causal InferenceMachine Learning and Causal Inference
Machine Learning and Causal InferenceNBER
 
The NBER Working Paper Series at 20,000 - Joshua Gans
The NBER Working Paper Series at 20,000 - Joshua GansThe NBER Working Paper Series at 20,000 - Joshua Gans
The NBER Working Paper Series at 20,000 - Joshua GansNBER
 
The NBER Working Paper Series at 20,000 - Claudia Goldin
The NBER Working Paper Series at 20,000 - Claudia GoldinThe NBER Working Paper Series at 20,000 - Claudia Goldin
The NBER Working Paper Series at 20,000 - Claudia GoldinNBER
 
The NBER Working Paper Series at 20,000 - James Poterba
The NBER Working Paper Series at 20,000 - James PoterbaThe NBER Working Paper Series at 20,000 - James Poterba
The NBER Working Paper Series at 20,000 - James PoterbaNBER
 
The NBER Working Paper Series at 20,000 - Scott Stern
The NBER Working Paper Series at 20,000 - Scott SternThe NBER Working Paper Series at 20,000 - Scott Stern
The NBER Working Paper Series at 20,000 - Scott SternNBER
 
The NBER Working Paper Series at 20,000 - Glenn Ellison
The NBER Working Paper Series at 20,000 - Glenn EllisonThe NBER Working Paper Series at 20,000 - Glenn Ellison
The NBER Working Paper Series at 20,000 - Glenn EllisonNBER
 

More from NBER (12)

FISCAL STIMULUS IN ECONOMIC UNIONS: WHAT ROLE FOR STATES
FISCAL STIMULUS IN ECONOMIC UNIONS: WHAT ROLE FOR STATESFISCAL STIMULUS IN ECONOMIC UNIONS: WHAT ROLE FOR STATES
FISCAL STIMULUS IN ECONOMIC UNIONS: WHAT ROLE FOR STATES
 
Business in the United States Who Owns it and How Much Tax They Pay
Business in the United States Who Owns it and How Much Tax They PayBusiness in the United States Who Owns it and How Much Tax They Pay
Business in the United States Who Owns it and How Much Tax They Pay
 
Redistribution through Minimum Wage Regulation: An Analysis of Program Linkag...
Redistribution through Minimum Wage Regulation: An Analysis of Program Linkag...Redistribution through Minimum Wage Regulation: An Analysis of Program Linkag...
Redistribution through Minimum Wage Regulation: An Analysis of Program Linkag...
 
The Distributional E ffects of U.S. Clean Energy Tax Credits
The Distributional Effects of U.S. Clean Energy Tax CreditsThe Distributional Effects of U.S. Clean Energy Tax Credits
The Distributional E ffects of U.S. Clean Energy Tax Credits
 
An Experimental Evaluation of Strategies to Increase Property Tax Compliance:...
An Experimental Evaluation of Strategies to Increase Property Tax Compliance:...An Experimental Evaluation of Strategies to Increase Property Tax Compliance:...
An Experimental Evaluation of Strategies to Increase Property Tax Compliance:...
 
Recommenders, Topics, and Text
Recommenders, Topics, and TextRecommenders, Topics, and Text
Recommenders, Topics, and Text
 
Machine Learning and Causal Inference
Machine Learning and Causal InferenceMachine Learning and Causal Inference
Machine Learning and Causal Inference
 
The NBER Working Paper Series at 20,000 - Joshua Gans
The NBER Working Paper Series at 20,000 - Joshua GansThe NBER Working Paper Series at 20,000 - Joshua Gans
The NBER Working Paper Series at 20,000 - Joshua Gans
 
The NBER Working Paper Series at 20,000 - Claudia Goldin
The NBER Working Paper Series at 20,000 - Claudia GoldinThe NBER Working Paper Series at 20,000 - Claudia Goldin
The NBER Working Paper Series at 20,000 - Claudia Goldin
 
The NBER Working Paper Series at 20,000 - James Poterba
The NBER Working Paper Series at 20,000 - James PoterbaThe NBER Working Paper Series at 20,000 - James Poterba
The NBER Working Paper Series at 20,000 - James Poterba
 
The NBER Working Paper Series at 20,000 - Scott Stern
The NBER Working Paper Series at 20,000 - Scott SternThe NBER Working Paper Series at 20,000 - Scott Stern
The NBER Working Paper Series at 20,000 - Scott Stern
 
The NBER Working Paper Series at 20,000 - Glenn Ellison
The NBER Working Paper Series at 20,000 - Glenn EllisonThe NBER Working Paper Series at 20,000 - Glenn Ellison
The NBER Working Paper Series at 20,000 - Glenn Ellison
 

Recently uploaded

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 

Recently uploaded (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Estimation of Static Discrete Choice Models Using Market Level Data

  • 1. Estimation of Static Discrete Choice Models Using Market Level Data NBER Methods Lectures Aviv Nevo Northwestern University and NBER July 2012
  • 2. Data Structures Market-level data cross section/time series/panel of markets Consumer level data cross section of consumers sometimes: panel (i.e., repeated choices) sometimes: second choice data Combination sample of consumers plus market-level data quantity/share by demographic groups average demographics of purchasers of good j
  • 3. Market-level Data We see product-level quantity/market shares by "market" Data include: aggregate (market-level) quantity prices/characteristics/advertising de…nition of market size distribution of demographics sample of actual consumers data to estimate a parametric distribution Advantages: easier to get sample selection less of an issue Disadvantages estimation often harder and identi…cation less clear
  • 4. Consumer-level Data See match between consumers and their choices Data include: consumer choices (including choice of outside good) prices/characteristics/advertising of all options consumer demographics Advantages: impact of demographics identi…cation and estimation dynamics (especially if we have panel) Disadvantages harder/more costly to get sample selection and reporting error
  • 5. Review of the Model and Notation Indirect utility function for the J inside goods U (xjt , ξ jt , Ii pjt , Dit , νit ; θ ), where xjt – observed product characteristics ξ jt – unobserved (by us) product characteristic Dit – "observed" consumer demographics (e.g., income) νit – unobserved consumer attributes ξ jt will play an important role realistic will act as a "residual" (why don’ predicted shares …t exactly t – over…tting) potentially implies endogeneity
  • 6. Linear RC (Mixed) Logit Model A common model is the linear Mixed Logit model uijt = xjt βi + αi pjt + ξ jt + εijt where αi α = + ΠDi + Σvi βi β It will be coinvent to write uijt δ(xjt , pjt , ξ jt ; θ 1 ) + µ(xjt , pjt , Di , νi ; θ 2 ) + εijt where δjt = xjt β + αpjt + ξ jt , and µijt = (pjt xjt ) (ΠDi + Σvi )
  • 7. Linear RC (Mixed) Logit Model A common model is the linear Mixed Logit model uijt = xjt βi + αi pjt + ξ jt + εijt and uijt δ(xjt , pjt , ξ jt ; θ 1 ) + µ(xjt , pjt , Di , νi ; θ 2 ) + εijt Note: (1) the mean utility will play a key role in what follows (2) the interplay between µijt and εijt (3) the "linear" and "non-linear" parameters (4) de…nition of a market
  • 8. Key Challenges for Estimation Recovering the non-linear parameters, which govern heterogeneity, without observing consumer level data The unobserved characteristic, ξ jt a main di¤erence from early DC model (earlier models often had option speci…c constant in consumer level models) generates a potential for correlation with price (or other x’ s) when constructing a counterfactual we will have to deal with what happens to ξ jt Consumer-level vs Market-level data with consumer data, the …rst issue is less of a problem the "endogeneity" problem can exist with both consumer and market level data: a point often missed
  • 9. What would we do if we had micro data? Estimate in two steps. First step, estimate (δ, θ 2 ) say by MLE Pr(yit = j jDit , xt , pt , ξ t , θ ) = Pr(yit = j jDit , δ(xt , pt , ξ t , θ 1 ), xt , pt , θ e.g., assume εijt is iid double exponential (Logit), and Σ = 0 expfδjt + (pjt xjt )ΠDi g = ∑ J =0 k expfδkt + (pkt xkt )ΠDi g Second step, recover θ 1 bjt = xjt β + αpjt + ξ δ jt ξ jt is the residual. If it is correlated with price (or x’ need s) IVs (or an assumption about the panel structure)
  • 10. Intuition from estimation with consumer data Estimation in 2 steps: …rst recover δ and θ 2 (parameters of heterogeneity) and then recover θ 1 Di¤erent variation identfying the di¤erent parameters θ 2 is identi…ed from variation in demographics holding the level (i.e., δ) constant If Σ 6= 0 then it is identi…ed from within market share variation in choice probabilities θ 1 is identi…ed from cross market variation (and appropriate exclusion restrictions) With market-level data will in some sense try to follow a similar logic however, we do not have within market variation to identify θ 2 will rely on cross market variation (in choice sets and demographics) for both steps a key issue is that ξ jt is not held constant
  • 11. Estimation with market data: preliminaries In principle, we could consider estimating θ by min the distance between observed and predicted shares: min kSt sj (xt , pt , θ )k θ Issues: computation (all parameters enter non-linearly) more importantly, prices might be correlated with the ξ jt (“structural” error) standard IV methods do not work
  • 12. Inversion Instead, follow estimation method proposed by Berry (1994) and BLP (1995) Key insight: with ξ jt predicted shares can equal observed shares Z σj (δt , xt , pt ; θ 2 ) = 1 uijt uikt 8k 6= j dF (εit , Dit , νit ) = Sjt under weak conditions this mapping can be inverted 1 δt = σ (St , xt , pt ; θ 2 ) the mean utility is linear in ξ jt ; thus, we can form linear moment conditions estimate parameters via GMM
  • 13. Important (and often missed) point IVs play dual role (recall 2 steps with consumer level data) generate moment conditions to identify θ 2 deal with the correlation of prices and error Even if prices are exogenous still need IVs This last point is often missed Why di¤erent than consumer-level data? with aggregate data we only know the mean choice probability, i.e., the market share with consumer level data we know more moments of the distribution of choice probabilities (holding ξ jt constant) : these moments help identify the heterogeneity parameters
  • 14. I will now go over the steps of the estimation For now I assume that we have valid IVs later we will discuss where these come from I will follow the original BLP algorithm I will discuss recently proposed alternatives later I will also discuss results on the performance of the algorithm
  • 15. The BLP Estimation Algorithm 1. Compute predicted shares: given δt and θ 2 compute σj (δt , xt , pt ; θ 2 ) 2. Inversion: given θ 2 search for δt that equates σj (δt , xt , pt ; θ 2 ) and the observed market shares the search for δt will call the function computed in (1) 3. Use the computed δt to compute ξ jt and form the GMM objective function (as a function of θ) 4. Search for the value of θ that minimizes the objective function
  • 16. Example: Estimation of the Logit Model Data: aggregate quantity, price characteristics. Market share sjt = qjt /Mt Note: need for data on market size Computing market share expfδjt g sjt = ∑ J =0 k expfδkt g Inversion ln(sjt ) ln(s0t ) = δjt δ0t = xjt β + αpjt + ξ jt Estimate using linear methods (e.g., 2SLS) with ln(sjt ) ln(s0t ) as the "dependent variable".
  • 17. Step 1: Compute the market shares predicted by the model Given δt and θ 2 (and the data) compute Z σj (δt , xt , pt ; θ 2 ) = 1 [uijt uikt 8k 6= j ] dF (εit , Dit , νit ) For some models this can be done analytically (e.g., Logit, Nested Logit and a few others) Generally the integral is computed numerically A common way to do this is via simulation 1 ns expfδjt + (pjt xjt )(ΠDi + Σvi )g e σj (δt , x t , p t , F ns ; θ 2 ) = ns ∑ 1 + ∑J expfδkt + (pkt xkt )(ΠDi + Σ i =1 k =1 where vi and Di , i = 1, ..., ns are draws from Fv (v ) and FD ( D ) , Note: the ε’ are integrated analytically s other simulators (importance sampling, Halton seq) integral can be approximated in other ways (e.g., quadrature)
  • 18. Step 2: Invert the shares to get mean utilities Given θ 2 , for each market compute mean utility, δt , that equates the market shares computed in Step 1 to observed shares by solving e σ(δt , xt , pt , Fns ; θ 2 ) = St For some model (e.g., Logit and Nested Logit) this inversion can be computed analytically. Generally solved using a contraction mapping for each market δh +1 = δh + ln(St ) t t ln(σ(δh , xt , pt , Fns ; θ 2 ) h = 0, ..., H, e t where H is the smallest integer such that δH t δH t 1 <ρ δH is the approximation to δt t Choosing a high tolerance level, ρ, is crucial (at least 10 12 )
  • 19. Step 3: Compute the GMM objective Once the inversion has been computed the error term is de…ned as 1 e ξ jt (θ ) = σ (St , xt , pt ; θ 2 ) xjt β αpjt Note: θ 1 enters this term, and the GMM objective, in a linear fashion, while θ 2 enters non-linearly. This error is interacted with the IV to form ξ (θ )0 ZWZ 0 ξ (θ ) where W is the GMM weight matrix
  • 20. Step 4: Search for the parameters that maximize the objective In general, the search is non-linear It can be simpli…ed in two ways. “concentrate out” the linear parameters and limit search to θ 2 use the Implicit Function Theorem to compute the analytic gradient and use it to aid the search Still highly non-linear so much care should be taken: start search from di¤erent starting points use di¤erent optimizers
  • 21. Identi…cation Ideal experiment: randomly vary prices, characteristics and availability of products, and see where consumers switch (i.e., shares of which products respond) In practice we will use IVs that try to mimic this ideal experiment Next lecture we will see examples Is there "enough" variation to identify substitution? Solutions: supply information (BLP) many markets (Nevo) add micro information (Petrin, MicroBLP) For further discussion and proofs (in NP case) see Haile and Berry
  • 22. The Limit Distribution for the Parameter Estimates Can be obtained in a similar way to any GMM estimator With one cross section of observations is J 1 (Γ0 Γ) 1 0 Γ V0 Γ ( Γ 0 Γ ) 1 where Γ – derivative of the expectation of the moments wrt parameters V0 – variance-covariance of those moments evaluated V0 has (at least) two orthogonal sources of randomness randomness generated by random draws on ξ variance generated by simulation draws. in samples based on a small set of consumers: randomness in sample Berry Linton and Pakes, (2004 RESTUD): last 2 components likely to be very large if market shares are small. A separate issue: limit in J or in T in large part depends on the data
  • 23. Challenges Knittel and Metaxoglou found that di¤erent optimizers give di¤erent results and are sensitive to starting values Some have used these results to argue against the use of the model Note, that its unlikely that a researcher will mimic the KM exercise start from one starting point and not check others some of the algorithms they use are not very good and rarely used It ends up that much (but not all!) of their results go away if use tight tolerance in inversion (10 12 ) proper code reasonable optimizers This is an important warning about the challenges of NL estimation
  • 24. MPEC Judd and Su, and Dube, Fox and Su, advocate the use of MPEC algorithm instead of the Nested …xed point The basic idea: maximize the GMM objective function subject to the "equilibrium" constraints (i.e., that the predicted shares equal the observed shares) Avoids the need to perform the inversion at each and every iteration of the search performing the inversion for values of the parameters far from the truth can be quite costly The problem to solve can be quite large, but e¢ cient optimzers (e.g., Knitro) can solve it e¤ectively. DFS report signi…cant speed improvements
  • 25. MPEC (cont) Formally min ξ 0 ZWZ0 ξ θ,ξ subject to e σ (ξ; x, p, Fns , θ ) = S Note the min is over both θ and ξ: a much higher dimension search ξ is a vector of parameters, and unlike before it is not a function of θ avoid the need for an inversion: equilibrium constraint only holds at the optimum in principle, should yield the same solution as the nested …xed point Many bells and whistles that I will skip
  • 26. ABLP Lee (2011) builds on some of the ideas proposed in dynamic choice to propose what he calls Approximate BLP The basic idea Start with a guess to ξ, denoted ξ 0 , and use it to compute a …rst order Taylor approximation to σ(ξ t , xt , pt ; θ ) given by ∂ ln s (ξ 0 ; θ ) ln s (ξ t ; θ ) ln s A (ξ t ; θ ) ln s (ξ 0 ; θ ) + t 0 t (ξ t ξ0 ) t ln ξ t From ln St = ln s A (ξ t ; θ ) we get " # 1 ∂ ln s (ξ 0 ; θ ) ξt = Φt ( ξ 0 , θ ) t ξ0 + t 0 t (ln St ln s (ξ 0 ; θ )) t ln ξ t Use this approximation for estimation min Φ(ξ 0 , θ )0 ZWZ0 Φ(ξ 0 , θ ) θ
  • 27. ABLP (cont) Nest this idea into K-step procedure Step 1: Obtain new GMM estimate θ K = arg min Φ(ξ K 1 , θ )0 ZWZ0 Φ(ξ K 1 , θ) θ Step 2: Update ξ ξ K = Φ(ξ K t 1 , θK ) Repeat until convergence Like MPEC avoids inversion at each stage, but has low dimensional search Lee reports signi…cant improvements over MPEC Disclaimer: still a WP and has not been signi…cantly tested
  • 28. Comparing the methods Patel (2012, chapter 2 NWU thesis) compared the 3 methods
  • 29. Comparing the methods Word of caution: MPEC results can probably be signi…cantly improved with better implementation This is just an example of what one might expect if asking a (good) RA to program these methods