outline
play

Outline Getzkow (2007) 1 Case Study: social vs. internet - PowerPoint PPT Presentation

C OMPLEMENTARITY ANALYSIS IN MULTINOMIAL MODELS : T HE GENTZKOW COMMAND Yunrong Li & Ricardo Mora SWUFE & UC3M Madrid, Oct 2017 1 / 25 Outline Getzkow (2007) 1 Case Study: social vs. internet interactions 2 The gentzkow command in


  1. C OMPLEMENTARITY ANALYSIS IN MULTINOMIAL MODELS : T HE GENTZKOW COMMAND Yunrong Li & Ricardo Mora SWUFE & UC3M Madrid, Oct 2017 1 / 25

  2. Outline Getzkow (2007) 1 Case Study: social vs. internet interactions 2 The gentzkow command in Stata 3 Results 4 2 / 25

  3. Getzkow (2007) Getzkow (2004): Valuing new goods in a model with complementarity: Online newspapers, The American Economic Review , 2007 3 / 25

  4. Getzkow (2007) Online vs. printed news Do online newspapers crowd out consumption of printed newspapers? Print and online papers are substitutes. The welfare benefits of the online newspaper outweigh its costs. The newspaper firm (the Washington Post) gains with advertising. The potential firm’s gain of charging a positive price for online content disappears with advertising Methodologically: Many important economic questions hinge on the extent to which new goods either crowd out or complement consumption of existing products. Standard methods for studying new goods rule out complementarity by assumption, so their applicability to these questions has been limited. Getzkow develops a new model that relaxes this restriction. 4 / 25

  5. Getzkow (2007) Gentzkow’s Multinomial Model u 0 = 0 u A = β 0 A + β A x − α A p A + v A u B = β 0 B + β B x − α B p B + v B u AB = u A + u B + Γ Definition Alternatives A and B are complements (substitutes) if and only if � � ∂ Q A sign < ( > ) 0 ∂ p B Theorem Alternatives A and B are complements (substitutes) if and only if Γ > ( < ) 0 5 / 25

  6. Getzkow (2007) Remarks Getzkow’s pattern of complementarity depends on parameter Γ : it describes by how much utility increases when both alternatives are chosen together If the price of one alternative decreases, then the desirability of the other alternative indirectly increases through Γ The complementarity pattern is unrelated to the IIA assumption The model imposes a rank condition on the variance-covariance matrix in a typical multinomial model that can be tested using a LM test: v AB = v A + v B If this condition is not satisfied, then the sign of Γ does not necessarily reflect the complementarity pattern 6 / 25

  7. Getzkow (2007) Gentzkow’s analysis in the unrestricted multinomial model u 0 = 0 u A = β 0 A + β A x − α A p A + v A u B = β 0 B + β B x − α B p B + v B u AB = β 0 AB + β AB x + − α A p A − α B p B + v AB Complementarity is individual specific: it depends on x and on ( v AB − v A − v B ) . Take � β 0 AB − β 0 A − β 0 � δ ( x ) = + ( β AB − β A − β B ) x + ( v AB − v A − v B ) . B � � ∂ Q A No link between δ ( x ) and E ∂ p B � � ∂ Q A We need to numerically estimate E ∂ p B � � ∂ Q A We can condition on x : E ∂ p B | x 7 / 25

  8. Case Study: social vs. internet interactions Case Study: social vs. internet interactions 8 / 25

  9. Case Study: social vs. internet interactions The data We use data from the 2010 national baseline survey of the China Family Panel Studies (CFPS) The sample is representative of 95 % of the Chinese population in 2010 Sample: children who use internet between 10 and 15 years old ( 885 observations) Variables of interest: socialout : the child does at least one of the following activities with friends at least once a month: going to karaoke, going to disco, dining out, and playing at a internet bar. socialnet : one if child says doing social interactions on internet is important for him/her. Prices: for real social activities: pocket money per month, for internet social activities: whether parents use a popular online social interaction application (QQ) 9 / 25

  10. Case Study: social vs. internet interactions Our goals In our application: To study whether internet social interactions crowd out real social interactions We estimate the general multinomial model and compute cross-price elasticities In particular, we want to see the role of parents income and child age We need to develop a command for Stata 10 / 25

  11. The gentzkow command in Stata The gentzkow command in Stata 11 / 25

  12. The gentzkow command in Stata What the ado file does First, it estimates a multinomial model Then, it estimates the partial derivative of the demand of one of the alternatives when a price of the other alternative has an infinitesimal change it is an integral over the utility shocks space: we implement it using a numerical Monte Carlo approximation this object is independent of the alternative AND the price chosen but interpretation is not clear when no price is included in the specification Partial derivatives can be computed for different values of controls, x Standard errors are computed using the bootstrap In the current implementation, mlogit , mprobit , and gsem are available to estimate the multinomial model 12 / 25

  13. The gentzkow command in Stata Inputs Required: list of variables: at the very least the two binary choices, possibly expanded with controls x and prices p Optional: number of replications in numerical integration number of bootstrapped samples seed to control random number generation expected obs. per cell under uniform assumption: this is the parameter we use to control the accuracy of the Monte Carlo computation of the integral number of quadrature points (only with mprobit and gsem) control variable whose value changes, and different evaluation values model: mlogit, mprobit, gsem, and all options related to these commands, including constraints whether multinomial model estimates and elasticities are displayed 13 / 25

  14. The gentzkow command in Stata Syntax syntax varlist(min=2) [if] [in] [fw pw iw], /// [ /// Replications(integer 500) /// // # replications in integration Bootstraps(integer 100) /// // # bootstrapped samples SEED(real 1966) /// // seed of random number generation Ncells(integer 15) /// // expected obs. per cell INTPoints(integer 15) /// // # of quadrature points Conditioning(varname) /// // evaluation variable VALues(numlist) /// // values for evaluation ATVALues(name) /// // matrix name of control values for evaluation Model(string) /// // mlogit, mprobit, gsem (default is mlogit) NOCONStant /// // suppress constant term CONSTraints(numlist) /// // list of linear constraints Level(real 95) /// // set confidence level; default is level(95) Detail /// // displays multinomial model estimates CROSS /// // only shows cross elasticities MAXimize(string) /// // string containing maximize_options TWOlevel(varname) /// // variable for level random effects (gsem) * ] 14 / 25

  15. The gentzkow command in Stata Example 1 (I) gentzkow socialout socialnet ‘prices’ ‘lista_x0’ Dp*, /// constraint(1/‘i’) /// r(5000) b(200) n(50) /// max("iterate(50)") /// cross constrained multinomial logit bootstrap standard errors using 200 simulations numerical integration using 5000 simulations, with around 50 observations within each cell to compute frequencies only displays cross-price elasticity 15 / 25

  16. The gentzkow command in Stata Example 1 (II) (running mlogit on estimation sample) Bootstrap replications (200) 1 2 3 4 5 .................................................. 50 .................................................. 100 .................................................. 150 .................................................. 200 Warning: only 191 converged bootstraps Cross-price elasticity Coef. Std. Err. z P>|z| [95% Conf. Interval] _cons .0337866 .0115226 2.93 0.003 .0112027 .0563706 16 / 25

  17. The gentzkow command in Stata Example 2 (I) gentzkow socialout socialnet ‘prices’ ‘lista_x0’ Dp*, /// constraint(1/‘i’) /// r(5000) b(200) n(50) /// max("iterate(50)") /// c(age) val(10(2)14) /// cross test _b[r1]-_b[r3]=0 computes expectation conditional on age: 10,12,14 only displays cross-elasticities tests whether the expectation is equal at age 10 than at age 14 17 / 25

  18. The gentzkow command in Stata Example 2 (II) (running mlogit on estimation sample) Bootstrap replications (200) 1 2 3 4 5 .................................................. 50 .................................................. 100 .................................................. 150 .................................................. 200 Cross-price elasticity Coef. Std. Err. z P>|z| [95% Conf. Interval] r1 .0049281 .0062625 0.79 0.431 -.007346 .0172023 r2 .0234086 .0091993 2.54 0.011 .0053784 .0414389 r3 .0366767 .0132364 2.77 0.006 .0107338 .0626196 ( 1) r1 - r3 = 0 chi2( 1) = 7.78 Prob > chi2 = 0.0053 18 / 25

  19. Results Results 19 / 25

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend