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

outline
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

COMPLEMENTARITY ANALYSIS IN MULTINOMIAL

MODELS: THE GENTZKOW COMMAND

Yunrong Li & Ricardo Mora

SWUFE & UC3M

Madrid, Oct 2017

1 / 25

slide-2
SLIDE 2

Outline

1

Getzkow (2007)

2

Case Study: social vs. internet interactions

3

The gentzkow command in Stata

4

Results

2 / 25

slide-3
SLIDE 3

Getzkow (2007)

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

3 / 25

slide-4
SLIDE 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

slide-5
SLIDE 5

Getzkow (2007)

Gentzkow’s Multinomial Model

u0 = 0 uA = β0

A + βAx − αApA + vA

uB = β0

B + βBx − αBpB + vB

uAB = uA + uB + Γ Definition Alternatives A and B are complements (substitutes) if and only if sign

  • ∂QA

∂pB

  • < (>)0

Theorem Alternatives A and B are complements (substitutes) if and only if Γ > (<)0

5 / 25

slide-6
SLIDE 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

  • ther 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: vAB = vA + vB If this condition is not satisfied, then the sign of Γ does not necessarily reflect the complementarity pattern

6 / 25

slide-7
SLIDE 7

Getzkow (2007)

Gentzkow’s analysis in the unrestricted multinomial model

u0 = 0 uA = β0

A + βAx − αApA + vA

uB = β0

B + βBx − αBpB + vB

uAB = β0

AB + βABx + −αApA − αBpB + vAB

Complementarity is individual specific: it depends on x and on (vAB − vA − vB). Take δ (x) =

  • β0

AB − β0 A − β0 B

  • + (βAB − βA − βB) x + (vAB − vA − vB).

No link between δ (x) and E

  • ∂QA

∂pB

  • We need to numerically estimate E
  • ∂QA

∂pB

  • We can condition on x: E
  • ∂QA

∂pB |x

  • 7 / 25
slide-8
SLIDE 8

Case Study: social vs. internet interactions

Case Study: social vs. internet interactions

8 / 25

slide-9
SLIDE 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

slide-10
SLIDE 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

slide-11
SLIDE 11

The gentzkow command in Stata

The gentzkow command in Stata

11 / 25

slide-12
SLIDE 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

slide-13
SLIDE 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

slide-14
SLIDE 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

slide-15
SLIDE 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

  • bservations within each cell to compute frequencies
  • nly displays cross-price elasticity

15 / 25

slide-16
SLIDE 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

slide-17
SLIDE 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

  • nly displays cross-elasticities

tests whether the expectation is equal at age 10 than at age 14

17 / 25

slide-18
SLIDE 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

slide-19
SLIDE 19

Results

Results

19 / 25

slide-20
SLIDE 20

Results Cross elast. Std.Err. Own price: Real life Std.Err. Own price: Internet Std.Err. Model,Elasticities 1 2 3 4 5 6 Unconditional 0.008 (0.008) 0.114 *** (0.009) 0.147 *** (0.010) Uncond., Province 0.033 ** (0.014) 0.128 *** (0.022) 0.180 *** (0.018) Conditional 0.017 (0.013) 0.111 *** (0.015) 0.166 *** (0.017) Cond., Province 0.034 *** (0.012) 0.126 *** (0.022) 0.183 *** (0.017) Cond., Major Prov. 0.033 *** (0.011) 0.120 *** (0.021) 0.186 *** (0.015)

Note: Estimated cross-price elasticities and own-price elasticities of our unrestricted multinomial model using the multinomial logit model option are reported in the table. “Cross elast.” refers to the change in the child’s probability of participating in real life social interactions with respect to an infinitesimal change in a factor that positively affects the child’s net utility of doing internet social interactions but does not affect the child’s net utility of doing real life social interactions. Equivalently, “Cross elast.” also refers to the change in the child’s probability of participating in internet social interactions with respect to an infinitesimal change in a factor that positively affects the child’s net utility of doing real life social interactions but does not affect the child’s net utility of doing internet social interactions. “Std.Err.” refers to the standard error. “Own price: Real life” refers to the change in the child’s probability of participating in real life social interactions with respect to an infinitesimal change in a factor that positively affects the child’s net utility of doing real life social interactions but does not affect the child’s net utility of doing internet social interactions. “Own price: Internet” refers to the change in the child’s probability of participating in internet social interactions with respect to an infinitesimal change in a factor that positively affects the child’s net utility of doing internet social interactions but does not affect the child’s net utility of doing real life social interactions.

Note: “Prices” affect utility positively. 20 / 25

slide-21
SLIDE 21

Results

P-value of test Value Cross elast. Std.Err. Value Cross elast. Std.Err.

  • A. Price variables

1 2 3 4 5 6 7 Pocket money of the child in log 0.067 0.018 *** (0.007) 6 0.044 *** (0.018) Both parents use QQ every- day 0.112 0.030 *** (0.011) 1 0.019 * (0.011)

  • B. Child characteristics

Gender 0.583 0.020 ** (0.010) 1 0.045 *** (0.014) Age in years 0.014 10 0.008 (0.006) 15 0.045 *** (0.016)

  • C. Household characteris-

tics Urban 0.797 0.020 ** (0.010) 1 0.041 *** (0.014)

Note: Estimated cross-price elasticities of our unrestricted multinomial model using the multinomial logit model option are reported in the table. The multinomial logit model is estimated with price variables, all the other controls, and major province dummies. Cross-price elasticities are estimated for a series of values of each of the controls. “P-value of test” refers to the p-value of the test on the joint equality

  • f all the cross-price elasticities based on different values of the controls. “Value” refers to different values of the control variable. “Cross elast.” refers to the change in the child’s probability of participating

in real life social interactions with respect to an infinitesimal change in a factor that positively affects the child’s net utility of doing online social interactions but does not affect the child’s net utility of doing real life social interactions. Equivalently, “Partial derivative” also refers to the change in the child’s probability of participating in online social interactions with respect to an infinitesimal change in a factor that positively affects the child’s net utility of doing real life social interactions but does not affect the child’s net utility of doing online social interactions. “Std.Err.” refers to the standard error.

21 / 25

slide-22
SLIDE 22

Results

.05 .1 2 4 6 8 10 12 14 16 Monthly income of the parents (1000 yuan)

Complementarity by income level

Internet and traditional social interactions

22 / 25

slide-23
SLIDE 23

Results

.02 .04 .06 10 12 14 16 Age in years of the child

Complementarity by child age

Internet and traditional social interactions

23 / 25

slide-24
SLIDE 24

Extensions

Extensions

coefficient’s display should be improved

  • nly cross-elasticity results posted as results, all results stored in

matrix panel data implementation not checked out: Monte Carlo using gsem testing the Gentzkow model using LM test

24 / 25

slide-25
SLIDE 25

Extensions

Thank you

25 / 25