<p>What you are proposing is an unusual application of hedonic regression in respect of house prices. The method is most commonly used for one of two purposes:</p>

<p>a) To explain and perhaps predict relative house prices.</p>

<p>b) To estimate the value of characteristics of houses and their neighbourhoods, especially those which are hard to value in other ways such as non-market environmental goods.</p>

<p>When the method is used for either of these purposes, negative parameters are unlikely to be viewed as a problem.  Taking one recent study as an illustration, <a href="https://www.mdpi.com/2071-1050/11/2/437/xml" rel="nofollow noreferrer">Mora-Garcia <em>et al</em> (2019)</a> estimate hedonic regressions with negative parameters on various regressors (see Table 6, pp 15ff).  Their discussion (p 25) notes the negative parameters without concern (focusing rather on the consistency of the negative signs between different models).   When the aim of a hedonic study is to estimate the effect on house prices of an evironmental ‘bad’ such as air pollution, a negative parameter on the pollution regressor is to be expected.  <a href="http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.193.2765&amp;rep=rep1&amp;type=pdf" rel="nofollow noreferrer">Komarova (2009)</a>, for example, found negative parameters for several air pollutants in Moscow (see Table III p 323 and Interpretation p 324).</p>

<p>It’s only your particular aim of analysing house prices into positive cost shares that makes negative parameters a problem.  There isn’t a standard way of dealing with the problem because for most studies it isn’t a problem.</p>

<p>There are however some ideas in the literature that may be helpful.  In the case of distance to work (and generally of distance to any amenity), an alternative is to use some measure of accessibility with the property of associating greater ease of access with a larger regressor value.    <a href="https://www.semanticscholar.org/paper/How-is-Location-Measured-in-Housing-Valuation-A-of-Heyman-Law/8e88c2f94b2921b18c2e94e4f34364533b5fd7f4" rel="nofollow noreferrer">Heyman <em>et al</em> (2019)</a> review various measures of accessibility used in hedonic studies.  In particular their Equation (3) in section 3.3.2 contains a term of the form <span class="math-container">$e^{-c}$</span>, where <span class="math-container">$c$</span> is cost of travel between zones, giving that measure the desired property.  <a href="https://www.researchgate.net/publication/228695852_A_hedonic_regression_of_home_prices_in_King_County_Washington_using_activity-specific_accessibility_measures" rel="nofollow noreferrer">Franklin <em>et al</em>  (2003)</a> present a rather sophisticated index of accessibility to work, also with the desired property, that takes account of multiple work locations with different numbers of employees (see  Equation 2 p 5).  </p>

<p>A general approach that could be used for any regressor that is found to have a negative parameter would be to derive from it a measure defined so as to vary in the opposite direction.  Suppose for example that age of property <span class="math-container">$A_i$</span> was found to be significant and to have a negative parameter, and the highest age in the sample was 100 years.  One could simply replace it by a regressor defined as <span class="math-container">$100-A_i$</span>.  Or one could define a scale of discrete points, say 5 for 0-10 years, 4 for 10-25 years, and so on.  Trying out different measures of this kind might have the additional benefit of improving the fit of the regression.</p>

CC BY-SA 4.0
2020-03-06T04:54:54.440Z
Thanks very much for the explanation and references! Much appreciated!
Herr K.
CC BY-SA 4.0
2020-03-05T22:30:46.073Z
2020-03-05T22:36:09.070Z
2020-03-05T22:36:09.070Z
Adam Bailey
<p>Given a house with price <span class="math-container">$P$</span> and attributes <span class="math-container">$h_1,\dots,h_n$</span>, I want to estimate how much each attribute costs as a percentage of house price <span class="math-container">$P$</span>. In other words, if we express house price as the sum of the costs of individual attributes
<span class="math-container">\begin{equation}
P=c_0+c_1h_1+\cdots+c_nh_n,
\end{equation}</span>
where <span class="math-container">$c_0$</span> is the "baseline cost" of a house and <span class="math-container">$c_1,\dots,c_n$</span> are costs of housing attributes <span class="math-container">$1,\dots,n$</span>, I'm interested in computing
<span class="math-container">\begin{equation}
p_i=\frac{c_ih_i}{P},\quad i=1,\dots,n,
\end{equation}</span>
where <span class="math-container">$p_i$</span> can be interpreted as the cost share of attribute <span class="math-container">$i$</span> of a house with price <span class="math-container">$P$</span>. </p>

<p>Suppose I have data on <span class="math-container">$P$</span> and <span class="math-container">$h_i$</span>'s. The natural way is to run a hedonic regression to estimate the <span class="math-container">$c_i$</span>'s. However, I face the following difficulty:</p>

<p>Some of the estimated <span class="math-container">$c_i$</span>'s may be negative, which leads to the corresponding <span class="math-container">$p_i$</span>'s also being negative. For example, an <span class="math-container">$h_i$</span> could be distance to work, which reduces house price as the property is located farther and farther away from work. This creates a problem for interpreting <span class="math-container">$p_i$</span> as a cost share since it's less than zero. </p>

<p>Is there a standard method in the literature to deal with the problem of negative coefficients in hedonic regression? Any reference or tips would be greatly appreciated.</p>

<econometrics><reference-request><regression>
Hedonic regression and attribute-shares in house prices
Herr K.
# Hedonic regression and attribute-shares in house prices

(Asked by: username_0 on 2020-02-23)

Given a house with price $P$ and attributes $h\_1,\dots,h\_n$, I want to estimate how much each attribute costs as a percentage of house price $P$. In other words, if we express house price as the sum of the costs of individual attributes
\begin{equation}
P=c\_0+c\_1h\_1+\cdots+c\_nh\_n,
\end{equation}
where $c\_0$ is the "baseline cost" of a house and $c\_1,\dots,c\_n$ are costs of housing attributes $1,\dots,n$, I'm interested in computing
\begin{equation}
p\_i=\frac{c\_ih\_i}{P},\quad i=1,\dots,n,
\end{equation}
where $p\_i$ can be interpreted as the cost share of attribute $i$ of a house with price $P$.

Suppose I have data on $P$ and $h\_i$'s. The natural way is to run a hedonic regression to estimate the $c\_i$'s. However, I face the following difficulty:

Some of the estimated $c\_i$'s may be negative, which leads to the corresponding $p\_i$'s also being negative. For example, an $h\_i$ could be distance to work, which reduces house price as the property is located farther and farther away from work. This creates a problem for interpreting $p\_i$ as a cost share since it's less than zero.

Is there a standard method in the literature to deal with the problem of negative coefficients in hedonic regression? Any reference or tips would be greatly appreciated.

**Tags:** econometrics, reference-request, regression

---

## 1 answers

### Answer by username_1 on 2020-03-05. Score: 1 | Accepted answer

What you are proposing is an unusual application of hedonic regression in respect of house prices. The method is most commonly used for one of two purposes:

a) To explain and perhaps predict relative house prices.

b) To estimate the value of characteristics of houses and their neighbourhoods, especially those which are hard to value in other ways such as non-market environmental goods.

When the method is used for either of these purposes, negative parameters are unlikely to be viewed as a problem. Taking one recent study as an illustration, [Mora-Garcia *et al* (2019)](https://www.mdpi.com/2071-1050/11/2/437/xml) estimate hedonic regressions with negative parameters on various regressors (see Table 6, pp 15ff). Their discussion (p 25) notes the negative parameters without concern (focusing rather on the consistency of the negative signs between different models). When the aim of a hedonic study is to estimate the effect on house prices of an evironmental ‘bad’ such as air pollution, a negative parameter on the pollution regressor is to be expected. [Komarova (2009)](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.193.2765&rep=rep1&type=pdf), for example, found negative parameters for several air pollutants in Moscow (see Table III p 323 and Interpretation p 324).

It’s only your particular aim of analysing house prices into positive cost shares that makes negative parameters a problem. There isn’t a standard way of dealing with the problem because for most studies it isn’t a problem.

There are however some ideas in the literature that may be helpful. In the case of distance to work (and generally of distance to any amenity), an alternative is to use some measure of accessibility with the property of associating greater ease of access with a larger regressor value. [Heyman *et al* (2019)](https://www.semanticscholar.org/paper/How-is-Location-Measured-in-Housing-Valuation-A-of-Heyman-Law/8e88c2f94b2921b18c2e94e4f34364533b5fd7f4) review various measures of accessibility used in hedonic studies. In particular their Equation (3) in section 3.3.2 contains a term of the form $e^{-c}$, where $c$ is cost of travel between zones, giving that measure the desired property. [Franklin *et al* (2003)](https://www.researchgate.net/publication/228695852_A_hedonic_regression_of_home_prices_in_King_County_Washington_using_activity-specific_accessibility_measures) present a rather sophisticated index of accessibility to work, also with the desired property, that takes account of multiple work locations with different numbers of employees (see Equation 2 p 5).

A general approach that could be used for any regressor that is found to have a negative parameter would be to derive from it a measure defined so as to vary in the opposite direction. Suppose for example that age of property $A\_i$ was found to be significant and to have a negative parameter, and the highest age in the sample was 100 years. One could simply replace it by a regressor defined as $100-A\_i$. Or one could define a scale of discrete points, say 5 for 0-10 years, 4 for 10-25 years, and so on. Trying out different measures of this kind might have the additional benefit of improving the fit of the regression.

> **Comments:**
> **username_0**: Thanks very much for the explanation and references! Much appreciated!  

---

