📈 Rental Analysis

In this section, our objective is to examine the factors that influence rental prices. We will analyze location factors and other relevant variables to gain insights into their impact on real estate prices.

📍 Location

Variations in Rental Price across Provinces

This analysis examines the variations in rental prices across different provinces in Spain. Understanding the disparities in rental prices can provide valuable insights into regional affordability, demand-supply dynamics, and potential investment opportunities.

rental-price
Fig 1: Average rental price across 10 cities

Above shows the rental prices in the 10 selected cities. Rental property prices are driven by various factors such as shifting societal trends, economic considerations, and lifestyle preferences. The country's popular cities, including Barcelona and Madrid has the highest price per area as experience a significant influx of both residents and tourists, creating a competitive rental market in these regions. This creates limited availability of rental properties in these highly desirable locations, coupled with increased demand, and contributes to higher rental prices. Additionally, Spain's vibrant tourism industry plays a significant role in the rental landscape, with coastal regions and popular tourist destinations such as Balears (where Palma is located in) and Malaga, experiencing high demand for holiday rentals. Overall, the rental market in Spain showcases a mix of factors, including location, demand-supply dynamics, economic conditions, and cultural influences, shaping the rental landscape across the country.

Furthermore, we investigated other factors such as population density in the price variation in these cities as we suggested the significance of influx of residents above. By comparing across the 10 cities with data from external source, we have seen a moderate to weak correlation in population density to prices. Due to the weak correlation, population density cannot be identified as the main factor contributing to price variation. Further investigation will be conducted in subsequent sections to explore its potential influence on real estate prices.

Proximity to City Centre

This analysis investigates the distribution of rental prices based on their proximity to the city center. By analyzing rental price variations at different distances, it allows for an understanding of how location impacts rental prices and provides insights into the rental market dynamics within urban areas.

Fig 2: Distance/Rental price correlation data for 9 cities

Among the 10 cities for which data has been collected from the Idealista API, there is a noticeable variation in the correlation (represented by the red line) between population density, distance, and the Price by Area. A clear trend emerges: the higher the population density, the stronger the relationship between price and distance. In the majority of cities, specifically 9 out of 10, we observe a negative correlation between price and distance from the city center. This suggests that as the distance increases, the price of residential properties tends to decrease.

However, Balears (Palma) stands out as an exception as seen in the the below graph. The rental properties in Palma display a slightly positive correlation between distance and price. This anomaly could be attributed to the fact that the Balears comprise of many islands, resulting in less developed infrastructure in the city center which causes a lower correlation. Another possible reason could be the unique demand dynamics in Balears. Being a popular tourist destination, the demand for residential properties in Palma might be influenced by factors such as proximity to beaches, amenities, and tourist attractions rather than solely based on distance from the city center. This distinctive demand pattern could lead to a different price relationship compared to other cities where distance from the city center plays a more prominent role. However, without more detailed information, we are unable to draw any definitive conclusions about the data in Palma. Nevertheless, this insight provides valuable information for understanding the pricing dynamics across different cities, emphasizing the influence of population density and geographical factors on residential property prices.

📝 Other Factors

Economic Factors

This analysis examines the correlation between rental prices and the movements of the economic factors by using Gross Domestic Product (GDP). By studying the relationship between rental prices and economic indicators, such as GDP, it helps uncover potential links between the real estate market and the overall economic performance of the country.

rental-price
Fig 3: Economic rental price trends

The presented graph illustrates the relationship between Spain's rental prices and its economic fluctuations from 2006 to 2021. Notably, there is a noticeable correlation between rental prices and the country's GDP, indicating that rental prices tend to follow the trajectory of the overall economy. This can be observed by the significant rebound in GDP aligning with the upward trend of rental prices.

However, compared to other natural economic cycles like recoveries, rental prices in Spain appear to be less responsive to economic shocks. The period from 2008 to 2011, which experienced a significant shock in GDP likely due to the ripple effect of the 2008 macro-environmental events, had a minimal impact on rental prices in the country. This phenomenon can be attributed to the sticky downward effect of necessities, including rent. Owners are less inclined to reduce prices for recurring payments due to factors such as the loss of bargaining power for future prices and loss aversion.

Overall, this analysis suggests that rental prices in Spain exhibit a somewhat delayed response to economic shocks, potentially influenced by factors related to the nature of essential expenses and psychological considerations of property owners.

Demographic Factors

This analysis investigates the correlation between rental prices and population density. Understanding the relationship between rental prices and population density can shed light on the housing demand and supply dynamics in densely populated areas, providing insights into market competitiveness and potential investment prospects.

rental-price

The graph demonstrates a strong positive correlation between price and population density, as indicated by the steep line of best fit. Notably, 7 out of the 10 cities fall within the 95% confidence interval (red shaded area), suggesting a significant relationship between price by area and population density. Thus, it can be concluded that there is a positive association between real estate prices and population density.

The positive correlation between real estate prices and population density can be attributed to several key factors. Densely populated areas are desirable due to access to amenities, services, and employment opportunities, leading to increased competition among buyers and renters. Additionally, densely populated areas tend to offer a wide range of amenities, services, and job opportunities, making them desirable places to live. This desirability leads to increased competition among buyers and renters, further influencing price levels. Moreover, areas with higher population density often exhibit higher economic activity and prosperity, which can contribute to increased property values. Overall, the positive relationship between real estate prices and population density reflects the complex interplay between supply, demand, amenities, and economic factors in the housing market.

📝 Sales Analysis

In addition to rental analysis, we also conducted sales analysis on properties in ten cities in Spain. We plotted price distribution graphs for all ten cities, with the distribution for Madrid below (for the other cities, please view our appendix).

rental-price

The graph shows a positively skewed graph, with a significant majority of property sales prices in Madrid near the median price of 750000 Euros. The rest of the cities display similar trends, albeit with largely different median prices. When comparing the median prices of all ten cities, the resulting box plot looks like this:

rental-price
With Palma having one of the highest prices within the country, there is a widest range of prices within the city of Palma. As it is located on the island of Mallorca, which is one of the most popular tourist destinations in Spain, its location on the Mediterranean Sea and its warm climate make it a desirable place to live, which drives up property prices. Secondly, with limited supply, Palma is a relatively small city, and there is a limited supply of property available. This means that demand for property often exceeds supply, which can cause prices to rise. Furthermore, with high demand, Palma is a popular destination for tourists and expatriates, as well as Spanish nationals looking for a second home. This high demand for property in Palma also contributes to the high range of property prices. Last but not least, the amenities in Palma offers a high quality of life, with a good selection of restaurants, bars, and cultural attractions. This makes it an attractive place to live, which can also drive up property prices.

Overall, a combination of factors such as location, limited supply, high demand, and quality of life contribute to the high range of property prices in Palma compared to other cities in Spain. The city with the second highest median price is Madrid, which is a larger city than Barcelona, both in terms of its size and population. This means that there is a larger demand for properties in certain areas of Madrid, which can drive up prices. With high frequency economic activities, Madrid is the capital city of Spain and the center of political, economic, and cultural activity in the country. It is home to many large companies, financial institutions, and international organizations, which can create a higher demand for properties in certain areas of the city. Transportation in Madrid is more extensive than the public transportation system of Barcelona, which makes it easier for people to get around the city. This can make certain areas more desirable, which can drive up property prices. Madrid has a rich history and culture, with many museums, galleries, and historical landmarks. This can make certain areas of the city more desirable, which can drive up property prices. Afterall, Madrid is a popular destination for international buyers, particularly those from Latin America. This can create a higher demand for properties in certain areas of the city, which can drive up prices. This can also explain the large number of upper outliers above the whiskers for both Madrid and Palma, with the existence of large luxury homes for the wealthy to purchase

📍 Property Heatmaps

District-level analysis of properties in Madrid and Barcelona

In this section, we focused only on properties within the districts of Madrid and Barcelona. According to government organisation, Madrid has 21 districts while Barcelona has 9 districts. We obtained the shapefiles from the muncipality websites of the cities, and ran a spatial join between the shapefile and the idealista datasets by utilising the Geopandas library. This was possible because each individual property listing on idealista provides exact longitude and latitude of the property. In total, we managed to produce four heat maps indicating the median price and median price by area for the districts in Barcelona and Madrid.

As seen in the diagrams above, there is a difference between actual price and price per square meter based on the districts of Madrid. The most reasonable explanation is that in highly urbanized areas in central Madrid, properties are smaller meaning they have a lower total price, as compared to larger estates in the suburbs and agricultural areas on the outskirts of Madrid. However, it is evident that property price per square meter is the highest in the center of the city. A similar story is painted for the districts in Barcelona:

The heatmap of Barcelona shows a similar trend with high median price per area in the center. However, due to the geography of Barcelona, it is difficult to draw conclusions about the median price per district. Furthermore, there were a number of other challenges we encountered when coding the heat maps. For one, we were unable to obtain more detailed topographical data of the districts, so we had to reference satellite data from Google maps to confirm the locations of certain geographical features. For example, the reason for the large gaps in properties in the northwestern and western districts in Madrid is due to the presence of the Monte del Pardo Nature Reserve, as well as agricultural farmland in the west. With more data, we could have provided a better explanatory model on the differences in price in the districts.