1 Introduction

In this article we analyse the house price cycle in the 17 largest Polish cities during 2007–2018 to demonstrate how the market evolved and to determine why the Global Financial Crisis did not lead to a crisis on the Polish real estate market, but only induced a gradual decline in house prices. Most developed countries experienced a significant increase in prices before 2007 and a significant decrease thereafter, which, combined with the highly developed mortgage market, has led to problems in the financial and banking sectors. In many cases, the outstanding mortgage exceeded the value of the encumbered property. As a consequence, banks lost much of their mortgage collateral and had to match their balances with the reduced equity. Financial institutions operating on these markets and investing in mortgage debt recorded losses, which resulted in losses in the savings of households who invested in such instruments. The fact that debt exceeded the collateral value had also negative consequences for mortgage takers. They had to limit their expenses and pay off debts. The deleveraging process began, in which banks reduced their lending and households reduced their consumption. The above problems had a direct negative impact on global demand which resulted in an economic slowdown.

International studies show that house price cycles have a significant impact on financial stability and consequently on economic growth (European Central Bank, 2005; Jordá et al. 2014; Reinhart & Rogoff, 2009). Leamer (2007, 2015) states that housing is the business cycle, which means that house purchases determine the evolution of economic growth in the near future. The reason why house prices are so important for economic growth and financial stability, which in consequence directly affects the well-being of the citizens, is that most house purchases in developed countries are financed with a mortgage. During an economic upswing, growing wages allow people to take bigger mortgages and to buy better, thus more expensive housing. Under a rigid supply in the short run, house prices grow. New housing units need to be constructed, which generates jobs in many fields. The construction sector needs to hire more workers who produce materials, transport them and construct housing. New housing requires also new furniture and other outfits, and the owners will ask for different kinds of services in the future. Also the banking sector expands as more bank clerks are needed to process the mortgage applications. During normal times, the growth in the housing market has a positive effect on the overall economy. Aoki et al. (2004) apply a general equilibrium model which draws on the financial accelerator model of Bernanke et al. (1999) to UK house prices and show that even small decreases of interest rates can lead to house price growth, but also to growth of consumption. Iacoviello and Neri (2010), who use a dynamic stochastic equilibrium model, show that there are non-negligible positive spillover effect on consumption that stem from house price growth. The house price cycle is fuelled also by speculations and herding behaviour, as Herring and Wachter (1999) and Malpezzi and Wachter (2005) explain. However, once the economy starts to slow down, the unemployment rate increases and wages drop, people start to have problems to pay back the mortgage. Also fewer people decide to buy housing and in consequences house prices decline. In this case, the herding behaviour and disaster myopia start to accelerate the downturn (see Herring & Wachter, 1999). The value of the mortgage collateral declines and more and more people have problems to pay back the mortgage. In such a situation banks record losses, and need to deleverage, which means that they have to curb lending (see Iacoviello, 2015). Households also begin deleveraging, as their assets become lower than their debt. This in turn slows down economic growth and leads to further house price declines. In the worst case this leads to a recession, as the one observed in the US, EU, and other developed countries during 2007–2010.Footnote 1 Herring and Wachter (1999) state that many of the previously observed housing booms end in banking busts. Girouard et al. (2006) analysed house price booms in the OECD countries between 1970 and the mid-1990s and identified thirty-seven boom periods, of which only 35% did not result in a bust. In those cases, the increase in prices could be explained by favourable fundamental factors.

The cyclical nature of the housing market is its well-known and rather impossible to eliminate structural feature. The fundamental causes of cyclicality are usually a fluctuating demand, a rigid supply, speculations and a short-sighted financial system. However, the main problem are housing crises, which occur much less frequently, but have a severe impact on the economy. They are caused by the same factors that drive the cycles, but these impulses are stronger and usually we deal with the accumulation of many of them. The challenge is to understand when the house price cycle is “business as usual” and when there are signs of serious tensions building up which will lead to a housing crisis. The processes of financial market globalization, the related deregulation of housing markets and the loose monetary policy were the causes of several serious housing crises in the last decades. As a consequence, a rich literature emerged that described the related processes and proposed different systems to monitor the tensions. Usually these are systems based on econometric models or advanced indicator systems that monitor key entities and markets. Their early warning capabilities are quite good, but their primary weakness is that they are based on our past experiences, and history shows that the developments that lead to a crisis can be different each time they appear. The second weakness of advanced models is that they require access to a large amount of detailed data about the sector and, consequently, a large amount of time and labor. Therefore, a legitimate question arises whether it is possible to analyze the risks associated with the housing cycle or a potential crisis only on the basis of time series of housing prices.

We can assume based on past historical experiences that when the house price cycle is more symmetric, the growth and subsequent decline in the housing market are rather moderate. When house prices grow slowly and then also decline slowly, the adjustments in the housing sector will be moderate and should not generate any substantial risk to the performance of the overall economy. Contrary, if tensions have built up over a long time and demand drops suddenly, the following decline in prices can lead to an economic and financial crisis can emerge. Therefore, it is crucial for housing policy, economic policy and also monetary policy, to understand whether the house price cycles are symmetric or not, because the proper means to counteract a potential crisis can be taken. We focus on two measures of the house price cycle asymmetry that we borrow from Andre, Gupta and Mwamba (2019): Deepness represents differences in the magnitude of upswings and downturns. Steepness measures differences in the speed of price changes during upswings and downturns.

The housing market needs to be analysed at different time horizons, because market adjustments in the short, medium and long term vary significantly (see Andre, 2010). The short-term deviations, referred to as the cyclical component (see Razzak, 2001; Andre et al. 2019), are the result of equilibrium distortions, mainly demand shocks. The supply side is regarded as relatively constant in the short term; therefore, higher demand increases prices, whereas lower demand decreases prices. In the short term, demand for given flat sizes and attributes can be considered as a stochastic process, and the mismatch between the desired housing and the one offered on the market generates price fluctuations. The fact that flats meeting the buyer’s criteria appear on the market only occasionally can prompt the buyer to make an impulsive decision and pay an excessive price. Other factors, such as the monopolistic pricing strategies of developers (Łaszek, Olszewski, et al., 2016), imperfect information (Wiśniewski, 2008) and subsidy programs (NBP, 2018a), can impact on house price fluctuations. Supply is generated by housing developers and by the owners of housing. Developers follow a predefined strategy and control the timing of market sales, whereas house owners are more prone to herding behaviour when they sell their homes. Most people who sell property have a precise plan to do so, but the exact time of sale is the result of various events. Owners dispose of property mainly to improve their living conditions and to buy a better, newer or larger house. This is possible when housing becomes affordable due to rising incomes and lower mortgage costs and when it is physically available on the primary or secondary market. The decision to sell is triggered by the previously mentioned factors which usually affect many people at the same time and shift the demand and supply curve. This leads to herding behaviour (Brzezicka et al. 2018) and price fluctuations.

In the medium term, the supply side begins to adjust to the demand side because developers deliver more housing to the market. However, excessive demand drives up price. An increase in supply usually raises land and construction costs; therefore, house prices tend to increase in the medium term. The reverse can be observed when the supply of housing becomes excessive or when demand decreases and prices begin to fall. The housing sector adjusts to long-term demand (legislative changes relating to building permits, urban expansion, construction of new factories, movement of labour to the construction sector, etc.) only in the long-term perspective, and house prices grow at the pace of long-term costs and inflation. This is due to the fact that costs follow income levels in the long term.

Various factors affect the house price cycle, and their appearance and strength changes over time, therefore also the shape of the house price cycle can change. The analysis of housing cycles shows that sudden and prolonged declines in prices are very problematic for the economy. They can appear after a long period of slow price growth, but also after a very fast increase in house prices. These two processes may take place one after another when a long-term increase in prices causes strong inflation expectations in the future and an increase in speculative demand.

We try to distinguish in the price time series the structural cycle (trend component), which is relatively mild and captures the natural processes of self-regulation of the sector, and the deviations from this trend. Further on, we analyse how fast prices increase or decrease. We therefore focus on the frequency and the amplitude of the cycle and analyse whether there is a smooth pattern or whether there are sharp changes. We evaluate the short-term and medium-term changes in house prices and the asymmetry of the house price cycle, analysing the steepness and deepness of asymmetric price adjustment. According to Andre, Gupta and Mwamba (2019, p. 2), “Steepness measures the speed at which peaks and troughs are reached. (…) Positive deepness asymmetry implies that peaks are high, while downturns are relatively mild. Negative deepness asymmetry is characterised by modest peaks but deep recessions. (…) Positive steepness asymmetry indicates rapid increases followed by slower declines in prices. (…) Negative steepness asymmetry refers to rapid price falls following slower increases (…)”. Explicitly, the deepness measures the cyclical deviation from the trend, while the steepness measures the quarterly change of prices. The two measures the frequency and amplitude, thus important information concerning the shape of the cycles. One can assume that the situation is less problematic when positive deepness asymmetry or positive steepness asymmetry occurs, while more severe problems can be expected when negative deepness asymmetry or negative steepness asymmetry occurs. Examples of these phenomena in selected US regions are presented graphically in Fig. 1.

Fig. 1
figure 1

Source: Own elaboration based on André et al. (2019, p. 2)

The Freddie Mac house price index for 1975:01–2015:12, 2000m12 = 100.

So far we have explained how asymmetry of cycles is measured, but we also need to give examples that help to understand what has caused the asymmetry in a given city, and further what this phenomenon means for that market. We rely here on the results by Andre, Gupta and Mwamba (2019) presented in Fig. 1. Positive deepness which is found in Connecticut means that the housing market observed house price booms that did not end in a bust, but rather a slow decline in prices. After the trough is reached, prices began to rise slowly again. This kind of asymmetry can be considered as a relatively smooth example of house price cycles. While there were some booms, those cooled down slowly, and prices reverted to long-run levels. Most likely relatively few problems were observed in the housing market afterwards. Negative deepness was observed in Oklahoma, where a very long and slow price increase was followed by a significant price decline from around 1983 until 1989. Such a scenario can be also treated as relatively calm, however the prolonged decline in prices had most likely a negative effect on housing developers. As they observed declining prices there were little motives to start new construction. Another important measure of the shape of the cycle is the steepness. Hawaii observed a positive steepness of the cycle, which means that price increases where fast, while the declines rather slow. One can conclude that in this region the market was rather stable, but due to some economic factors from time to time demand increased and lead to significant price growth. The following price decline was smooth and had most likely relatively small negative consequences for the market. However, we observed negative steepness in Georgia, where after decades of slow increases, prices dropped quickly in 2007 and reverted after 2011. Under such a scenario, people who took a mortgage in the last years before the downturn got problems, as the value of the mortgage exceeded the value of the house.

We apply the framework described above to analyse the price cycle asymmetry in Poland to elicit detailed information about the functioning of the housing market. We analyse the prices of newly constructed houses and those from the existing stock separately. The term house was used to denote flats in multifamily dwellings. For the sake of shortness, we call the market for newly constructed housing the primary market, while the market for housing form the existing stock is called secondary market. The two markets are strongly related as Brzezicka, et al. (2019) show for the Warsaw housing market, but the impact of economic variables on house prices differs among the two markets types (Leszczyński & Olszewski, 2017).

The Polish economy is strongly linked to the EU economy; therefore, the Polish housing market could be expected to crash after the Global Financial Crisis. When Poland joined the EU in 2004, the economy accelerated, wages increased and the demand for higher quality housing rose. However, large urban agglomerations continue to experience a shortage of housing. Poland gained access to international capital markets, and seeminglyFootnote 2 cheap foreign currency-denominated mortgages became available, which boosted demand. Housing developers were not able to satisfy growing demand and, consequently, house prices increased substantially in 2006–2008. This price growth could be regarded as a bubble, but the bubble never burst. After 2007, prices declined only gradually and only for several years. When the economy stabilised in 2010, prices began to increase slowly, then remained stable, and only minor fluctuations have been observed since.

The aim of this paper was to explain the absence of a classical boom-bust episode, or at least a severe drop in house prices, in Poland. The answer can be found in the specific features of the Polish housing market which are responsible for the differences relative to the surrounding markets. The main differences were prudent mortgage granting criteria during the boom, a nearly continuous increase in wages during the analysed period and two housing subsidy programs. Those factors will be explained in greater detail in Sect. 5.

The paper is organized as follows: The relevant literature is reviewed in Sect. 2, data and econometric methods are described in Sect. 3. The empirical analysis is presented in Sect. 4, and the results are discussed and conclusions are formulated in Sect. 5.

2 Literature review

The long-term relationship between house prices and economic variables was analysed by Abraham and Hendershott (1996), Gallin (2006), Malpezzi (1999), Capozza et al. (2002), Lee and Song (2015), and Lambertini et al. (2017). Abraham and Hendershott (1996) divided the analysis into a cointegration relationship in the long term and adjustments in the short term. The Wheaton DiPasquale (1992) model provides the theoretical, long term background for an analysis of cycles. The model describes the relationship between space and rents which influences prices and, consequently, construction through interest rates. The above factors coupled with depreciation determine housing supply. The model was designed for the commercial rental market, but it can also be applied to the housing market, including in Poland where owner-occupied housing dominates. For the needs of this analysis, rented space has to be substituted with owner-occupied housing space or housing units. In this setting, the supply of new flats increases in response to a higher demand for housing units (rather than space measured in m2). The construction process takes time, and prices increase until new supply (including pre-sale contracts) reaches the market. According to Andre (2010), the main drivers of house price cycles in the OECD countries on the demand side are the real disposable income of households, interest rates and the evolution of the mortgage market. The determinants of supply are land availability, permits, infrastructure and profits. Hott (2009) analysed house prices in six highly developed countries and found that house prices fluctuated more than fundamentally justified, which he interpreted as bubbles. He also proposed a model for detecting such bubbles. The cited author observed that buyers and financing institutions do not rely only on fundamentals, which leads to substantial over- and under-valuations (cf. Shi, 2017; Kim and Lim (2016) and has important implications for the present study.

We should also point out that according to Quan and Quigley (1991), and Geltner (2015) valuation indices are smoother than the price indices, and what is even more problematic, they lag behind the transaction price index. Brown and Matysiak (2000, p. 51) explain that in the commercial property sector sticky valuations can be observed, which results from three facts: some valuations are done on an annual basis, not quarterly; sometimes valuers do not consider some information to be important to adjust prices; during a downturn the clients of the valuer might want that the value adjusts slowly to the new equilibrium. While those results consider the commercial property market, it is likely that similar problems occur when banks value a large portfolio of housing units. When the price boom already comes to an end, valuations can still show a growing price trend. And vice-versa, when the through is reached and the economy starts to expand, bank valuations might be below the market prices, which will decrease their willingness to issue new mortgages.

The asymmetry of price cycles can be analysed by determining the deepness asymmetry and the steepness asymmetry (André et al. 2019, p. 2) which have been described in the Introduction. In the literature, deepness is also referred to as depth (Razzak, 2001; Verbrugge, 1997, 1998). Deepness measures the relative magnitude of peaks and troughs, whereas steepness measures the rate at which peaks and troughs are reached (André et al. 2019, p. 2). Asymmetry is measured with the use of two tests: the Triples test and the entropy test. The Triples test is a nonparametric asymmetry test designed by Randles et al. (1980). The Triples tests has been used by Verbrugge (1997), Razzak (2001) and Cook (2006) to measure cycle asymmetry.

Verbrugge (1997) analysed asymmetry in view of macroeconomic variables based on quarterly post-war US data, including the unemployment rate, index of total good-producing hours, total private employment, industrial production index, real GDP, real consumption, real investment, real government spending, real net exports, index of coincident indicators, and CPI. Razzak (2001) relied on the Triples tests to detect asymmetries in the U.S. as well as international GDP fluctuations. A similar analysis was undertaken by Belaire-Franch and Contreras (2003). Both studies examined asymmetry in six countries (US, UK, Japan, Germany, Australia and New Zealand). Cook (2006, p. 2067) investigated asymmetry in regionally disaggregated UK house prices and then examined data that were further disaggregated according to age or vintage of the housing stock. Yilanci (2012) used the Triples tests to examine the asymmetric behaviour of macroeconomic aggregates for Bulgaria, Croatia and Romania. André et al. (2019) investigated asymmetry in US housing price cycles at the state and metropolitan statistical area (MSA) level.

One of the first studies of house cycles in Poland was carried out by Trojanek (2011). This study focused on quarterly offer prices for 6 large cities, covering 1996–2011, and found that all the cities have similar phases of the cycle, however they differ in length. The results can be seen as a first attempt to study the asymmetry of the house price cycles in various cities. However, according to the best of the authors’ knowledge, the asymmetry of price cycles on the Polish real estate market has not been examined with the use of the Triples test or the entropy test. André et al. (2019, p. 3) concluded that “asymmetry in housing cycles may result from asymmetry in the determinants of housing prices and/or from non-linearity in the relationships between these determinants and housing prices”. Similar observations were made by Batóg and Foryś (2010); Gdakowicz and Hozer (2012), Foryś (2009), Foryś (2013a), Foryś (2013b), and Trzęsiok (2013). Bełej (2012) and Bełej and Kulesza (2011, 2013) used asymmetry and bifurcation indicators in a time series analysis of housing prices to develop mathematical models from the point of view of catastrophe theory. They found that the dynamics of real estate prices was non-homogeneous. Prices remained stable in the long-term, and rapid and short-term fluctuations were observed in unstable states. Kulesza and Bełej (2015) and Bełej (2018) evaluated the asymmetry of price cycles on the real estate market with the use of a non-linear mathematical function describing the behaviour of a harmonic oscillator. They analysed the phase of rapid price increases, followed by an asymptotic return to long-term stability characterised by series of impulses of decreasing magnitude.

Many of the abovementioned empirical studies use the repeated sales prices index or the hedonically corrected house price index to study the house price cycles. However, in order to use such data instead of the mean transaction price, it needs to be available. As concerns the housing market in Poland, the repeated sales index is still under development. The recent studies propose how to generate such an index (Czerski et al. 2017; Głuszak et al. 2018) and motivate why such an index should be used (Hill & Trojanek, 2020). But the repeated sales methodology has not been adopted with significant success in Poland, mainly because of concern regarding the relative low frequency of transactions on the housing market in most metropolitan areas and the small sample of repeated sales (Czerski et al. 2017). It should be also mentioned that according to Balk et al., 2013 the sample selection bias is a significant limitation of this method, especially in a rather still developing housing market. Hill and Trojanek (2020), who analyse house price data for Warsaw, point out that such an index is unreliable, suffering from the sample selection bias, and prone to significant revisions when new periods are added to the dataset. Hill and Trojanek (2020) compare different methods to generate a house price index and find that the hedonic index is a robust method. The hedonic index method was applied in Poland to analyse house prices in Warsaw by Widłak and Tomczyk (2010) and Olszewski et al. (2017), and by Trojanek (2009, 2012, 2018) to analyse the housing market in Poznań. Given that the hedonic index is a robust measure of house price changes, it should be used for the analysis of the asymmetry of house price cycles. However, there is no hedonically corrected price index for the primary housing market, because the price changes in that market result mostly from the monopolistic competition of developers who sell rather similar flats at various prices at a given time to different buyers (see Łaszek, Olszewski, et al., 2016). To sum up, we apply the second best solution, that is we use the mean transaction prices to study the house price asymmetry in Poland.

3 Data and methods

3.1 Triples test

The time series has to be decomposed for the Triples test into the trend part and the cycle part. This can be achieved with the use of the Hodrick–Prescott filter (HP) (Verbrugge, 1997; Cook, 2006; André et al. 2019, p. 4). Despite the criticism of the HP filter in recent literature (see Hamilton, 2018), the previously proposed methodology was used in this study. In the first step, time series have to be log transformed. Deepness is calculated based on detrended time series, and steepness is determined based on first difference data.

Formally, \({x}_{1}, {x}_{2}, \dots , {x}_{N}\) denote a random sample drawn from \(F\left( {x - \theta } \right)\), where \(F(\bullet )\) is a cumulative distribution function for a continuous population with \(F\left(0\right)= \frac{1}{2}\) and \(\theta\) is the median of the \(x\) population. Function \({f}^{*}\left({x}_{i},{x}_{j}, {x}_{k}\right)\) is defined as follows:

$${f}^{*}\left({x}_{i},{x}_{j}, {x}_{k}\right)=\frac{1}{3}\left[\begin{array}{c}sign\left({x}_{i}+{x}_{j}-{2x}_{k}\right)\\ +sign\left({x}_{i}+{x}_{k}-{2x}_{j}\right)\\ +sign\left({x}_{j}+{x}_{k}-{2x}_{i}\right)\end{array}\right],$$
(1)

where

$$sign\left( x \right) = \left\{ {\begin{array}{*{20}c} {1~\;if\;~x > 0} \\ {0~\;if\;x = 0} \\ { - 1\;~if\;~x < 0} \\ \end{array} } \right.$$
(2)

It should be noted that \({f}^{*}\left({x}_{i},{x}_{j}, {x}_{k}\right)\) can only be \(\frac{1}{3}, 0, -\frac{1}{3}\). In this case, \(\left({x}_{i},{x}_{j}, {x}_{k}\right)\) forms the right triple if \({f}^{*}\left({x}_{i},{x}_{j}, {x}_{k}\right)= \frac{1}{3}\); \(\left({x}_{i},{x}_{j}, {x}_{k}\right)\) forms the left triple if \({f}^{*}\left({x}_{i},{x}_{j}, {x}_{k}\right)= -\frac{1}{3}\). When \({f}^{*}\left({x}_{i},{x}_{j}, {x}_{k}\right)=0\), the triple is neither right skewed nor left skewed, however, such an outcome has a zero probability when sampling from a continuous population. The proposed test statistics is the U statistics given by:

$$\widehat{\eta }={\left(\genfrac{}{}{0pt}{}{N}{3}\right)}^{-1}\sum_{i<j<k}{f}^{*}\left({x}_{i},{x}_{j}, {x}_{k}\right)$$
(3)

Therefore:

$$\widehat{\eta }=\frac{\left[\left(number\,of\,right\,triples\right)-\left(number\,of\,left\,triples\right) \right]}{\left[3 \left(\genfrac{}{}{0pt}{}{N}{3}\right)\right]}.$$
(4)

and

$$\mathrm{E}\left(\widehat{\eta }\right)=\upeta =\mathrm{Pr}\left\{{x}_{1}+ {x}_{2}-{2x}_{3}>0\right\}- \mathrm{Pr}\left\{{x}_{1}+ {x}_{2}-{2x}_{3}<0\right\},$$
(5)

with

$$var\left(\widehat{\eta }\right)={\left(\genfrac{}{}{0pt}{}{N}{3}\right)}^{-1}\sum_{c=1}^{3}\left(\genfrac{}{}{0pt}{}{3}{c}\right)\left(\genfrac{}{}{0pt}{}{N}{3}\genfrac{}{}{0pt}{}{-3}{-c}\right){\xi }_{c}$$
(6)

where:

$${\xi }_{c}=var\left[{f}_{c}^{*}\left({x}_{1},\dots , {x}_{c}\right)\right],$$
(7)

and.

$${f}_{c}^{*}\left({x}_{1},\dots , {x}_{c}\right)=E\left[{f}_{c}^{*}\left({x}_{1},\dots , {x}_{c}, {x}_{c+1}, \dots , {x}_{3}\right)\right].$$
(8)

Assuming that \({\sigma }_{A}^{2}=9{\xi }_{1}\) and \({o}_{N}^{2}={o}_{A}^{2}+o(1)\), Randles et al. (1980) used the Slutsky Theorem to show that \(N^{1/2} = \left( \eta^{\prime} - {\eta} \right)/\sigma_{A}\) also has a standard normal limiting distribution. The following assumption was tested in this study:

$${H}_{0 }: \widehat{\eta }=0\mathrm{ versus the alternative }{H}_{1 }: \widehat{\eta }\ne 0.$$
(9)

The Triples test is used to test the hypothesis that the distribution is symmetric when the unknown median \(\theta\) is tested against a broad class of asymmetric alternatives. The Triples test is a two-sided test, but it can be used as a one-sided test. Randles et al. (1980) demonstrated that the class of asymmetric distributions for which \(\eta =0\) is small.

The two asymptotic normal forms yield an asymptotically distribution-free test (8) provided that \({\sigma }_{N}\) and \({\sigma }_{A}\) are replaced by consistent estimators \({\widehat{\sigma }}_{N}\) and \({\widehat{\sigma }}_{A}\) in the appropriate expressions. Randles et al. (1980) demonstrated that the resulting tests are consistent if and only if \(\widehat{\eta }\ne 0\).

The quantities \({\xi }_{1}\) \({\xi }_{2}\) and \({\xi }_{3}\) are expressed in terms of probabilities and are computed in the following order:

$${\xi }_{1}=var\left[{f}_{1}^{*}\left({x}_{1}\right)\right],\mathrm{with }{f}_{1}^{*}\left(x\right)=E\left[{f}^{*}\left(\bullet \right)\right].$$
(10)
$${\xi }_{1}=\frac{1}{N}\sum_{i=1}^{N}{\left({f}_{1}^{*}\left({x}_{i}\right)-\widehat{\eta }\right)}^{2},$$
(11)

where

$${f}_{1}^{*}\left({x}_{i}\right)= {\left(\genfrac{}{}{0pt}{}{N-1}{2}\right)}^{-1}\sum_{\begin{array}{c}j<k\\ j\ne i\ne k\end{array}}\sum {f}^{*}\left({x}_{i},{x}_{j},{x}_{k}\right).$$
(12)

and

$${\xi }_{2}= {\left(\genfrac{}{}{0pt}{}{N}{2}\right)}^{-1}\sum_{j<k}\sum_{i=1}^{N}{\left({f}_{2}^{*}\left({x}_{j},{x}_{k}\right)-\widehat{\eta }\right)}^{2},$$
(13)

where

$${f}_{2}^{*}\left({x}_{j},{x}_{k}\right)= \frac{1}{N-2}\sum_{\begin{array}{c}i=1\\ j\ne i\ne k\\ i\ne k\end{array}}{f}^{*}\left({x}_{i},{x}_{j},{x}_{k}\right).$$
(14)

and

$${\xi }_{3}= \frac{1}{9}-{\left(\widehat{\eta }\right)}^{2}.$$
(15)

Each \({\xi }_{i}\) and \({\widehat{\xi }}_{i}\) are replaced in the expression for \({\sigma }_{N}\) and \({\sigma }_{A}\) to produce estimators \({\widehat{\sigma }}_{N}\) and \({\widehat{\sigma }}_{A}\). Both estimators are consistent because each \({\widehat{\xi }}_{i}\) is written as a linear combination of the \(U\) statistics. To test the hypothesis in (8), the Triples test is defined based on \({T}_{1 }= {N}^{1/2}\widehat{\eta }/{\widehat{\sigma }}_{N}\) and an associated text based on \({T}_{2 }= {N}^{1/2}\widehat{\eta }/{\widehat{\sigma }}_{A}\). Therefore, \({H}_{0}\) is rejected because \(\left|{T}_{i }\right|> {Z}_{(\alpha /2)}, i=1, 2\), where \({Z}_{(\alpha /2)}\) is the upper percentile of the standard normal distribution. These tests are asymptotically distribution-free provided that the underlying distribution is not degenerate.

3.2 Entropy test

The entropy test of asymmetry described by Racine and Maasoumi (2008) is based on the normalization of the Bhattacharya–Helliger statistic measure of dependence \({S}_{p}\) given by:

$${S}_{p}= \frac{1}{2}{\int }_{-\infty }^{+\infty }{\left({f}_{1}^{1/2}-{f}_{2}^{1/2}\right)}^{2}dy,$$
(16)

where: \({f}_{1}=f(y)\) is the marginal density of a continuous stationary random variable \({Y}_{i}\), and \({f}_{1}=f(\widehat{y})\) for \({\widehat{Y}}_{i}\), where \({\widehat{Y}}_{i}\) denotes \({Y}_{i}\) rotated around its mean i.e. \({\widehat{Y}}_{i}= - {Y}_{i}+2E({Y}_{i})\). Vector \({Y}_{i}\) is parametrically asymmetric around the mean if \(f\left( y \right) \equiv f\left( {\hat{y}} \right)\) which corresponds to the following test of asymmetry:

$$H_{0} :f\left( y \right) = f\left( {\hat{y}} \right)\,{\text{for all}}\,y\,{\text{versus}}\,{\text{the}}\,{\text{alternative}}.H_{1} :f\left( y \right) \ne f\left( {\hat{y}} \right)$$
(17)

The calculations for the entropy test were performed in R.

4 Empirical framework

We analyse mean transaction prices on the primary and secondary real estate market in the 17 largest Polish cities between 3Q2006 and 3Q2018. The data was obtained from the National Bank of Poland (NBP 2018b, see link for data). We use mean transaction prices, because such prices are available for both the primary and the secondary market.

We are aware of the potential limitations of applying the mean price data and want to present the arguments why we still chose this approach. Many of the empirical studies mentioned in the literature review use hedonically corrected prices or repeated sales prices, which means that the house price data is robust to changes in the composition of the analysed sample in each quarter. The composition of the sample can change over the cycle, in which case it is possible that the mean price trajectory differs from the quality adjusted one. For example during an upswing people want to buy larger flats, while they prefer smaller ones during a downswing. Given that smaller flats usually have a higher price per square meter that the larger ones, this could make the price growth and also the price decline flatter. However, we want to use the same kind of price data for the primary and the secondary market, such that we can compare our findings for both markets. As explained in the literature review, the repeated sales index is still an unreliable methodology to assess house prices in Poland. The hedonic index would be the best solution, but it cannot be used for the primary housing market. To strengthen our theoretical arguments we compared the quarterly mean and hedonic price data on the secondary market in all cities and found that the two series show the same medium and long run properties. There are short-term deviations between the two series, but those can be neglected when we focus on cycles (see for example the figures in NBP 2018b). This means that the mean transaction price data are well suited for our analysis.

The real house prices, the trend inferred with the HP filter and a linear trend are presented in the figures below. The data in the figures relate to the primary market. Selected graphic elements for the secondary market are presented in Appendix 1 for greater readability. The characteristic features of price cycles on the Polish real estate market are described first.

Pre-sale contracts are widely applied on the primary market in Poland. This solution improves the elasticity of supply, but it does not satisfy housing needs until new dwellings are commissioned for use. According to Łaszek et al. (2018), the Polish market had undergone three cycles between 1994 and 2018. The cycle covering the period of 1994–2003 was caused by the transition from a centrally planned to a market-oriented economy during which State-owned cooperatives were replaced by private housing developers. This cycle, termed as the “zero” cycle, was not analysed because quarterly data for all 17 major cities became available only in 2007. The first cycle in a fully market-oriented economy (2004–2009) began upon Poland’s accession to the EU. Poland’s membership in the EU increased wages and the affordability of higher-quality housing. Demand rapidly surpassed supply, which prompted developers to increase prices. Interestingly, the price bubble did not burst—the demand did not decline because mortgage takers experienced financial difficulties, but because the Global Financial Crisis instilled fear in the Polish economy. Banks remained cautious and offered mortgages to more affluent consumers who repaid their loans on time. New construction projects were put on hold for several quarters, and only housing units that had been under construction were completed. Borrowers did not observe significant economic shocks because wages continued to increase and only a minor rise in unemployment was observed. Most mortgages were taken out by the wealthier part of the population. However, foreign currency denominated mortgages could have caused a shock when the PLN/CHF exchange rate dropped by nearly 40% in 2009. Fortunately, the Swiss National Bank lowered its interest rate to zero (see Łaszek, Augustyniak, et al., 2016 for more details). Poland has only adjustable interest rate mortgages; therefore, the exchange rate shock was mitigated by the decrease in the interest rate, and monthly mortgage payments did not change substantially. In contrast, Hungarian consumers had been offered fixed rate mortgages, therefore, the interest rate for the client did not decrease when the Swiss National Bank rate had been reduced, and the foreign currency shock contributed to an increase in monthly payments. However, collateral value decreased, and mortgage debt exceeded the assessed value of many homes. As a result, many home-owners were prevented from selling their property in fear of a financial loss. These processes were described in detail by Łaszek, Augustyniak, et al. (2016). The second and present market cycle began in 2010, and it can be considered as the first cycle on a mature housing market. The buyers and the sellers are well informed, and consumers can chose between different offers. Some consumers can afford to make substantial down payments, which gives them leverage during price negotiations with developers. Developers have gained experience and have acquired sufficient capital and land to increase construction in the medium term without causing significant price hikes. However, the increase in prices should follow the increase in construction costs which are determined by the prices of land, construction material and wages.

The data for the study were relatively scarce; therefore, the presented analysis covers only the end of the first cycle and a significant portion of the second cycle. To the authors’ best knowledge, the analysed database is the longest available set of quarterly data for all analysed cities. It should also be noted that the main focus of the study was on the cyclical component which can be calculated from the available time series.

An econometric analysis of the time series requires several transformations and a brief explanation. The prices in PLN per m2 of housing on the primary market are shown in Fig. 2. The trend component was first calculated with the Hodrick Prescott filter, and it is presented in Fig. 3. For five cities, both series were presented in Fig. 4 to simplify the graphic analysis of cyclic price deviations from the trend. These cities were selected to eliminate the overlap between time series and to improve readability. The linear trendline is illustrated in Fig. 5.

Fig. 2
figure 2

Source: own elaboration

Real prices on the primary market.

Fig. 3
figure 3

Source: own elaboration

Long-term trends, HP filter—primary market

Fig. 4
figure 4

Source: own elaboration

Prices and the trend component—price gap.

Fig. 5
figure 5

Source: own elaboration

Linear trendline.

During the first cycle, prices deviated significantly from the trend component in all cities, whereas in the second and present cycle, the cyclical component closely follows the trend component. In macroeconomics, a deviation of the cycle from the GDP trend is referred to as the output gap (see Helbling, 2005; Roubini, 2006; Anundsen et al. 2016). On the housing market, this deviation can be interpreted as sign of a bubble or a bubble burst when the gap changes from a positive to a negative value (Tyc, 2013). Chen (2016, p. 109) applied a multiple-factor panel data model to demonstrate that market failure is largely associated with a high ratio of persistent components in the gap between price and equilibrium. The presented data could suggest that house prices were too low at the beginning of the analysed period. However, this was not the case, and the processed data are more likely to indicate a structural break in the market. As stated in the Introduction, there was hardly any new construction before 2004, and developers began to emerge gradually in the following years. After Poland had joined the EU, wages increased rapidly to previously unimaginable levels, which helped drive the demand for housing. Demand rose to an unprecedented level that is presently regarded as normal. Therefore, a price gap did not occur at the beginning of the analysed period. However, prices increased rapidly when housing became available on free market principles.

The above observations indicate that the Polish real estate market has matured and deepened; therefore, supply responds more rapidly to changes in demand. A linear trend was applied to prices to show their long-term evolution. Upward or neutral long-term trends were noted in cities with lower prices, whereas a downward trend was observed in Kraków.

It is highly probable that prices on the Kraków market had been pushed to extreme levels during the first cycle, converged to a new equilibrium, and began to rise again in recent years. The long-term trend has to be interpreted with caution because the available data cover only a period of 12 years. However, these findings provide some insights into how the market could evolve in the future.

Detrended data for analysing the deepness asymmetry on the primary market are presented in Fig. 6. First difference data for analysing the steepness asymmetry on the primary market are shown in Fig. 7.

Fig. 6
figure 6

Source: own elaboration

Detrended data for analysing the deepness asymmetry on the primary market.

Fig. 7
figure 7

Source: own elaboration

First difference data for analysing the steepness asymmetry on the primary market.

Time series were analysed in detail. Descriptive statistics were examined in view of the coefficient of skewness. Data distribution was assessed for normality with the Shapiro–Wilk test and D’Agostino’s K-squared test which measures departure from normality based on skewness. The results are presented in Appendix 2. The skewness/asymmetry of time series was analysed with the use of the asymmetry coefficient, and it revealed variations in skewness. The vast majority of the time series tested for deepness had left-skewed distribution, and the time series tested for steepness had right-skewed distribution. The Shapiro–Wilk test revealed normal distribution in a minority of cases; however, this does not preclude analyses with the use of the Triples test and the entropy test. D’Agostino’s test demonstrated an absence of normal distribution, in particular on the secondary market, due to market asymmetry. The results of the above analyses should be interpreted separately because they are based on different assumptions and have different objectives.

The results of the Triples and entropy tests are presented below. The results of the Triples test are presented in Table 1 for the primary market and in Table 2 for the secondary market. The results of the entropy test are presented in Table 3 for the primary market and in Table 4 for the secondary market. In asymmetry tests, significant results (where the null hypothesis postulating the symmetry of the time series was rejected) are marked with an asterisk. The number of asterisks denotes different levels of significance.

Table 1 Results of D’Agostino’s test—primary market
Table 2 Results of D’Agostino’s test—secondary market

The analysis revealed asymmetry in a small number of the analysed price series. The Triples test and the entropy test produced the same number of asymmetric series, but, interestingly, these series were not identical. According to Andre, Gupta and Mwamba (2019), the Entropy test detects more cases of asymmetry. In this study, the Triples test detected 8 out of 68Footnote 3 asymmetric series, whereas the entropy test detected 8 out of 68 asymmetric series. The results of the Triples test will be discussed first. The test revealed deepness on the primary market in Kraków and steepness on the secondary market in Olsztyn. No signs of deepness were found on the secondary market, but steepness was detected in Katowice, Lublin, Lodz, Olsztyn, Szczecin and Zielona Gora. Steepness was detected on both markets only in Olsztyn. The replication of the test with entropy methods did not confirm the cases that were detected in the Triples test, with Olsztyn and Szczecin being the only two exceptions. On the primary market, deepness was identified in Bydgoszcz and steepness was detected in Katowice, Lublin and Olsztyn. On the secondary market, deepness was found in Szczecin and steepness—in Katowice. The entropy test detected steepness on both markets only in Katowice.

Fig. 8
figure 8

Source: own elaboration

Kraków, primary market-real prices and the cyclic component for deepness.

Fig. 9
figure 9

Source: own elaboration

Olsztyn, primary market-real prices and price increase for deepness.

Fig. 10
figure 10

Source: own elaboration

Katowice, psecondary market-real prices and price increase for steepness.

Three selected examples of asymmetric series are presented below. The series for Kraków are presented in Fig. 8 the series for Olsztyn—in Fig. 9; the series for Katowice—in Fig. 10. The observations made on the Polish real estate market are less dynamic and asymmetrical than the American examples discussed in the Introduction.

5 Discussion and conclusions

The empirical analysis revealed low values of asymmetry indicators on the Polish housing market. Signs of deepness and steepness were identified only in isolated cases, independently of the applied empirical method. For primary market data, the Triples test revealed deepness in Krakow and steepness in Olsztyn. For secondary market data, the Triples test provided evidence for steepness in Katowice, Lublin, Lodz, Olsztyn, Szczecin and Zielona Gora. The replication of the test with the entropy method produced the same conclusions, and data were replicated only for Olsztyn and Szczecin. On the primary market, deepness was found in Bydgoszcz, and steepness was detected in Katowice, Lublin and Olsztyn. On the secondary market, deepness was found in Szczecin and steepness—in Katowice.

We should mention that the results on mean transaction prices, while some authors argue to use hedonically corrected or repeated sales prices. However, as discussed in the beginning of Sect. 4, we wanted to analyse the primary and the secondary housing market, and in this case we could only use mean transaction prices to get comparable results.

Knowing our research limitations we want to put our results into the context of the results that Andre, Gupta and Mwamba (2019, pp 8 and 9) obtained for the US: They state: “Taking into account the results of the two tests, (…) deepness asymmetry is found in 39 out of the 51 states (including the District of Columbia) and 238 out of the 381 MSAs. Steepness asymmetry (…) is found in 40 states and 257 MSAs.” The results of the Triples test and the Entropy test that we apply to the house price cycles in the 17 largest cities in Poland are quite different: On the primary housing market we find steepness asymmetry in 3 out of the 17 cities, and deepness asymmetry in 2 out of the 17 cities. On the secondary housing market we find steepness asymmetry in 6 out of the 17 cities, and deepness asymmetry only in 1 out of the 17 cities. While house price asymmetry can be observed in the majority of US states and MSAs, it seems to be rather a seldom phenomenon in Poland. We want to explain our findings and their reasons in more detail.

The cities characterised by house price cycle asymmetry on the developer market are relatively small, and in many cases, the income from the sale of a flat in the city is sufficient to finance the purchase of a detached house in the surrounding towns. Katowice belongs to the large Silesian agglomeration where cities compete for inhabitants. Interestingly, we did not find any signs of asymmetry in the largest cities which also attract foreign capital and have significant income levels. According to Andre, Gupta and Mwamba (2019), the asymmetry and steepness behaviour of house prices is driven mainly by market factors. As mentioned in the Introduction, Poland is characterised by a shortage of housing in urban areas, especially in the largest and most rapidly developing cities. The above creates continuous demand for housing which did not decline even after the global financial crisis. Poland has been experiencing sustainable economic growth and a steady increase in wages since 2008. Only a minor increase in the unemployment rate was noted in the first years after the crisis, followed by a repeated decline.

Houses that were bought with a mortgage are also an important factor. In many countries, home buyers lost the means to repay their mortgages and were evicted, which drove down real estate prices. The Polish banking sector was prudent, and it offered mortgages to consumers with a high credit rating. Despite the difficulties faced by buyers who took out mortgages denominated in a foreign currency, the share of non-performing mortgages barely exceeded 3.5%, a very low figure in comparison with other countries in the region.

Housing developers who influence the primary market as well as the secondary market through spillovers survived the crisis is surprisingly good form, did not have to resort to fire sales, and managed to keep the prices high. The prices on the secondary market tend to approximate those quoted on the primary market. In Poland, high prices on the primary market can be attributed to pre-sale contracts as well as developer strategies and their financial standing. The first and foremost factor are pre-sale contracts which entail some degree of risk for the buyer (developers rarely declare bankruptcy), but increase the elasticity of supply relative to the long-term construction process. The prepayments made by clients finance different stages of construction, which means that developers only use a small portion of their capital (see Augustyniak et al., 2012). According to Łaszek, Olszewski, et al. (2016), developers make additional profits by selling similar housing at different prices. This practice enables developers to maintain a high financial standing. Developers accumulated unsold housing stock in hope of making a profit in the future, especially that most of these resources were still under construction.

Finally, the demand for housing was supported by subsidy programs, including “Family on its own” in 2007–2012 and “Housing for the young” in 2014–2018. Both programs were addressed to young first-time buyers and buyers who financed their purchase with mortgages denominated in PLN. The first program cut the interest rate by half for the first eight years to make mortgages more affordable. The second program increased down payments to improve the availability of mortgages. The subsidy depended on the number of children. The aim of both programs was to support less affluent households, and significant price limits were put in place. According to a report by the National Bank of Poland (2018a, pp. 27 and 28), the prices of subsidised housing during the market boom were below the average and median price, but they significantly exceeded the median and mean price in 2009 and 2010. According to a critical analysis by the NBP (2014, Box 1), subsidy programs failed to effectively target lower-income consumers and benefitted mainly middle-class buyers who had the means to purchase housing without subsidies.

The results of this study indicate that the Polish housing market experienced similar growth to other developed countries in Europe and the world, but a market downturn was slowed down and channelled into a slow recovery for three main reasons. Firstly, banks exercised caution and offered mortgages, including foreign currency mortgages, to the wealthier portion of the population. Secondly, the Polish economy and incomes continued to grow, which supported the repayment of mortgages despite foreign exchange shocks. Thirdly, the high performance of the developer sector coupled with subsidy programs maintained housing prices at a high level. As a result, the Polish real estate market emerged relatively unscathed from the global financial crisis relative to other countries. Significant tensions were not observed in the banking sector, and production levels remained high in the developer sector. The present cycle differs considerably from the “zero” cycle when many unexperienced developers had gone bankrupt, which ultimately led to first market cycle of 2004–2009 when house prices doubled.