EconBase
← Back to paper

Estimation of a Heterogeneous Demand Function with Berkson Errors

Extracted main text — title through conclusion, appendix excluded. This is what our citation measures are computed over, published so the extraction can be checked by eye.

54,502 characters · 17 sections · 33 citation commands

Rendered from LaTeX for readability, not typeset faithfully. Citation keys are highlighted; maths is left as source; figures, tables and equation environments are summarised rather than reproduced; unrecognised commands are greyed out so nothing is silently dropped. Email addresses are removed.

Estimation of a Heterogeneous Demand Function with Berkson Errors

abstract\thispagestyle{empty} \singlespacing Berkson errors are commonplace in empirical microeconomics. In consumer demand this form of measurement error occurs when the price an individual pays is measured by the (weighted) average price paid by individuals in a specified group (e.g., a county), rather than the true transaction price. We show the importance of such measurement errors for the estimation of demand in a setting with nonseparable unobserved heterogeneity. We develop a consistent estimator using external information on the true distribution of prices. Examining the demand for gasoline in the U.S., we document substantial within-market price variability, and show that there are significant spatial differences in the magnitude of Berkson errors across regions of the U.S. Accounting for Berkson errors is found to be quantitatively important for estimating price effects and for welfare calculations. Imposing the Slutsky shape constraint greatly reduces the sensitivity to Berkson errors. JEL:\ C14, C21, D12 Keywords: consumer demand, nonseparable models, quantile regression, measurement error, gasoline demand, Berkson errors.

\thispagestyle{empty}

Introduction

\setcounter{page}{1}

Datasets that are commonly used in microeconometric work often suffer from a particular type of measurement error in the covariates: Instead of observing the true covariate a household faces, the researcher observes a group-level (weighted) average, such as a regional average (e.g.\ in a county). The resulting errors in the covariate are called Berkson errors. Berkson measurement errors occur frequently in applied econometric analyses in which information on relevant covariates is not collected directly from households in a survey, but is taken from an alternative data source and assigned to households based on their location or other characteristics. While covariates assigned in this way will often be highly correlated with the true covariates, they will not be identical as long as there is some variability in the covariate within the specified group. For example, in the gasoline demand application discussed in Sections 5-6 of this paper, counties experience within-county price variability of up to 10 percent around the mean, and within-county variation accounts for a substantial share of the overall variation in prices. Furthermore, the amount of within-county price variability differs substantially across regions of the U.S., as shown in Figure (ref) below.

figure[figure omitted — 500 chars of source]

Textbook analysis of this kind of econometric model often focuses on the case when the model is linear in the covariate and the error is additive. In this case, Berkson errors do not lead to a bias. This is sometimes taken to mean that Berkson errors are unlikely to cause significant bias in applied analysis, compared to say classical measurement error. However, these results no longer hold when the model is nonlinear. In nonlinear models, Berkson errors are not innocuous and require careful treatment.

In this paper we consider estimation of a demand model with nonseparable unobserved heterogeneity with Berkson errors. Consider the demand function with nonseparable unobserved heterogeneity

equation[equation omitted — 51 chars of source]

where $Q$ is the quantity demanded, $P$ the price, $Y$ household income, and $U$ unobserved heterogeneity. Suppose now that we do not observe the true price at which a transaction took place, which we refer to as $P^\star$. Instead, we observe a county average price $P$ that is related to $P^\star$ by

equation[equation omitted — 45 chars of source]

where ${\Greekmath 010F}$ is an unobserved random variable, independent of $P$. With these Berkson errors berkson-1950, the demand model becomes

equation[equation omitted — 69 chars of source]

Importantly, Berkson errors in variables are different from classical errors in variables, where $P = P^\star + {\Greekmath 010F}$, with ${\Greekmath 010F}$ independent of $P^\star$.

In this paper, we argue that understanding the role of Berkson measurement errors in demand estimation is of growing relevance. The focus on understanding heterogeneity in responses motivates researchers to investigate behavior at different points in the distribution of unobserved heterogeneity, see e.g.\ Browning-Carro2007. Moreover, researchers are increasingly interested in nonlinear models with non-separable unoberserved heterogeneity, see e.g. references in Cameron-Trivedi2005, bhp-2012, bhp-2017. Better data and increased computational power facilitate the study of models that do not impose linearity restrictions and, instead, allow flexible functional forms with a high degree of potential nonlinearity. Accordingly, nonlinear models are increasingly important in applications.

This paper develops a method for estimating a nonseparable demand model in the presence of Berkson errors, using a Maximum Likelihood Estimator (MLE) of quantiles of demand conditional on price and income. The standard quantile approach is inconsistent when prices are subject to Berkson errors. The maximum likelihood procedure we propose estimates all quantiles simultaneously, and a monotonicity constraint is used to ensure that the estimated quantiles do not cross. This estimator enables us to contrast the resulting estimates to results obtained assuming the absence of Berkson errors. Our estimation procedure accounts for spatial differences in the extent of Berkson error across locations, a feature which we find to be quantitatively important in our empirical application.

delaigle-hall-qiu-2006 show the demand function is unidentified nonparametrically unless either the distribution of the Berkson error is known or can be estimated consistently from auxiliary data. Alternatively identification can be delivered if there is an instrument that is related to the true price in a suitable way schennach-2013. We choose to follow the first of these approaches and use auxiliary data from external sources to inform us about the distribution of the Berkson error. We then assess the sensitivity to Berkson errors across different levels of the Berkson error variance. Finally, we note there is a potential for prices to be endogenous. To address this we develop a test for the exogeneity of covariates in the presence of Berkson errors.

We motivate and illustrate our analysis with an application to gasoline demand. Household travel surveys frequently assign gasoline prices from external sources based on the location of the household, leading to the presence of Berkson errors. A long-standing body of work has documented the importance of allowing for potential non-linearities in household gasoline demand (hausman-newey-1995, yatchew-no-2001, bhp-2012). The role of unobserved heterogeneity motivates a quantile modelling approach (bhp-2017,hoderlein-vanhems-2018). These considerations suggest that nonlinearity plays an important role in this appliciation, highlighting the importance of Berkson errors in applied research and the need to treat them carefully.

We find that accounting for Berkson errors is quantitatively important. For example, Deadweight Loss measures derived from our estimates differ substantially when we allow for Berkson errors. In previous work we have investigated the role of shape restrictions in semiparametric or nonparametric estimation settings (bhp-2012,bhp-2017). In a setting with Berkson errors, we find that imposing shape restrictions, in the form of the Slutsky inequality, reduces the sensitivity of the estimates to the presence of Berkson errors.

The paper proceeds as follows. In the next section, we introduce Berkson errors and outline the demand model. Section 3 develops the MLE estimator. Section 4 presents the exogeneity test. In Section 5, we describe household gasoline data, and also document external evidence on the distribution of current local gasoline prices. The estimation results for the gasoline demand responses to prices and for deadweight loss welfare measures are presented in Section 6. Section 7 concludes.

Berkson Errors and the Demand Model

We begin this section by providing examples of where Berkson errors occur in applied microeconometric work. We then focus on Berkson errors in demand analysis; we outline the nonseparable demand model in the absence of Berkson errors, and then introduce Berkson errors into the model.

Examples of Berkson Errors

Berkson errors occur commonly in applied econometric work. Our application is to prices in consumer demand. Here we describe three additional examples where Berkson errors are likely to be relevant.

A common case is a situation where the researcher does not observe the true value of the variable of interest, but instead only observes an indicator for the group the individual belongs to. The researcher then assigns a `typical value' from an external dataset, often the group average. This group will often be a geographic identifier or a time period. For example, relevant covariates may not be surveyed or measured at the level of the household, but are instead approximated by a regional average from an external source. For example, currie-neidell-2005 study the effect of air pollution on infant death in California. Since pollution measures are not available at the household level, exposure is measured for each zip code as a weighted average of all fixed pollution monitors installed within a given distance from the zip code centroid.

Another case is the situation where implementing a treatment exposes individuals to unobserved heterogeneity in the treatment intensity. In this setting, the intensity of a treatment varies randomly and in unobserved manner across treated units. This could be due to variability in the technology delivering the intervention, or due to differences in the staff implementing the treatment. For example, the dose of a drug delivered might vary slightly across patients, the amount of fertilizer spread on plots might vary randomly, or the support provided to unemployed workers might vary with the caseworker. For the latter case, schiprowski-2019 documents significant variation in the effectiveness of caseworker meetings for unemployed workers, depending on the productivity of the caseworker; at the same time, details of the caseworker assigned to the unemployed are typically not observed by researchers.

A third case is a situation where individuals are uncertain about a relevant quantity and provide an optimal prediction hyslop-imbens-2001. For example, respondents in a survey are asked about a quantity they are uncertain about, and provide the best estimate of this quantity given their information set. When respondents provide an optimal prediction, the resulting prediction error is uncorrelated to the reported value. phelps-1972 develops a model where firms infer productivity from a noisy signal as well as characteristics of the individual, and form an optimal prediction by a weighted average of the signal and the expected value given the characteristics. Due to the optimal prediction any deviation from the true value will be unrelated to the prediction made by the uncertain individual.

Survey data frequently asks respondents to provide details on variables where respondents may be uncertain about the exact values. For example, chan-stevens-2004 investigate how pension accumulations affect retirement decisions. Since data on pensions is self-reported in their data, the authors consider the possibility that the pension measure may be a noisy measure of the truth, predicted by the survey respondent, leading to Berkson error.

In another setting, hastings-kane-staiger-2009 study benefits from attending higher achieving schools. They use Bayes' rule to infer a parental preference parameter from a model of demand for schools, and in turn estimate models which allow the benefits of attendance to vary with this parental preference parameter. The measurement error in the estimated parental preference parameter then exhibits Berkson errors.

In all these cases, the variable used in the analysis differs from the variable which is relevant for the outcome in a way described by the Berkson error framework. This underscores the wide relevance of these kinds of measurement error for applied econometric work.

The Demand Model and the Presence of Berkson Errors

In the absence of Berkson errors, the demand function with nonseparable unobserved heterogeneity is set out in equation ((ref)) in Section 1. We assume for now that $U$ is a scalar random variable that is statistically independent of $(P,Y)$, and that $G(P,Y,U)$ is monotone increasing in its third argument.\footnote{ The assumption of scalar unobserved heterogeneity ($U$) is restrictive but necessary to achieve point identification and to do welfare analysis. Section 4 treats the possibility that P is endogenous and, therefore, that $U$ and $P$ are correlated. hausman-newey-2017 and dette-hoderlein-neumeyer-2016 discuss models with multi-dimensional unobserved heterogeneity.} We further assume without further loss of generality that $U \sim \relax\protect\ifmmode\expandafter\text@\else\expandafter\mbox\fi{U}[0,1]$.

Under these assumptions, the ${\Greekmath 010B}$ quantile of $Q$ conditional on $(P,Y)$ is

equation*[equation* omitted — 97 chars of source]

That is, the the conditional ${\Greekmath 010B}$ quantile of $Q$ recovers the demand function $G$, evaluated at $U={\Greekmath 010B}$.

With Berkson errors, the demand model becomes equation ((ref)). The function $G$ is unidentified nonparametrically unless either the distribution of ${\Greekmath 010F}$ is known or can be estimated consistently from auxiliary data (delaigle-hall-qiu-2006) or, alternatively, there is an instrument $Z$ that is related to the true price $P^\star$ in a suitable way (schennach-2013). In this work we follow the first of these approaches, and use auxiliary data to inform us about the distribution of the Berkson error.

Estimation

A Maximum Likelihood Estimator

In this section we develop the Maximum Likelihood Estimation approach. The model is

equation*[equation* omitted — 133 chars of source]

Therefore,

align[align omitted — 329 chars of source]

where $G^{-1}(\cdot,\cdot,z)$ is the inverse of $G$ in the third argument.

The left-hand term of equation ((ref)), $P(Q \leq z | P,Y)$, is identified by the sampling process. $G^{-1}$ and $G$ are identified nonparametrically if and only if $G^{-1}$ is determined uniquely by

equation*[equation* omitted — 96 chars of source]

This requires knowledge of $f_{\Greekmath 010F}({\Greekmath 010F})$; delaigle-hall-qiu-2006 present a similar identification result for a conditional mean model.\footnote{Note that the identification condition can be formulated as a version of the completeness condition of Nonparametric Instrumental Variables (NPIV) models. See Newey-powell-2003.}

The truncated series

align[align omitted — 121 chars of source]

provides a flexible parametric approximation to $G^{-1}$. In the truncated series, $J$ is the (fixed) truncation point, the $\Psi_j$ 's are basis functions and the ${\Greekmath 0112}_j$ 's are Fourier coefficients. The data ${\{Q_i, P_i, Y_i: i=1,...,n\}}$ are a random sample of \(n\) households. The log-likelihood function for estimating parameter vector $ {\Greekmath 0112}$ is the logarithm of the probability density of the data. This is:

equation*[equation* omitted — 248 chars of source]

Maximum likelihood estimation of ${\Greekmath 0112}$ consists of maximizing $\log L({\Greekmath 0112})$ subject to the following constraints: first, that $G^{-1}$ is non-decreasing in its third argument, and second, $0 \leq G^{-1} \leq 1$. The maximum likelihood procedure estimates all quantiles simultaneously, and by imposing the monotonicity constraint above ensures that the estimated quantiles do not cross. For the presentation of the results, we numerically invert the estimated function $\hat{G}^{-1}$ to obtain the corresponding demand function $\hat{G}$.

Shape Restrictions

In some of the estimates we also impose the Slutsky shape restriction from consumer theory. Assuming quantity, income and prices for household $i$ are measured in logs, and $S_i$ reflects the budget share of household $i$, the Slutsky constraint, evaluated at $(P_i, Y_i, U_i)$ can be written as

align*[align* omitted — 117 chars of source]

From $U=G^{-1}(P,Y,Q)$, we re-write the price and income effect in terms of $ G^{-1}$, so that the Slutsky condition for household $i$ is

align[align omitted — 147 chars of source]

The estimation then proceeds by maximizing the log-likehood as before, adding the constraint ((ref)) for a set of households in the data.

An Exogeneity Test

A common concern in demand estimation is the possible endogeneity of the price variable, where local prices are correlated with consumer preferences (see bhp-2012,bhp-2017). If a variable $W$ is available as an instrument for the price, the researcher can test for the presence of endogeneity. In a nonparametric or flexible parametric model, such a test is likely to have better power properties than a comparison of the exogenous estimate with an instrumental variables (IV) estimate. We therefore develop an exogeneity test, which takes account of the presence of Berkson errors. In this section we state the test statistic and asymptotic approximation to its distribution. The corresponding derivations can be found in Appendix (ref).

Assume that the instrument, $W$, satisfies

align*[align* omitted — 73 chars of source]

Let $G^{-1}_{EX}$ denote the inverse demand function $G^{-1}$, described in Section 3, under the null hypothesis $H_0$ that $P$ is exogenous. Under $H_0$

align[align omitted — 391 chars of source]

for any $(y,w)$ in the support of $(Y,W)$. The exogeneity test statistic is based on a sample analog of this relation. Let $f_{YW}$ denote the probability density function of $(Y,W)$. Let $K$ be a probability density function that is supported on $[-1,1]$ and symmetrical around 0. Let $\{h_n: n=1,2,...\}$ be a sequence of positive numbers that converges to 0 as $n \rightarrow \infty$. $K$ is called a kernel function and $\{h_n\}$ is called a sequence of bandwidths. Denote the data by $\{Q_i,P_i,Y_i,W_i: i=1,\dots,n\}$. Let $\hat{f}_{YW}$ be a kernel nonparametric estimator of $f_{YW}$:

align*[align* omitted — 136 chars of source]

Let $\hat{G}^{-1}_{EX}$ denote the MLE of ${G}^{-1}_{EX}$. Define

align*[align* omitted — 301 chars of source]

$S_n(y,w)/\hat{f}_{YW}(y,w)$ is a sample analog of the integral expression in ((ref)). The test statistic is

align*[align* omitted — 109 chars of source]

To obtain an asymptotic approximation to the distribution of $T_n$, assume without loss of generality that $(y,w) \in [0,1]^2$. Let $\{\hat{\Greekmath 0115}_j: j=1,\dots,n\}$ denote the eigenvalues of the operator

align*[align* omitted — 276 chars of source]

Let $\{L_n: n=1,2,\dots\}$ be an increasing sequence of positive constants such that $L_n \rightarrow \infty$ and $n^{-1/2} L_n^{3/2} \rightarrow 0$ as $n \rightarrow \infty$. Under regularity conditions that are stated in the appendix,

align*[align* omitted — 115 chars of source]

as $n\rightarrow \infty$, where the ${\Greekmath 011F}_j^2\;$s are independent random variables that are distributed as chi-square with one degree of freedom. The distribution of $T_n$ can be approximated by that of

align*[align* omitted — 95 chars of source]

The quantiles of the distribution of ${\Greekmath 0121}$ can be estimated with any desired accuracy by Monte Carlo simulation.

Data on Demand and Prices

The household gasoline demand

The data are from the 2001 National Household Travel Survey (NHTS), which surveys the civilian noninstitutionalized population in the United States. This is a household level survey conducted by telephone, and complemented by travel diaries and odometer readings.\footnote{ See ornl-2004 and bhp-2012 for further detail on the survey.} These data provide information on the travel behavior of selected households. We focus on annual mileage by vehicles owned by the household.

In order to minimize heterogeneity in the sample, the following restrictions are imposed: We restrict attention to households with a white respondent, two or more adults, and at least one child under age 16. We drop households in the most rural areas, where farming activities are likely to be particularly important. We also omit households in Hawaii due to its different geographic situation compared to the continental states. Households without any drivers or where key variables are not observed are excluded, and we restrict attention to gasoline-based vehicles (excluding diesel, natural gas, or electricity based vehicles).\footnote{ We require gasoline demand of at least one gallon, and we drop one outlier observation where the reported gasoline share is larger than 1.} The sample we use is the same as in bhp-2017.

A key aspect of the data is that although odometer readings and fuel efficiencies are recorded, price information is not collected at the household level, reflecting the expense in collecting purchase diaries and the resulting burden for respondents (eia-2003,eia-2011). Instead, in the NHTS gasoline prices are assigned the fuel cost in the local area, based on the location of the household eia-2003. In Section (ref) we document that households face substantial price variability within local markets, and we use this information to assess the extent of Berkson errors.

The resulting sample contains 3,640 observations. Table 1 presents summary statistics.

table[table omitted — 587 chars of source]

The reported means of our key variables correspond to about 1,250 gallons of gasoline per year, a gasoline price of \$1.33, and household income of about \$63,000. For reference, Table 2 presents baseline estimates of price and income elasticities from a log-log model of gasoline demand.

table[table omitted — 1,016 chars of source]

In the mean regression model, we find a price elasticity of -0.83 and an income elasticity of 0.34, similar to the elasticities reported in other studies of gasoline demand (see further bhp-2017). Looking across quantiles, we find the lower quantile households to be more sensitive to changes in prices and income.

In the estimation below, the function $G^{-1}$ is specified as a product of three Chebyshev polynomials, one each for $P$, $Y$, and $Q$. We use cubic polynomials in price and income, and a 7th-degree polynomial in quantity. The high-degree polynomial in quantity enables us to estimate differences in the demand function across quantiles of the distribution of unobserved heterogeneity.\footnote{We also trim the top and bottom 1 percent of the quantity distribution.} When we impose the Slutsky constraint, using the observed data points in the sample, we restrict attention to those data points broadly in the areas of the data which we are focusing our analysis on below.\footnote{ For this purpose, we add restrictions for data points between the 10th and the 90th percentile of the unconditional demand data, 0.2 to 0.36 in the log price dimension, and household income between 20,000 and 90,000 USD.}

Dispersion in local gasoline prices

In this subsection, we present evidence on the within-market dispersion of gasoline prices. To gain insight into this, we draw on data collected by yilmazkuday-2017, containing daily gas prices for virtually all gas station in the U.S. during a one-month period (July 2015) from MapQuest (\url{http://gasprices. mapquest.com}).\footnote{We have also collected data on local gas price variability from \url{www.gasbuddy.com} for a set of seven examplary counties in the US. The within-county variability from these GasBuddy prices is very similar to the estimate from the MapQuest data that we describe in this section; we focus on the MapQuest data due to its almost universal coverage.} Since these data are based on fleet transaction data, they are likely to be highly accurate. Together with the almost universal coverage of gas stations in these data, this dataset is very well suited for our purpose (see yilmazkuday-2017 for further detail on these data).\footnote{We exclude Alaska and Hawaii from the subsequent analysis to focus on the contiguous United States. Gas stations are assigned to counties based on their zip code.}

To provide a description of the within-market price variability, Figure (ref) shows a histogram of the gas prices (measured in logs), after removing county fixed effects and day fixed effects.

figure[figure omitted — 358 chars of source]

This histogram shows that there is substantial within-market price variability. Within the same county (and having accounted for day effects), prices vary frequently by up to 10 percent in either direction. The histogram also suggests that a normal approximation of the within-market dispersion broadly captures the shape of the distribution.

To show the variability across counties in the price dispersion, we compute the within-county price dispersion for each county in the US. The resulting map is shown in Figure (ref) above. As is evident from the map, price dispersion varies across the United States. For example, price variability is particularly high in California, but also in other states, such as Oklahoma, South Dakota or Nevada. Figure (ref) shows the histogram of this within-county price dispersion.

figure[figure omitted — 459 chars of source]

Across all counties, the mean value (unweighted) of the within-market dispersion is 0.0339 (with first and third quartile taking values of 0.022 and 0.042). Comparing this value to the reported standard deviation of 0.057 in the NHTS price variable (see Table 1) shows that a significant amount of price variability occurs within local markets, suggesting that the Berkson error is an important feature of the price variation in this sample. In our empirical analysis, we use a normal distribution for the Berkson error, and allow the standard deviation to vary by U.S.\ state. To specify the standard deviation, we use a weighted average across the counties in each state (see Figure (ref)). This accounts for the substantial differences in the amount of Berkson errors across different parts of the U.S., and incorporates the spatial pattern of Berkson errors into our estimation.

Gasoline price cost shifter

To examine the exogeneity of prices we require a variable which is correlated with gasoline prices, but uncorrelated with the unobservable type of the household. Building on earlier work bhp-2012, we use transportation cost as a cost shifter. This reflects that the cost of transporting the fuel from the supply source is an important determinant of prices.

We measure transportation cost with the distance between one of the major oil platforms in the Gulf of Mexico and the state capital. The U.S. Gulf Coast region accounts for the majority of total U.S. refinery net production of finished motor gasoline and for almost two-thirds of U.S. crude oil imports. It is also the starting point for most major gasoline pipelines. We therefore expect that transportation cost increases with distance to the Gulf of Mexico (see Blundell et al., 2012, for further details and references). Appendix Figure (ref) shows the systematic and positive relationship between state-level average prices and the distance to the Gulf of Mexico.

Empirical Results

Demand estimates

figure[figure omitted — 721 chars of source]

Figure (ref) shows the ML estimates for the median, for the middle income group (\$57,500). Figure (ref) compares the estimates across the quartiles of the distribution of the unobserved heterogeneity, for the same income group.

figure[figure omitted — 852 chars of source]

The round markers show the MLE estimates without taking account of Berkson errors; the upside down triangular markers show the MLE with Berkson error. As can be seen from the Figure, accounting for Berkson errors accentuates the variability in the demand estimates, and leads to relevant differences in the estimated price responsiveness. For the median, for example, shifting the price across the full range shown in the figure (from 0.20 to 0.36) leads to a fall in estimated (log) demand by 0.11 assuming the absence of Berkson errors, compared to 0.21 in the presence of Berkson errors. Note the non-monotonicity in the unconstrained demand curve estimates, which is an artifact of random sampling variation (see further bhp-2012,bhp-2017). This non-monotonicity appears to accentuate the sensitivity to the Berkson errors in this empirical example.

The square markers in Figures (ref) and (ref) show the estimates when we impose Slutsky negativity. Although there is still a difference in the slope, the two sets of estimates are now much more similar. Looking across the different quantiles, we note a consistent finding that imposing the Slutsky inequality restriction removes non-monotonicity and delivers a smoother estimated demand curve much less sensitive to Berkson errors. This suggests that the estimates under the shape restriction are less sensitive to accounting for Berkson errors, reflecting the stabilizing effect of the shape restriction on the demand estimate.

Figure (ref) compares the estimated effect at the median across the income distribution, comparing \$72,500, \$57,500, and \$42,500, representing upper, middle and lower income households, respectively. These results highlight the importance of the Slutsky restriction in achieving monotonicity. In this way, these results not only provide demand function estimates that are consistent with consumer theory, but in addition attenuate sensitivity to Berkson errors. However, although the mitigation of sensitivity to Berkson errors through imposing the Slutsky restriction is a clear empirical finding of our analysis, we do not claim that it is a theoretical necessity.

figure[figure omitted — 1,560 chars of source]

Figure (ref) compares the estimates for different magnitudes of the Berkson error, varying the standard deviation with factor 1.2 and factor 0.8, respectively. For small standard deviations (panel (b)), the presence of Berkson error makes very little difference to the demand estimates. However for larger standard deviation of the Berkson errors (panel (c)), the differences become quantitatively very important. This is especially pronounced for the unconstrained estimates.

figure[figure omitted — 1,370 chars of source]

Estimating the welfare loss of gasoline taxation

The estimates of the demand function can be used to estimate welfare measures such as deadweight loss (DWL). We consider a hypothetical tax change which moves the price from $p^{0}$ to $p^{1}$ in a discrete fashion (see bhp-2017). Let $e(p)$ denote the expenditure function at price $p $ and a reference utility level. The DWL of this price change is then given by

equation*[equation* omitted — 117 chars of source]

where ${H}_{{\Greekmath 010B}}(p,y)$ is the Marshallian demand function. $L(p^{0},p^{1}) $ is computed by replacing $e$ and $H$ with consistent estimates. The estimator of $e$, $\hat{e}$, is constructed by numerical solution of the differential equation

equation*[equation* omitted — 116 chars of source]

where $\left[ p(t),\hat{e}(t)\right] $ ($0\leq t\leq 1$) is a price-(estimated) expenditure path.

Deadweight Loss (DWL) estimates are reported in Table (ref).

table[table omitted — 3,366 chars of source]

Looking at the unconstrained estimates, the table shows the strong quantitative difference in the DWL figures between the estimates with Berkson error (columns (1)-(2)) versus those without (columns (3)-(4)). In many cases, the estimates with Berkson errors but not the Slutsky restriction are more than twice as large as those assuming absence of Berkson errors.

Regarding the constrained estimates, however, the DWL figures are now much closer together and often of similar order of magnitude. This underlines a key point from the demand curve estimates in the previous subsection, the Slutsky constrained demand estimates reduce sensitivity to the presence of Berkson errors.

Exogeneity test

In this section we report the empirical results for the endogeneity test. To simplify the computation, we implement the univariate version of the test and specify a common standard deviation of the Berkson error distribution across the U.S.\footnote{We set the standard deviation to 0.033, which is the (unweighted) mean across counties in the U.S., see further Section (ref) above.} For this purpose, we stratify the sample along the income dimension in three groups: a low-income group of households (household income between \$35,000 and \$50,000), a middle-income group of households (between \$50,000 and \$65,000), and an upper-income group of households (between \$65,000 and \$80,000). The test is then performed for each income group. The results are shown in Table (ref).

We find we do not reject exogeneity for any of the three income groups. This conclusion remains unchanged when we consider moderate variation in the extent of the Berkson error, multiplying the standard error of the Berkson error by a factor of 0.8 and 1.2, respectively, as shown in the table. The critical values shown in the table do not take account of the fact that we perform the test three times (for each of the three income groups). One possibility for adjusting the size for a joint 0.05 level test would be a Bonferroni adjustment. The adjusted $p$-value for a joint 0.05 level test of exogeneity is $1 - (0.95)^{(1/3)} = 0.01695$, at each of the three income groups. Using this more conservative cutoff would strengthen our conclusion. Based on these results, endogeneity is unlikely to be a first-order issue for our estimates.

table[table omitted — 1,732 chars of source]

Conclusions

It has long been understood that in a mean regression model with a linear effect of a covariate with Berkson errors and an additive error term, the coefficients in an OLS regression are unbiased. Recent advances in methods, data, as well as computational capacity, together with a desire for understanding the effect of heterogeneity in the studied population, have led to a growing interest in nonlinear models. In nonlinear models, the role of Berkson errors is much less well understood, and ignoring these errors in general leads to a bias in the estimates. This motivates our interest in investigating the effect of Berkson errors, and methods for addressing their presence in the data. We conduct this analysis in the context of a quantile regression model, where the covariates enter through a flexible parametric specification, allowing for potential nonlinearity in the effects. Our application of interest is a gasoline demand model with unobserved heterogeneity, where the price is measured with Berkson error.

The presence of Berkson errors is a frequent feature of economic data. It occurs, for example, when the covariate is measured as a regionally aggregated average, masking within-region variability. The data generating process features the covariate which includes the Berkson error but its error-free value is unobserved by the researcher. This naturally raises the question how much difference recognizing the presence of Berkson error may make.

We derive a maximum likelihood estimator, which enables us to carry out consistent estimation in the presence of Berkson errors with a known density. The paper also develops a test for exogeneity of the Berkson covariate in the presence of an instrument.

We apply the method to the demand for gasoline in the U.S. We examine demand curves in which we impose the Slutsky inequality constraint and those that do not. The unconstrained estimated demand function display non-monotonicity in the price of gasoline. This estimated demand function is substantially affected by Berkson errors. The estimates which do not take account of the Berkson errors understate the variability in the price effect. These results show that accounting for Berkson error can have a substantial effect on the estimated demand function in a standard demand application. In turn, these estimates result in differences in DWL estimates for given price changes. In a number of cases, the DWL estimates recognizing the presence of Berkson errors are more than twice as large as estimates assuming the absence of Berkson errors. Thus, Berkson errors can have quantitatively large effects.

In our application, the estimated demand function is weakly non-monotonic in the price. As Blundell et al. (2012, 2017) explain, this can be due to the effects of random sampling errors on the estimate. We overcome this problem by imposing the Slutsky constraint on the structural demand function estimates, as a way of adding structure to the estimation problem. When the Slutsky restriction is imposed, the estimated demand function is well-behaved and the effects of Berkson errors are somewhat attenuated. These results illustrate that in a setting where measurement error increases the uncertainty of the estimates, shape restrictions such as the Slutsky constraint can be particularly useful for providing additional structure to improve the estimation.

{0pt plus 0.3ex}

\restoregeometry \thispagestyle{empty}