Modeling and Forecasting Rental Prices in Berlin Using AI with Nonlinear Covariates for Housing Policy and Social Equity

Abstract

This study employs machine learning techniques (AI), specifically multiple linear regression with nonlinear covariates, to model rental prices per square meter in Berlin, Germany. The research investigates major quantitative and qualitative variables influencing rent dynamics by leveraging a robust dataset comprising over 2.6 million apartments with 59 variables from 2007 to 2020, sourced from FDZ Ruhr and ImmobilienScout24. Drawing from over 99,000 rental records (2015 and 2019 datasets) and 31 variables (9 quantitative and 22 qualitative), the analysis evaluates the influence of factors such as furnishing quality, modernization year, apartment size, and energy efficiency on rent pricing. Polynomial and log transformations were applied to improve model robustness. The use of log-transformed rent as the response variable, combined with nonlinear covariates, yielded the best model performance, with the highest adjusted Rsquared values of 0.3645 and 0.492 in the 2015 and 2019 models, respectively, among the tested models. The results suggest that both quantitative and qualitative variables significantly influence rent sqm, with influential predictors varying in linearity and significance across the two years. In 2015, rent was influenced by nonlinear trends in living space and construction years, while in 2019, heat cost and modernization showed linear increases in rent. Apartments with upscale furnishings, high energy efficiency, elevators, and guest toilets consistently commanded higher rents, whereas a pet allowance was associated with lower rents. Residual analysis, variance inflation factors (VIF), and the Akaike Information Criterion (AIC) confirmed the model’s statistical validity. Results indicate significant shifts in rent patterns and offer predictive insights relevant to policymakers, urban planners, and educational leaders addressing housing affordability and equity. This research builds prior literature in AI-supported urban analytics and contributes a replicable data-driven framework for strategic housing decisions in high-demand university cities.

Share and Cite:

Onumadu, U. , Iyelobu, M. , Yessoufou, B. , Adepeju, A. , Adebayo, S. and Omotosho, O. (2026) Modeling and Forecasting Rental Prices in Berlin Using AI with Nonlinear Covariates for Housing Policy and Social Equity. Journal of Applied Mathematics and Physics, 14, 400-445. doi: 10.4236/jamp.2026.141022.

1. Background and Study Framework

1.1. Introduction

In this paper, artificial intelligence (AI) refers to the application of predictive modeling techniques, particularly regression analysis, within decision systems that use data and digital tools to support urban planning. Advanced statistical methods are used to model the rent per square meter (rent_sqm) in Berlin’s housing market. Berlin’s 2024 housing market exhibits a significant imbalance, with demand outpacing supply. In 2023, the population increased by 0.7% to 3.878 million, driven by 187,971 new arrivals, making it the third-highest year of immigration since 1991 [1]. Rental demand is high in Germany, particularly in Berlin and Munich, where prices have risen significantly, presenting challenges like those faced in other high-income countries, such as the UK, France, the US, and Canada [2]. Germany has a significantly higher share of renters compared to its international counterparts. In 2018, Germany’s homeownership rate stood at 51.5%, while the rates in the UK, Italy, and Romania were 65.1%, 72.4%, and 96.4%, respectively [2]. Although AI often involves complex algorithms, it also encompasses predictive modeling for pattern recognition and analysis. This study uses a transformed multiple linear regression with nonlinear variables to forecast rent prices in Berlin, contributing to urban analysis efforts that support thoughtful policy decisions and promote fairness in housing [3].

1.2. Objective

This paper employs multiple linear regression to model rent_sqm in Berlin, examining major market trends, assessing the need for transformation of the response variable, and identifying significant predictors. The results aim to support the development of housing policy and promote equity, while also assisting educational leaders in strategic and equitable housing planning.

1.3. Literature Review

Skewness and variability in housing data are often addressed using log-linear regression, which highlights furnishing quality, energy efficiency, and modernization as main influencing factors [4] [5]. Germany’s public housing contrasts with the U.S.’s system based on market behavior [6]. Energy-efficient design has garnered increasing attention to sustainability [7]. This study employs AI-driven modeling to analyze Berlin’s rental market and connect statistical insights to educational policy, with a focus on policy innovation and social equity in housing [8] [9].

1.4. Research Questions

  • RQ1: Does a relationship exist between the response variable (rent_sqm) and the selected predictor variables?

  • RQ2: Is a transformation of response variable (rent_sqm) necessary to meet the assumptions of linear regression?

  • RQ3: Which predictor variables significantly affect the rental price per square meter in Berlin’s housing market?

2. Methodology

This section explores the methodology and required mathematical and statistical background for this paper. The study uses multiple regression analysis to model rent trends in Berlin. Although regression is a classical statistical method, its application in this context serves as a robust AI tool (machine learning algorithms) for predictive modeling in housing policy. We look at linear models, their formulations, assumptions, estimations, validation, predictions, and hypothesis testing. More details can be found in [10]. The data analysis was executed using the R programming language.

2.1. Research Design

This research uses a quantitative approach and applies AI-informed predictive modeling, focusing on multiple linear regression with nonlinear covariates, to analyze Berlin’s rental prices.

2.2. Data Collection

A secondary source of data collection was used for this study. The data was provided by the FDZ Ruhr at RWI (and ImmobilienScout24) institution. The Immobilien-Scout24 GmbH, founded in 1998, deals with real estate properties in Germany. The data set contains 2,651,885 observations and 59 attributes from 2007 to 2020. We selected Berlin City as it had the highest number of rental transactions in Germany. Thereafter, we chose the years 2015 and 2019, which had 49,724 and 49,536 records, respectively, based on the significant impact observed in the plotted scatter of years with rent prices as shown in the data description in Table 3.

2.3. Data Analysis: Multiple Linear Regression with Nonlinear Covariates

We cleaned the data and removed outliers using the interquartile range (IQR) method. The missing values recorded and the NAs were part of the labels for most categorical variables, as shown in Table 2. Exploratory data analysis (EDA) was used to visualize the behavior of rent per square meter and its covariates. The distribution of rent prices was first explored through histograms, overlaid with fitted Normal and Log-Normal density functions to assess its shape as shown in Figure 1 and Figure 2. Scatter and box plots were used to observe the influential variables of rent price and how each variable enters the model. Eight models were fitted using multiple linear regression, and residual analysis, variance inflation factors (VIF), the Akaike information criterion (AIC), and the adjusted R-squared were used for model evaluation. Among the eight models, multiple linear regression with nonlinear covariates was used for the prediction of rent per square meter based on model evaluation.

2.3.1. Concept of a Multiple Linear Regression Model

Researchers frequently explore whether a relationship exists between variables and how they are connected if one is found. Regression models the relationship between a response variable and one or more independent variables (covariates); see [11]. For example, we might examine the relationship between apartment size (independent variable) and monthly rent (dependent or response variable). Regression analysis aims to estimate the parameters of the linear function that best describes the joint distribution of the dependent variable and the covariates [12]. Relationships between variables can be linear, nonlinear (e.g., quadratic or cubic), or absent. Exploratory Data Analysis (EDA) helps identify suitable model structures before fitting regression models. When multiple independent variables are used to predict a continuous response, the approach is called multiple linear regression. In this study, we aim to investigate the relationship between the rent per square meter in Berlin charged for an apartment, characterized by both continuous and discrete covariates.

2.3.2. Concept of a Multiple Linear Regression Model

Researchers frequently explore whether a relationship exists between variables and how they are connected if one is found. Regression models the relationship between a response variable and one or more independent variables (covariates); see [11]. For example, we might examine the relationship between apartment size (independent variable) and monthly rent (dependent or response variable). Regression analysis aims to estimate the parameters of the linear function that best describes the joint distribution of the dependent variable and the covariates [12]. Relationships between variables can be linear, nonlinear (e.g., quadratic or cubic), or absent. Exploratory Data Analysis (EDA) helps identify suitable model structures before fitting regression models. When multiple independent variables are used to predict a continuous response, the approach is called multiple linear regression. In this study, we aim to investigate the relationship between the rent per square meter in Berlin charged for an apartment, characterized by both continuous and discrete covariates.

2.3.3. Model Formulation

In a regression analysis with a continuous response variable Y i and p covariates or predictors X i1 , X i2 ,, X ik which may be continuous or qualitative (ordinal or nominal) with n observations, let ( y i , x i ):= ( y i , x i1 ,, x ik ) , i=1,,n , k=p1 , be a pair of the ith observation ( y i , x i ) of the random vector ( Y i , x i ) , where x i = ( x i1 , x i2 ,, x ik ) , then our objective is to analyze the effects of the covariates on the mean value of the response variable ( μ i E[ Y i ] ). The linear model models the response as a linear function of the predictors together plus an error term, i.e.

Y i = β 0 + β 1 x i1 + β 2 x i2 ++ β k x ik + ϵ i = β 0 + j=1 k β j x j + ϵ i (2.1)

with mean E[ Y i ]= β 0 + β 1 x i1 + β 2 x i2 ++ β k x ik .

Multiple linear regression model: The multiple linear regression model is defined as

Y i = β 0 + β 1 x i1 ++ β k x ik + ε i ,i=1,,n, (2.2)

where ε i is the random error variable, β 0 is the intercept, and the k parameters β 1 ,, β k are the unknown regression parameters to be estimated from n observations ( y i , x i1 ,, x ik ) , for i=1,,n .

2.3.4. Matrix Representation

It is very easy to represent our linear model in a matrix form [13]. The four different model components below, are defined in order to represent the multiple linear regression model of (2.2) in the matrix-vector notation for our model formulation and calculation.

a) Let Y=( Y 1 Y 2 Y n ) n , be the vector of the response variables.

b) Let X=( 1 x 11 x 12 x 1k 1 x 21 x 22 x 2k 1 x n1 x n2 x nk ) n×p , be the design matrix that contains

p=k+1 predictors with their n observations in its rows. The columns correspond to the p unknown regression parameters. Note that the first column which corresponds to the intercept β 0 equals 1 for all n entries.

Denote by x i p the ith row of the design matrix.

c) Let β=( β 0 β 1 β p ) p , be the unknown vector of the regression coefficients.

d) Let ε=( ε 1 ε 2 ε n ) n , be the vector of random error variables.

(Linear regression model in matrix-vector notation) With these notations model (2.2) can be expressed as

( Y 1 Y 2 Y n ) n×1 = ( 1 x 11 x 12 x 1k 1 x 21 x 22 x 2k 1 x n1 x n2 x nk ) n×p ( β 0 β 1 β k ) p×1 + ( ϵ 1 ϵ 2 ϵ n ) n×1 ,

Thus, the multiple linear regression (2.2) can now be written as

Y=Xβ+ ϵ i ,with ϵ i ~ N n ( 0, σ 2 I n ) (2.3)

where I n is the n×n identity matrix and N m ( μ,Σ ) denotes the m-dimensional multivariate normal distribution with the mean vector μ and covariance matrix Σ .

2.3.5. Assumptions of the Linear Model

a) Linearity in the covariates: In (2.1), we introduced that the relationship between the covariate vector x i and the random response Y i has the form

Y i = β 0 + j=1 p β j x ij + ε i

with random error variable ε i satisfying E[ ε i ]=0 , so that

E[ Y i ]= β 0 + j=1 p β j x ij

i=1,,n.

In matrix notation: E[ Y ]=Xβ .

b) Homoscedasticity: The error variables ε i have constant variance

Var[ Y i ]=Var[ ε i ]= σ 2 ,i=1,,n.

c) Independence of the random errors: We assume that the error variables ε i are independent and identically distributed (i.i.d.). Then it follows

Cov( Y j , Y j )=Cov( ε j , ε j )=0,j j

d) Normality: The random error variables ε i follow a normal distribution.

Y~ N n ( Xβ, σ 2 I n ) (2.4)

where I n is the n×n identity matrix and N m ( μ,Σ ) denotes the m-dimensional multivariate normal distribution with the mean vector μ and covariance matrix Σ , respectively.

In general, we assume a Gaussian error ε i ~ N n ( 0, σ 2 I n ) . This allows us to construct confidence intervals and conduct statistical tests.

Here, I n is the n-dimensional identity matrix and N m ( μ,Σ ) denotes the m-dimensional multivariate normal distribution with mean vector μ and covariance matrix Σ , respectively.

2.3.6. Polynomial Regression

Polynomial regression is often appropriate when there exists a relationship between the response and the covariates.

(Polynomial regression). Given a continuous covariate V i with observations v i that has a polynomial effect of degree d on the response, then the model Y i = β 0 + β 1 V i + β 2 V i 2 ++ β d V i d ++ ε i can be used. Note, it is a linear regression model of the form (2.2) with x ij = v i j , j=1,,d [14] and [15].

In order to increase numerical stability, we orthonomalize the corresponding design matrix X=( 1 v 1 v 1 d 1 v n v n d ) to X * , where all columns have unit norms and are orthogonal. In R , this is achieved by poly( v,d ) , see [16].

2.3.7. Transformations of the Response Variable

Sometimes, the transformation of the response variable is appropriate when non-normality and/or unequal error variances are present in the data. We will consider three different transformations of the response variable in this paper.

(Logarithmic and inverse transformation) Given a response variable Y that has an exponential relationship with the covariates. Let Y i ln :=ln( Y i ) , let Y i lnln :=ln( ln( Y i ) ) , let Y i inv := 1 Y i , then the formulated model

Y i =exp( β 0 + β 1 x i1 ,, β k x ik + ε i ) can be expressed in the form of the linear regression model (2.2) as

Y i ln = β 0 + β 1 x i1 ++ β k x ik + ε i ,i=1,,n (2.5)

Y i lnln = β 0 + β 1 x i1 ++ β k x ik + ε i ,i=1,,n (2.6)

Y i inv = β 0 + β 1 x i1 ++ β k x ik + ε i ,i=1,,n (2.7)

2.3.8. Estimation of Model Parameters

In this section, we will examine the methods for estimating the unknown parameters in the linear regression model defined in Equation (2.2). Our goal is to determine estimates

β ^ = ( β ^ 0 ,, β ^ k ) p (2.8)

and the error variance σ based on n observations. Here β is the unknown regression parameter vector.

Note that parameter estimators, which are random quantities are different from their realizations called estimates, which are determined by the values of the observations. We will consider two approaches, least squares (LS) estimation, and maximum likelihood (ML) estimation. These two estimation methods yield the same estimator if the assumptions of independence, homoscedasticity, and normality of errors are satisfied.

2.3.9. Least Squares Estimation Method

Let the fitted values of the Model (2.2) be given as

Y ^ i = β ^ 0 + β ^ 1 x i1 ++ β ^ k x ik ,i=1,,n = x i β ^ (2.9)

Also, let the residual denoted by ε ^ = ( ε ^ 1 ,, ε ^ n ) n , which is the difference between the observed response values y i and the corresponding fitted values of (2.11), be given as

ε ^ =y y ^ =YX β ^ , (2.10)

where y ^ = ( y ^ 1 ,, y ^ n ) n in the vector notation. Then, least squares minimizes the residual sum of squares (the sum of the squared deviations) of Equation (2.12).

(Sum of squared deviations) Given the data ( y i , x i ),i=1,2,,n , the sum of the squared deviations which is used in obtaining the estimates β ^ of Equation (2.10) for the unknown regression parameters β is given as

Q LS ( β )= i=1 n ( y i x i T β ) 2 = i=1 n ε ^ i 2 = ε ^ T ε ^ (2.11)

In order to minimize Q LS ( β ) (2.13), we take the partial derivative of Q LS ( β ) with respect to β and set the result to zero. Then, it follows

( Q LS ( β ) ) β =02 X T y+2 X T Xβ=0 X Xβ= X y (2.12)

We are now interested in solving the least squares normal equations given in (2.14). If the matrix X has a full rank p , then X T X will be positive definite and will have a unique solution. Thus, the minimum of Q LS ( β ) is attained at

β ^ LS = ( X X ) 1 X y (2.13)

which is the least squares estimate from the normal equations.

2.3.10. Maximum Likelihood Estimation Method

The method of maximum likelihood estimation is based on specifying the distribution we are sampling from and writing the joint density of our sample, unlike in the least squares method where we do not specify the distribution of the response variable Y i . Considering the assumptions of our linear model, we assumed in Equation (2.4) that the random variables Y i are normally distributed ( Y~ N n ( Xβ, σ 2 I n ) ). Thus, it follows that the likelihood of the vector ( β,σ ) given the data values y is

L( β,σ|y )= 1 ( 2π σ 2 ) n 2 exp( 1 2 σ 2 ( yXβ ) T ( yXβ ) ) (2.14)

Therefore, the corresponding log likelihood is given by

l( β,σ|y )= n 2 log( 2π ) n 2 log( σ 2 ) 1 2 σ 2 ( yXβ ) T ( yXβ ) (2.15)

To maximize this log-likelihood (2.17) with respect to β , we differentiate Equation (2.17) with respect to β and set it equal to zero [17]. Thus, we have

( l( β,σ|y ) ) β =0 1 2 σ 2 ( 2 X T y+2 X T Xβ )=0 X Xβ= X y (2.16)

This shows that β ^ ML = β ^ LS .

Also, differentiating Equation (2.17) with respect to σ 2 and maximizing over σ 2 , we have

σ ^ 2 := 1 n i=1 n ( y i y ^ i ) 2 = 1 n ε ^ 2 (2.17)

2.3.11. Distribution of the Estimators

( Y ^ and H ) We define the vector of the fitted random values Y ^ as

Y ^ =X β ^ =X ( X X ) 1 X Y (2.18)

Also, we define the hat matrix H which gives the projection of the vector Y onto the space that is spanned by the columns of the design matrix X as

H:=X ( X X ) 1 X n×n (2.19)

It can be easily shown in Lemma (2.7.3) that H is both symmetric ( H T =H ) and idempotent ( H 2 =H ) using the fact that ( X X ) 1 is symmetric ( [ ( X X ) 1 ] = ( X X ) 1 ).

Lemma 2.1 (Symmetry and Idempotence of H) Let H=X ( X X ) 1 X . Then H is symmetric and idempotent, i.e., H =H and H 2 =H .

Proof.

H = ( X ( X X ) 1 X ) =X [ ( X X ) 1 ] X =X ( X X ) 1 X =H , using ( AB ) = B A .

HH=X ( X X ) 1 X X ( X X ) 1 X =H .

Since the estimators β ^ of the regression coefficients β , the fitted values Y ^ and the raw residuals ε ^ are all linear functions of the vector of random variables Y i , we can apply the transformation rules for expectation and variance-covariance matrix respectively, to show that

E[ β ^ ]=β, Var[ β ^ ]= σ 2 ( X X ) 1 , E[ Y ^ ]=Xβ, Var[ Y ^ ]= σ 2 H, E[ ε ^ ]=0, Var[ ε ^ ]= σ 2 ( I n H ) (2.20)

Considering the normality assumption since β ^ , Y ^ , and ε ^ are linear functions of Y , we have

β ^ ~ N p ( β, σ 2 ( X X ) 1 ) Y ^ ~ N n ( Xβ, σ 2 H ) ε ^ ~ N n ( 0, σ 2 ( I n H ) ) (2.21)

It can be shown that the variance estimator σ ^ 2 given in ( 2.19 ) is given by

E( σ ^ 2 )= np n σ 2 .

and an unbiased estimator s 2 of σ 2 is given by

s 2 := 1 np i=1 n ( Y i Y ^ i ) 2 = n np σ ^ 2 = 1 np ε ^ 2 . (2.22)

2.4. Goodness of Fit and Model Selection

It is of great importance to know the goodness of the fitted model after estimating the parameters of the linear regression model of (2.2). Thus, we need suitable measures of the goodness of fit. Therefore, we will introduce one of the appropriate measures of the goodness of fit called the coefficient of determination (R2), which determines the proportion of variation of the response variable that is explained by the covariates.

2.4.1. Sum of Squares

(Sum of squares) We define the sum of squares SST (total sum of squares), SSR (regression sum of squares) and SSE (error sum of squares) to quantify the amount of variability explained by the regression model as follows

SST:= i=1 n ( y i y ¯ ) 2 ( total sum of squares ) SSR:= i=1 n ( y ^ i y ¯ ) 2 ( regression sum ofsquares ) SSE:= i=1 n ( y i y ^ i ) 2 ( error sum of squares ) (2.23)

where y ¯ = 1 n i=1 n y i . Thus, we can have the decomposition as

i=1 n ( y i y ¯ ) 2 = i=1 n ( y ^ i y ¯ ) 2 + i=1 n ( y i y ^ i ) 2 (2.24)

and using the fact that i=1 n ( y ^ i y ¯ )( y i y ^ i ) =0 , it follows from (2.26) that

SST=SSR+SSE (2.25)

2.4.2. Selection of Model (R2 and Adjusted R2)

The multiple coefficient of determination R2 is a measure of goodness of fit. It measures how well the covariates in the model explain the variance in the response variable, see [18].

(Multiple coefficient of determination ) We define the multiple coefficient of determination R2 as

R 2 := SSR SST =1 SSE SST (2.26)

We also define the adjusted multiple coefficient of determination R adj 2 as

R adj 2 :=1 SSE/ ( np ) SST/ ( n1 ) (2.27)

The values of the multiple coefficient of determination range from zero to one ( 0 R 2 1 ). Our model accounts for a larger amount of variation of the response when the R2 is closer to 1. However, the weakness of R2 is that, it always increases when we add more covariates to our model, and therefore cannot be used to compare the goodness of fit for models with different numbers of covariates, see [19]. Thus, the need to establish an appropriate measure R adj 2 which compares models with different numbers of covariates. We will therefore make use of the adjusted multiple coefficient of determination ( R adj 2 ) as a measure of our model selection in this paper.

2.4.3. Correlation Analysis

To measure the strength and direction of the linear relationship between two continuous variables, we use the correlation analysis. The most commonly used metric is the Pearson correlation coefficient, denoted by ρ for the population and r for the sample. It ranges from −1 to 1, where values close to 1 or −1 indicate strong positive or negative linear relationships, respectively, and values near 0 suggest no linear relationship.

The sample Pearson correlation coefficient between two variables X and Y is given by:

r= i=1 n ( X i X ¯ )( Y i Y ¯ ) i=1 n ( X i X ¯ ) 2 i=1 n ( Y i Y ¯ ) 2 ,

where X ¯ and Y ¯ are the sample means of X and Y , respectively. This metric provides a preliminary indication of potential multicollinearity when applied to predictor variables.

2.5. Hypothesis Testing

A statistical hypothesis is an assumption about the form of a population, which based on sample information from the population, seeks to support or reject this assumption. If there is evidence that the null hypothesis (hypothesis of no difference) denoted by H 0 is not true, then it is rejected and its alternative denoted by H 1 is accepted. Thus, a test of hypothesis is a rule or a procedure used for deciding whether to accept or reject H 0 or to determine whether the observed sample differs significantly from expected results under H 0 [20]. This concept can be extended in statistical inference for the model parameters of linear regression [21]. For instance, we may want to know if the response variable is significantly influenced by a particular set of covariate variables, which can be expressed in terms of linear combinations of the unknown regression parameters β= ( β 0 ,, β k ) . We will use the Chi-square, F and the univariate t-distribution since the t-test and the F-test rely on quantities of these distributions.

(Chi-square distribution) A continuous random variable X is said to have a Chi-square distribution with parameter, ν , if its probability density function is given by

f X ( x|ν )= 2 ν/2 Γ( ν/2 ) x ν/2 1 e x/2 ,ν>0,x>0

Here, ν is the degree of freedom, E( X )=ν , Var( X )=2ν . Thus, we say that X follows a Chi-square distribution with ν degree of freedom ( X~ χ ν 2 ).

(F-distribution) A continuous random variable X is said to have an F-distribution with degrees of freedom (df) ν 1 and ν 2 , if its pdf is given by

f( x )= Γ( ν 1 + ν 2 2 ) ( ν 1 ν 2 ) ν 1 2 x ν 1 2 1 Γ( ν 1 2 )Γ( ν 2 2 ) ( 1+ ν 1 x ν 2 ) ν 1 + ν 2 2 ,x0. (2.28)

If X 1 ~ χ v 1 2 and X 2 ~ χ ν 2 2 and are independent, it follows in (2.30) that X is F-distributed with ν 1 and ν 1 df.

X= X 1 / ν 1 X 2 / ν 2 ~ F ν 1 , ν 2 (2.29)

(Univariate t-distribution) A continuous random variable X is said to have a Univariate t-distribution with degree of freedom df ν , if its pdf is given by

f ν ( x;μ, σ 2 ):= Γ( ν+1 2 ) Γ( ν 2 ) ( πν ) σ { 1+ ( xμ σ ) 2 1 ν } ν+1 2 ,ν1 (2.30)

E( X )=μandVar( X )= ν ν2 σ 2 .

If X 1 ~N( 0,1 ) and X 2 ~ χ n 2 and are independent, it can be shown in (2.32) that T has a t-distribution with ν df.

T= X 1 X 2 ν ~ t ν . (2.31)

2.6. F-Test

(General testing problem) We define the general testing problem as

H 0 :Cβ=dversus H 1 :Cβd (2.32)

where matrix C q×p with rank( C )=q and d q is called the general linear hypothesis. Using the distribution of the estimated regression coefficients β ^ given in (2.23), if H 0 is true, it follows that

ϑ ^ =C β ^ d ~ H 0 N q ( 0, σ 2 C ( X X ) 1 C ). (2.33)

We used the fact that

E( ϑ ^ )=CE( β ^ )d=CE( β )d=0 Var( ϑ ^ )=CVar β ^ C = σ 2 C ( X X ) 1 C . (2.34)

Also, using the spectral decomposition for a specific covariance and considering the definition of χ 2 -distribution, it can be shown that

1 σ 2 ϑ ^ ( C ( X X ) 1 C ) 1 ϑ ^ ~ H 0 χ q 2 (2.35)

One can also show that 1 σ 2 ϑ ^ ( C ( X X ) 1 C ) 1 ϑ ^ ~ χ q 2 and SSE/ σ 2 ~ χ np 2 , and are independent χ 2 distributed. We therefore define the statistic under H 0 as

F= ϑ ^ ( C ( X X ) 1 C ) 1 ϑ ^ /q SSE/ ( np ) ~ H 0 F q,np . (2.36)

If the null hypothesis H 0 :Cβ=d holds (ie, Cβd=0 ), then we will reject H 0 for large values of F since small value of C β ^ d is expected.

Let the least square estimate among those β vectors which satisfy Cβ=d be denoted as β H 0 , i.e. it minimizes (2.13) under the condition Cβ=d . We define the corresponding sum of squares error for the LS fit under H 0 as

SSE H 0 := yX β ^ H 0 2

It can also be shown that ϑ ^ ( C ( X X ) 1 C ) 1 ϑ ^ = SSE H 0 SSE is true which allows us to give the general F-test.

(General F test in linear regression) We define the test statistic F under the null hypothesis H 0 :Cβ=d versus H 1 :Cβd in the linear regression model of (2.2) as

F= ( SSE H 0 SSE )/q SSE/ ( np ) ~ H 0 F q,np (2.37)

We reject H 0 against H 1 at level α if

F> F ( 1α ),q,np (2.38)

Here, F ( 1α ),q,np is the ( 1α ) quantile of an F distribution with q and np df. The quantity np is also called the residual degree of freedom. Thus, we can now summarize the F-test procedure for our model (2.2) as follows:

Hypothesis

H 0 :( β 1 ,, β k )=0 H 1 :( β 1 ,, β k )0

H 0 : β 1 = β 2 == β k =0

(No significant relationship exists between rent sqm and the predictors.)

H 1 :Atleastone β j 0,forsomej{ 1,2,,k }

(A significant relationship exists between rent sqm and at least one predictor.)

Test statistic = F, defined in (2.37)

Rejection Rule: Reject H 0 at level α , if F> F ( 1α ),q,np

2.7. T-Test

(t-test) We define the t-test procedure for our model (2.2) as follows, since in a t-test, the test statistic is computed for each β j , see [22].

Hypotheses:

H 0 : β j =0versus H 1 : β j 0

Test statistic:

T j = β ^ j se ^ ( β ^ j ) ~ t np ,under H 0 (2.39)

Here, se ^ ( β ^ j ):=s ( ( X X ) 1 ) jj is the estimated standard error of β ^ j and s= s 2 defined in Equation (2.22)

Rejection Rule: Reject H 0 at level α , if | T j |> t np,1α/2

Note that t-test is a special case of the F-test, in particular we have F j = T j 2 since if

F j := β ^ j 2 ( ( X X ) 1 ) jj SSE/ ( np ) ~ H 0 F 1,np T j := β ^ j se ^ ( β ^ j ) ~ H 0 t np (2.40)

2.8. Analysis of Variance (ANOVA)

ANOVA is mostly used to summarize the hypothesis tests results in linear models in a tabular form. Given two models M reduced and M full which are nested: M reduced M full , that is, all covariates of the reduced model are contained in the full model, we define the ANOVA-test ratio for the comparison of M reduced and M full as follows

F= ( SSE reduced SSE full )/ ( n p full ) SSE reduced / ( p full p reduced ) ~ F n p full , p full p reduced (2.41)

Hypotheses

H 0 : β i =0versus H 1 : β i 0

Test statistic: F , defined in Equation (2.41)

Rejection Rule: Reject H 0 at level α , if F> F ( 1α ),n p full , p full p reduced

2.9. Analysis of Residuals

After estimating the model parameters, the credibility of the assumptions of linearity, normality of errors, and homoscedasticity for the given data can be assessed using residuals. It is therefore of importance to study the residual in order to examine in what extent our model assumptions may be violated. Therefore, taking a look at the patterns in the residual plots could help us understand if our model assumptions are violated or not. This is called analysis of residual. Residual plots can equally help us to decide whether to transform any of the covariates which we may want to include in the model or not. We will introduce three types of residuals for the ith observation namely: raw residuals, internally studentized residuals and externally studentized residuals.

2.10. Raw Residuals Check

The raw residual vector ε ^ was defined in (2.12), and its distribution in (2.22). Thus, we have that

ε ^ =y y ^ =YX β ^ =Y X ( X X ) 1 X H Y=YHY=( I n H )Y

and

Var( ε ^ i )= σ 2 ( 1 h ii ), (2.42)

where h ii = x i ( X X ) 1 x i is the i th diagonal element of the hat-matrix H defined in (2.21). Since Var( ε ^ i ) still changes under the homoscedasticity condition, we need to standardize the raw residuals. This standardization gives rise to both internally studentized residuals and externally studentized residuals.

Internally studentized residuals

The internally studentized residuals are defined by

s i := ε ^ i 1 h ii s , (2.43)

Here, s 2 is the estimate of σ 2 defined in (2.19). One can now analyze the variances and conclude whether the assumption of homoscedasticity is violated or not using the standardized residuals by plotting the standardized residuals versus the predicted values y ^ i . However, the deficiency of the internally studentized residuals is that it is not robust against outliers since all data is used to estimate σ and Equation (2.43) is t-distributed. This leads to the definition of externally studentized residuals which is more robust against outliers.

2.11. Externally Studentized Residuals or Jackknifed Residuals

To solve the problem of the non robustness of the internally studentized residuals, we define a new model just like the model of (2.3), but it is based on “drop-one-observation” of the data, which contains all observations except the i th observation as

Y i = X i β i + ε i , (2.44)

Here, X i denotes the design matrix without the row ith and Y i is the response vector Y with the ith observation y i removed. We define the fitted values corresponding to the model given in (2.44) as

y ^ i,i := x i β ^ i (2.45)

where β ^ i is the associated least squares estimates of β i . We define the corresponding residual also called the ith predictive residual as

ε ^ i,1 := y i y ^ i,i (2.46)

Using (2.46), we obtain the estimate s i 2 of the error variance σ 2 which does not include the ith observation as

s i 2 := j=1,ji n ( y j x j β ^ i ) 2 np1 (2.47)

Finally, we now define the externally studentized residuals which is also called jackknifed residual. The externally studentized residuals t i which is based on the “drop-one-observation” of the data, are defined as

t i := r i,i 1 h ii s i (2.48)

2.12. Statistical Checks for the Plausibility of the Linear Model Assumptions

2.12.1. Linearity

The check we are going to use is the residuals versus the fitted values plot. If this plot has no trend, then we assume the linearity assumption as plausible [23].

2.12.2. Homoscedasticity

We are interested in checking if Var[ Y i ]=Var[ ε i ]= σ 2 holds. To check this, we use again the standardized residual versus the residual plots. If the standardized residuals are not spread equally along the range of the fitted values, then we interpret the homoscedasticity assumption as not plausible, see [24].

2.12.3. Independence

To check if Cov( ε j , ε j )=ρ=0 holds, we plot the residuals versus the covariates to see if the residuals are randomly and symmetrically distributed around zero. If this is true, we assume that the independence assumption is plausible [23].

2.12.4. Normality

To check for ε i ~ N n ( 0, σ 2 I n ) , we use the Quantile versus Quantile plot (QQPlot). If we do not have a straight line on the QQ plots of our variable versus the theoretical normal quantile, then we assume that the normality assumption is not plausible [25].

2.12.5. Multicollinearity

To check for multicollinearity among explanatory variables X 1 , X 2 ,, X p , we assess whether there is a strong linear relationship between them, which can inflate the standard errors of the estimated coefficients β ^ j . This is commonly evaluated using the Variance Inflation Factor (VIF), defined as

VIF j = 1 1 R j 2 ,

where R j 2 is the coefficient of determination from regressing X j on the remaining predictors. A VIF j >5 suggests a potentially problematic level of multicollinearity. Variables exceeding this threshold must be examined and removed if necessary to enhance model stability and interpretability. [26] [27].

3. Data Description and Management

The data set contains 2,651,885 observations and 59 attributes from 2007 to 2020. The data has both quantitative and qualitative covariates with rent per square meter (rent_sqm) as the response variable. We focus on the most relevant 31 variables such as “the additional cost”, “heat cost”, “construction year”, etc. The quantitative covariates are summarized as follows: Min = Minimum, 25% = 1st quartile, 50% = Median, X ¯ = Mean, 75% = 3rd quartile, Max = Maximum and Not available = NA. On the other hand, the qualitative covariates are summarized with their respective categories. Note that costs are expressed in EUR and rounded to two decimal digits and the following data summaries in Table 1 and Table 2 represent the whole data set.

Table 1. Description of quantitative variables.

Variables

Description

rent_sqm

Calculated rent per sqm by rent and size of apartment.

Min = 3, 25% = 7, 50% = 9, X ¯ = 9.39, 75% = 12, Max = 28

addcost

The extra monthly costs that need to be paid for other bills on top of the base rent excluding electricity.

Min = 0, 25% = 100, 50% = 140, X ¯ = 153.8, 75% = 196, Max = 599, NA = 97186

heatcost

The monthly heating cost.

Min = 0, 25% = 50, 50% = 70, X ¯ = 75.2, 75% = 94, Max = 300, NA = 898984

conyear

The year in which the object was built

Min = 1851, 25% = 1930, 50% = 1970, X ¯ = 1964, 75% = 1996, Max = 2020, NA = 447372

lmod

The year of the last modernization

Min=1981, 25% =2009, 50%=2012, X ¯ =2011, 75%=2015, Max=2018, NA=1113056

lspace

Living space in square meters

Min = 19, 25% = 53, 50% = 68, X ¯ = 71.15, 75% = 85, Max = 165

fspace

The usable floor space in square meters

Min = 0, 25% = 16, 50% = 57, X ¯ = 54.8, 75% = 79, Max = 250, NA = 1053922

energycon

The energy consumption per year and square meter in kWh

Min = 0, 25% = 82, 50% = 117, X ¯ = 120.4, 75% = 152, Max = 350, NA = 977343

adlength

The difference between edat and adat.

Min = 0, 25% = 0, 50% = 0, X ¯ = 0.71, 75% = 1, Max = 20

The descriptive statistics reveal notable variation across key quantitative variables relevant to rent modeling. Rent per square meter varies significantly, indicating differences in property value influenced by factors such as location, condition, and amenities. Additional cost (adcost) and heating costs (heatcost) also show a wide spread, with some properties incurring substantially higher energy costs, possibly due to inefficiency. The construction (conyear) and modernization years (lmod) extend across several decades, which capture both historic and newly renovated buildings. Living (lspace) and floor space (fspace) differ widely, which shows a mix of compact and spacious apartments in the dataset. Energy consumption (energycon) values highlight a range of efficiency levels, which likely impact rental prices. The duration of the advertisement ranges from zero to several weeks, suggesting varying market demand and listing strategies. These differences confirm the complexity of accurately predicting rental prices. As a result, the study proposes the use of a log-normal model incorporating nonlinear covariates to better capture the heterogeneity and improve prediction accuracy in rent data.

Table 2. Description of qualitative variables.

Variables

Description

afloor

Apartment-specific variable indicates the floor the apartment is located in.

afloorg is used to group afloor as follows:

(−1) - 0, 1 - 2, 3 - 9, >9, NA

bfloor

This indicates the number of floors in the building.

bfloorg is used to group bfloor as follows:

0 - 2, 3, 4, 5, >5, NA

nrooms

Number of rooms, excluding kitchen, bath or corridors.

nroomsg is used to group nrooms as follows:

1 - 1.5, 2 - 2.5, 3 - 3.5, >3.5, NA

nbed

Number of bedrooms of the property.

nbedg is used to group nbed as follows:

0 - 1, 2, >2, NA

nbath

Number of bathrooms of the property

nbathg is used to group nbath as follows:

0 - 1, >1, NA

elevator

This variable indicates if a property has an elevator.

elevatorg is used to group elevator as follows:

Yes, No, NA

balcony

This variable indicates the presence of a balcony.

balconyg is used to group balcony as follows:

Yes, No, NA

kitchen

This variable indicates the presence of a fitted kitchen.

kitcheng is used to group kitchen as follows:

Yes, No, NA

eww

if the warm water consumption was included in the energy consumption value calculation.

ewwg variable is used to group eww as follows:

Yes, No, NA

subh

It indicates if a certificate of eligibility to public housing is needed to rent the apartment.

subhg is used to group subh as follows:

Yes, No, NA

gtoilet

This indicates the presence of a guest toilet.

gtoiletg is used to group gtoilet as follows:

Yes, No, NA

garden

This indicates the presence of a garden.

gardeng is used to group garden as follows:

Yes, No, NA

hww

if the warm water consumption was included in the heating cost value calculation.

hwwg is used to group hww as follows:

Yes, No, NA

cellar

This indicates if an property has a cellar room

cellarg is used to group cellar as follows:

Yes, No, NA

parking

This variable indicates whether a parking space is available.

parking is used to group parking as follows:

Yes, No, NA

furnishing

This is an artificial category number indicating the facilities of the property.

furnishingg is used to group furnishing as follows:

(Upscale, Luxury) = Upscale, (Normal, Simple) = Normal, no specification = NA

eeff

This indicates the energy efficiency rating.

eeffg is used to group eeff as follows:

(A, APLUS, B) = High, (C, D, E) = Medium, (F, G, H) = Low, no specification = NA

ecert

The type of energy performance certificate that the customer has for the object

ecertg is used to group ecert as follows:

Final energy demand = building, Energy consumption characteristic = consumption, NA

pets:

This indicates whether pets are allowed in the property.

petsg is used to group pets as follows:

(Yes, by Agreement) = Yes, No = No, no specification = NA

heat

This indicates the type of heating.

heatg is used to group heat as follows:

Central Heating (CH), Non Central Heating (NCH), NA

apcat

This variable categorizes the property into different classes.

apcatg is used to group apcat as follows:

(Penthouse, Maisonette, Attic Apartment) = top, Apartment = middle,

(Mezzanine, Terrace apartment) = low, Basement = below, NA

pcon

This indicates the condition of a property.

pcong is used to group pcon as follows:

(First occupancy, First occupancy after renovation) = First, (Maintained, as good as new)

= Mt, In need of renovation = Inr, (Modernized, Renovated, Fully Renovated) = Md, NA

3.1. Data Sets

We split the date set described in Table 1 and Table 2 into two sub data sets: Berlin 2015 and Berlin 2019. The number of rental properties contained in each data set is given in Table 3. The summaries of the response variable and the quantitative covariates are given in Table 4, while in Table 5, we give the summary of each qualitative variable followed by their percentage.

Table 3. Number of rental properties in the two data sets.

city

2015

2019

Berlin

49,724

49,536

Table 4 Univariate data summaries of quantitative covariates: first row = Berlin 2015, second row = Berlin 2019.

Summary

Variable

Min

25%

50%

Mean

75%

Max

NA

rent_sqm 2015

3.00

7.00

8.00

8.66

10.00

17.00

0

rent_sqm 2019

4.00

8.00

11.00

11.62

14.00

27.00

0

addcost

0.00

97.00

140.00

154.24

195.00

592.00

2021

0.00

100.00

141.00

157.21

200.00

599.00

1070

heatcost

0.00

54.00

75.00

81.18

100.00

300.00

21126

0.00

49.00

65.00

71.44

90.00

300.00

19077

conyear

1851

1910

1961

1954

1992

2016

7647

1853

1918

1972

1964

1998

2020

6437

lmod

1983

2012

2014

2012

2015

2016

34384

1982

2013

2016

2014

2018

2018

42152

lspace

23.00

55.00

69.00

73.80

89.00

161.00

0

19.00

52.00

65.00

68.64

82.00

158.00

0

fspace

0.00

50.00

67.00

69.51

89.00

220.00

35475

0.00

48.00

65.00

67.69

87.00

250.00

41068

energycon

0.00

88.00

117.00

121.47

149.00

350.00

16665

0.00

74.00

105.00

110.69

140.00

347.00

13863

adlength

0.00

0.00

0.00

0.71

1.00

20.00

0

0.00

0.00

0.00

0.49

1.00

20.00

0

Table 5. Univariate data summaries of qualitative covariates: first row = Berlin 2015, second row = Berlin 2019.

Variable

Categories

afloorg

(−1) - 0

1 - 2

3 - 9

>9

NA

4174 (0.08%)

18918 (0.38%)

19719 (0.4%)

868 (0.02%)

6045 (0.12%)

4320 (0.09%)

18759 (0.38%)

21016 (0.42%)

1020 (0.02%)

4421 (0.09%)

bfloorg

0 - 2

3

4

5

>5

NA

3222 (0.06%)

4938 (0.1%)

10313 (0.21%)

8974 (0.18%)

8030 (0.16%)

14247 (0.29%)

2659 (0.05%)

4426 (0.09%)

8838 (0.18%)

9291 (0.19%)

8698 (0.18%)

15624 (0.32%)

nroomsg

1 - 1.5

2 - 2.5

3 - 3.5

>3.5

7283 (0.15%)

20391 (0.41%)

15612 (0.31%)

6438 (0.13%)

8959 (0.18%)

21660 (0.44%)

14465 (0.29%)

4452 (0.09%)

nbedg

0 - 1

2

>2

NA

14796 (0.3%)

8465 (0.17%)

3710 (0.07%)

22753 (0.46%)

10951 (0.22%)

6107 (0.12%)

2204 (0.04%)

30274 (0.61%)

nbathg:

0-1

>1

NA

28941 (0.58%)

3681 (0.07%)

17102 (0.34%)

25237 (0.51%)

3151 (0.06%)

21148 (0.43%)

elevator:

Yes

No

NA

17145 (0.34%)

30648 (0.62%)

1931 (0.04%)

21019 (0.42%)

28517 (0.58%)

0 (0%)

balconyg:

Yes

No

NA

33799 (0.68%)

15207 (0.31%)

718 (0.01%)

35112 (0.71%)

14424 (0.29%)

0 (0%)

kitcheng:

Yes

No

NA

23510 (0.47%)

24111 (0.48%)

2103 (0.04%)

23390 (0.47%)

26146 (0.53%)

0 (0%)

ewwg:

Yes

No

NA

12923 (0.26%)

36042 (0.72%)

759 (0.02%)

4701 (0.09%)

3449 (0.07%)

41386 (0.84%)

subhg:

Yes

No

NA

1123 (0.02%)

43181 (0.87%)

5420 (0.11%)

3550 (0.07%)

45986 (0.93%)

0 (0%)

gtoiletg:

Yes

No

NA

6404 (0.13%)

43237 (0.87%)

83 (0.00%)

4995 (0.10%)

44541 (0.90%)

0 (0%)

gardeng

Yes

No

NA

6740 (0.14%)

39412 (0.79%)

3572 (0.07%)

5250 (0.11%)

44286 (0.89%)

0 (0%)

hwwg:

Yes

No

NA

23355 (0.47%)

23785 (0.48%)

2584 (0.05%)

24338 (0.49%)

24114 (0.49%)

1084 (0.02%)

cellarg:

Yes

No

NA

27227 (0.55%)

22194 (0.45%)

303 (0.01%)

24999 (0.50%)

24537 (0.50%)

0 (0%)

parkingg:

Yes

No

NA

113 (0.00%)

2 (0.00%)

49609 (1.00%)

8133 (0.16%)

486 (0.01%)

40917 (0.83%)

furnishingg:

Upscale

Normal

NA

15678 (0.32%)

11993 (0.24%)

22053 (0.44%)

14417 (0.29%)

8664 (0.17%)

26455 (0.53%)

eeffg:

High

Medium

Low

NA

796 (0.02%)

1084 (0.02%)

256 (0.01%)

47588 (0.96%)

1434 (0.03%)

2039 (0.04%)

348 (0.01%)

45715 (0.92%)

ecertg:

building

consumption

NA

11362 (0.23%)

22607 (0.45%)

15755 (0.32%)

15767 (0.32%)

20771 (0.42%)

12998 (0.26%)

petsg:

Yes

No

NA

1603 (0.03%)

3479 (0.07%)

44642 (0.90%)

16251 (0.33%)

5250 (0.11%)

28035 (0.57%)

heatg:

CH

NCH

NA

24827 (0.50%)

14874 (0.30%)

10023 (0.20%)

17205 (0.35%)

20432 (0.41%)

11899 (0.24%)

apcatg:

top

middle

low

below

NA

4884 (0.10%)

33758 (0.68%)

1444 (0.03%)

188 (0.00%)

9450 (0.19%)

4372 (0.09%)

34608 (0.70%)

2289 (0.05%)

389 (0.01%)

7878 (0.16%)

pcong:

First

Mt

Md

Inr

NA

9013 (0.18%)

12680 (0.26%)

12731 (0.26%)

362 (0.01%)

14938 (0.30%)

9409 (0.19%)

11535 (0.23%)

11289 (0.23%)

364 (0.01%)

16939 (0.34%)

3.2. Exploratory Data Analysis (EDA)

We can observe the superiority of the log-normal distribution over the normal distribution, as it provides a better fit to the rent_sqm data in Berlin for both 2015 and 2019, as shown in Figure 1 and Figure 2. This requires further statistical investigation.

Figure 1. Normal and Log-Normal fittings of rent_sqm for Berlin 2015.

Figure 2. Normal and Log-Normal fittings of rent_sqm for Berlin 2019.

Figure 3. Histograms of response variable (rent_sqm): first column = counts, second column = percentage.

We also observe a significant shift in the histogram plots of rent_sqm for counts and percentages, as rent increased from below 20 in 2015 to above 20 in 2019.

3.3. Interpretation of Main Effects for the Quantitative and Qualitative Covariates

Looking at the above transformations on rent_sqm in Table 6, we may likely go with the log transformation for linear and non-linear covariates based on its suitability with respect to constant variance discussed in Section 2 and the effects of the covariates on rent_sqm.

Figure 4. Scatter plots of quantitative covariates versus response (rent_sqm) with linear smooth (LS) and non-linear smooth (NLS): first column = rent_sqm and second column = log(rent_sqm). (First row) = Berlin 2015 with LS, (second row) = Berlin 2019 with LS, (third row) = Berlin 2015 with NLS, (fourth row) = Berlin 2019 with NLS.

Figure 5. Box plots of qualitative covariates versus response (rent_sqm): first column = Berlin 2015, second column = Berlin 2019.

Table 6. Interpretation of main effects for the quantitative covariates on rent_sqm and log(rent_sqm) in Figure 4: first block = Linear smooth, second block = Nonlinear smooth.

Variables

Berlin 2015

rent_sqm

Berlin 2019

rent_sqm

Berlin 2015

log(rent_sqm)

Berlin 2019

log(rent_sqm)

addcost

Linear(increasing)

Linear (increasing)

Linear (increasing)

Linear (increasing)

heatcost

Linear (increasing)

Linear (increasing)

Linear (increasing)

Linear (increasing)

conyear

constant

constant

constant

constant

lmod

Linear (increasing)

Linear (increasing)

Linear (increasing)

Linear (increasing)

lspace

Linear (increasing)

constant

Linear (increasing)

nearly constant

fspace

Linear (increasing)

Linear (decreasing)

Linear (increasing)

constant

energycon

Linear (decreasing)

constant

Linear (decreasing)

constant

adlength

Linear (increasing)

Linear (increasing)

Linear (increasing)

Linear (increasing)

addcost

Quadratic

Quadratic

Quadratic

Quadratic

heatcost

nearly linear

Quadratic

nearly linear

nearly linear

conyear

Quadratic

cubic

Quadratic

nearly linear

lmod

Linear (increasing)

Quadratic

nearly constant

nearly constant

lspace

cubic

cubic

cubic

Linear (decreasing)

fspace

cubic

cubic

cubic

Quadratic

energycon

cubic

Quadratic

nearly constant

Quadratic

adlength

Quadratic

cubic

Quadratic

constant

Table 7. Interpretation for the qualitative covariates on rent_sqm in Figure 5.

Variables

Berlin 2015

Berlin 2019

afloorg

Yes

Yes

bfloorg

Yes

Yes

nroomsg

Yes

Yes

nbedg

Yes

No

nbathg

Yes

No

elevatorg

Yes

Yes

balconyg

No

No

kitcheng

Yes

Yes

ewwg

Yes

No

subhg

Yes

Yes

gtoiletg

Yes

Yes

gardeng

Yes

Yes

hwwg

Yes

Yes

cellarg

Yes

Yes

parkingg

Yes

Yes

furnishingg

Yes

Yes

eeffgg

Yes

Yes

ecertg

Yes

Yes

petsg

Yes

Yes

heatg

Yes

Yes

apcatg

Yes

Yes

pcong

Yes

Yes

4. Model Fittings and Predictions

We discuss how we select the type of model we use to fit the rent_sqm for Berlin rental properties in 2015 and 2019. To refine the regression model for the rent per square meter in Berlin, a stepwise backward regression was applied using the step() function in R. This method began with a full model containing all relevant predictors and iteratively removed nonsignificant variables based on the Akaike Information Criterion (AIC). The backward selection process ensured a more parsimonious model by retaining only the most influential variables, enhancing interpretability while maintaining predictive strength and minimizing model complexity. We fitted eight models (M1M8) for the response variable, four each for the Berlin 2015 and 2019 datasets, as shown in the four cases with their respective summaries in Table 8.

Table 8. Model fitting summary with only main effect.

Berlin 2015

case 1

case 2

case 3

case 4

Adjusted R-square

0.3081

0.3255

0.3534

0.3645

Number of parameters (p)

42

42

50

52

Berlin 2019

Adjusted R-square

0.3918

0.4218

0.353

0.4916

Number of parameters (p)

41

41

52

48

  • Case 1 (M1 and M2): Modeling rent_sqm with linear covariates for 2015 and 2019.

  • Case 2 (M3 and M4): Modeling log(rent_sqm) with linear covariates for 2015 and 2019.

  • Case 3 (M5 and M6): Modeling rent_sqm with nonlinear covariates for 2015 and 2019.

  • Case 4(M7 and M8): Modeling log(rent_sqm) with nonlinear covariates for 2015 and 2019

Based on the model fitting summary in Table 8, Case 4 was selected, as it best satisfied the model assumptions and achieved higher R2 values across the datasets.

4.1. Model Fitting of log(rent_sqm) on Non-Linear Covariates for Berlin 2015 and Berlin 2019

Table 9. Berlin 2015.

Estimate

Std. Error

t value

Pr(>|t|)

(Intercept)

−15.3309

1.6522

−9.28

0.0000

poly (addcost, 2)1

−0.0359

0.2912

−0.12

0.9018

poly (addcost, 2) 2

0.8549

0.2182

3.92

0.0001

poly (conyear, 2) 1

−2.4303

0.2424

−10.03

0.0000

poly (conyear, 2) 2

1.6659

0.2076

8.03

0.0000

lmod

0.0087

0.0008

10.61

0.0000

poly (lspace, 3) 1

−1.2691

0.5538

−2.29

0.0220

poly (lspace, 3) 2

2.0279

0.3350

6.05

0.0000

poly (lspace, 3) 3

−1.2145

0.2288

−5.31

0.0000

poly (fspace, 2) 1

−0.7175

0.3432

−2.09

0.0367

poly (fspace, 2) 2

−0.3325

0.3048

−1.09

0.2753

bfloorg 0 - 2

0.0061

0.0192

0.32

0.7517

bfloorg 3

−0.0014

0.0163

−0.09

0.9318

bfloorg 4

0.0490

0.0142

3.45

0.0006

bfloorg 5

0.0614

0.0137

4.48

0.0000

bfloorg NA

−0.0013

0.0238

−0.06

0.9559

nroomsg 1 - 1.5

0.0007

0.0284

0.03

0.9798

nroomsg 2 - 2.5

0.0507

0.0224

2.26

0.0237

nroomsg 3 - 3.5

0.0591

0.0176

3.35

0.0008

nbedg 0 - 1

−0.0556

0.0158

−3.52

0.0004

nbedg 2

−0.0482

0.0146

−3.31

0.0010

nbedg NA

−0.0689

0.0208

−3.31

0.0009

nbathg 0 - 1

−0.0138

0.0194

−0.71

0.4767

nbathg NA

−0.0626

0.0290

−2.15

0.0313

elevator No

−0.0414

0.0824

−0.50

0.6149

elevatorg Yes

0.0096

0.0823

0.12

0.9069

kitchen No

−0.0378

0.0832

−0.45

0.6493

kitcheng Yes

0.0315

0.0832

0.38

0.7051

ewwg No

0.0517

0.0338

1.53

0.1266

ewwg Yes

0.0683

0.0342

2.00

0.0455

subhg No

0.0096

0.0202

0.48

0.6339

subhg Yes

−0.2679

0.0482

−5.55

0.0000

gtoiletg Yes

0.0352

0.0152

2.32

0.0207

gardeng No

0.1277

0.0659

1.94

0.0527

gardeng Yes

0.1206

0.0662

1.82

0.0685

parking Yes

−0.0862

0.0512

−1.68

0.0922

furnishing Normal

0.0108

0.0147

0.73

0.4643

furnishingg Upscale

0.1274

0.0149

8.54

0.0000

eeffg Low

−0.0753

0.0478

−1.58

0.1152

eeffg Medium

−0.0580

0.0322

−1.80

0.0716

eeffg NA

−0.0189

0.0287

−0.66

0.5102

petsg No

−0.0377

0.0114

−3.30

0.0010

petsg Yes

−0.0479

0.0302

−1.58

0.1132

heatg NA

0.0267

0.0254

1.05

0.2946

heatg NCH

−0.0149

0.0087

−1.72

0.0856

apcatg low

−0.1461

0.0813

−1.80

0.0726

apcatg middle

−0.1150

0.0792

−1.45

0.1465

apcatg NA

−0.1284

0.0795

−1.61

0.1064

apcatg top

−0.0693

0.0795

−0.87

0.3834

pcong Inr

−0.1913

0.0615

−3.11

0.0019

pcong Md

−0.0606

0.0100

−6.04

0.0000

pcong Mt

−0.0291

0.0117

−2.48

0.0131

pcong NA

−0.0155

0.0205

−0.76

0.4485

Observations

2605

R2

0.377

Adj. R2

0.365

Residual Std. Error

0.188 (df = 2552)

F Statistic

29.728*** (df = 52; 2552)

p-value

<2.2e−16

*p < 0.1; **p < 0.05; ***p < 0.01.

Table 10. Berlin 2019.

Estimate

Std. Error

t value

Pr(>|t|)

(Intercept)

−13.2034

2.1819

−6.05

0.0000

poly (addcost, 2) 1

0.9758

0.3201

3.05

0.0023

poly (addcost, 2) 2

−0.2808

0.2557

−1.10

0.2724

heatcost

0.0009

0.0002

4.41

0.0000

poly (conyear, 2) 1

−1.2329

0.2958

−4.17

0.0000

poly (conyear, 2) 2

2.7830

0.2552

10.90

0.0000

lmod

0.0077

0.0011

7.10

0.0000

poly (lspace, 3) 1

−2.7888

0.5671

−4.92

0.0000

poly (lspace, 3) 2

1.4259

0.3374

4.23

0.0000

poly (lspace, 3) 3

−1.3228

0.2577

−5.13

0.0000

poly (energycon, 2) 1

0.3285

0.2503

1.31

0.1896

poly (energycon, 2) 2

0.5836

0.2260

2.58

0.0099

poly (adlength, 3) 1

0.0461

0.2257

0.20

0.8383

poly (adlength, 3) 2

−0.7181

0.2263

−3.17

0.0015

poly (adlength, 3) 3

0.4056

0.2166

1.87

0.0613

afloorg >9

−0.0672

0.0668

−1.01

0.3143

afloorg 1 - 2

0.0059

0.0230

0.26

0.7982

afloorg 3 - 9

0.0577

0.0237

2.43

0.0151

afloorg NA

−0.1273

0.0483

−2.64

0.0085

bfloorg 0 - 2

0.0576

0.0322

1.79

0.0742

bfloorg 3

0.0056

0.0288

0.20

0.8448

bfloorg 4

0.0649

0.0242

2.68

0.0075

bfloorg 5

0.1216

0.0215

5.65

0.0000

bfloorg NA

0.1357

0.0413

3.28

0.0011

nroomsg 1 - 1.5

−0.0444

0.0449

−0.99

0.3231

nroomsg 2 - 2.5

0.0550

0.0350

1.57

0.1159

nroomsg 3 - 3.5

0.0192

0.0281

0.68

0.4942

elevatorg Yes

0.0900

0.0168

5.36

0.0000

kitcheng Yes

0.1231

0.0139

8.84

0.0000

ewwg No

−0.0580

0.0175

−3.32

0.0009

ewwg Yes

−0.0091

0.0173

−0.53

0.5972

subhg Yes

−0.4174

0.1078

−3.87

0.0001

cellarg Yes

−0.0260

0.0146

−1.78

0.0749

parkingg No

0.0970

0.0738

1.31

0.1890

parkingg Yes

−0.0655

0.0163

−4.02

0.0001

furnishing Normal

−0.0390

0.0295

−1.32

0.1872

furnishingg Upscale

0.1026

0.0295

3.47

0.0005

petsg No

−0.0016

0.0205

−0.08

0.9369

petsg Yes

−0.0444

0.0149

−2.97

0.0030

heatg NA

0.0011

0.0530

0.02

0.9833

heatg NCH

−0.0573

0.0144

−3.98

0.0001

apcatg low

−0.0641

0.0924

−0.69

0.4875

apcatg middle

−0.0268

0.0839

−0.32

0.7494

apcatg NA

−0.0051

0.0856

−0.06

0.9521

apcatg top

0.0280

0.0839

0.33

0.7386

pcong Inr

−0.1959

0.0850

−2.31

0.0213

pcong Md

−0.0292

0.0210

−1.39

0.1650

pcong Mt

−0.0562

0.0223

−2.52

0.0119

pcong NA

0.0227

0.0381

0.59

0.5522

Observations

1231

R2

0.511

Adj. R2

0.492

Residual Std. Error

0.211 (df = 1182)

F Statistic

25.778*** (df = 48; 1182)

p-value

<2.2e−16

*p < 0.1; **p < 0.05; ***p < 0.01.

4.2. Residual Plots of Model Fittings

We plot the residuals versus the fitted values to check for a trend and assess the plausibility of the linearity assumption discussed in Section 2. Additionally, we plot the QQ plots of the covariates versus the theoretical normal quantiles to check if they form a straight line, which helps assess the plausibility of the normality assumption discussed in Section 2.

From the plots in Table 11, we find that the fitted models do not relatively violate the linear regression assumptions in Section 2.

Table 11. Residual plots of model fittings for Berlin 2015 and Berlin 2019.

city

Berlin 2015

Berlin 2019

4.3. Model Predictions of rent_sqm for the Main Effect Models

In this section, we predict rent_sqm using the main effect models in Table 9 and Table 10, based on influential variables identified through pairwise selection (Table 12 and Table 13). Predictions use the median for continuous covariates and the mode for qualitative covariates. For each variable of interest, values are generated across the 5th to 95th percentiles while holding other covariates at their median or modal values. All adjusted GVIF1/(2∙Df) values were below 2, indicating no multicollinearity concerns; therefore, all predictors were retained, confirming the model’s statistical robustness.

We observe that the model predictions in Table 12, which illustrate the major influential quantitative covariates selected through the AIC procedure, exhibit predominantly nonlinear relationships with rent_sqm in both years (2015 and 2019), apart from last modernization, which consistently showed a linear trend. Also, in 2019, variables such as additional costs (addcost), heat cost (heatcost), and energy condition (energycon) show increasing trends, while living space (lspace), advertisement length (adlenght), and the year in which the object was built (conyear) show a decreasing pattern. These effects, derived from model predictions, suggest that major numerical factors influence rent in complex, nonlinear ways rather than through simple linear associations.

Table 12. Model predictions of rent_sqm for the influential quantitative covariates.

Berlin 2015

Berlin 2019

Table 13. Model predictions of rent_sqm for the influential qualitative covariates.

Variables

Categories

2015

2019

afloorg

(−1) - 0

10.30

1 - 2

10.36

3 - 9

10.91

>9

9.63

NA

9.07

bfloorg

0 - 2

8.41

10.83

3

8.34

10.29

4

8.78

10.91

5

8.89

11.55

>5

8.36

10.23

NA

8.35

11.72

nroomsg

1 - 1.5

8.35

9.88

2 - 2.5

8.78

10.91

3 - 3.5

8.85

10.53

>3.5

8.34

10.33

nbedg

0 - 1

8.78

2

8.84

>2

9.28

NA

8.66

nbathg

0 - 1

8.78

>1

8.90

NA

8.66

elevatorg

Yes

9.24

11.94

No

8.78

10.91

NA

9.15

kitcheng

Yes

9.41

10.91

No

8.78

9.65

NA

9.11

ewwg

Yes

8.92

10.81

No

8.78

10.30

NA

8.33

10.91

subhg

Yes

6.65

7.19

No

8.78

10.91

NA

8.69

parkingg

Yes

8.05

10.22

No

12.03

NA

8.78

10.91

furnishingg

Upscale

8.78

10.91

Normal

7.81

9.47

NA

7.73

9.85

eeffgg

High

8.94

Medium

8.44

Low

8.30

NA

8.78

petsg

Yes

8.37

10.91

No

8.45

11.39

NA

8.78

11.41

apcatg

Top

9.19

11.53

Middle

8.78

10.91

Low

8.51

10.51

Below

9.85

11.21

NA

8.67

11.15

5. Results

5.1. Summary of Results

We observe in Figure 1 and Figure 2 that in 2015, the lognormal curve provided a superior fit to the empirical data, particularly around the mode and in the upper tail. The histogram revealed an apparent right skew, which the lognormal distribution captured effectively. The normal distribution, by contrast, imposed symmetry on an asymmetric dataset, resulting in visible deviation from the observed pattern, especially at the extremes. In 2019, this pattern persisted. The rental data maintained a skewed distribution, and the lognormal curve once again fit the distribution more accurately, capturing both the peak and the tail behavior. The normal curve underestimated the density at lower values and overestimated it in the central range, confirming its misalignment.

In addition, in Figure 3, a significant shift is observed in the histogram plots of rent_sqm between Berlin 2015 and 2019. For example, in Munich 2015, most values of rent_sqm were below 20 Euros, whereas in 2019, they exceeded 20 Euros. This indicates that the rent price increases over time, which is also confirmed by our prediction. For example, the predicted rent_sqm increased in Berlin from 2015 to 2019 by 15.94%, 24.26%, 20.6%, 24.15%, and 30.22%, with apartments that have a kitchen, Upscale furnishing, First occupancy condition, central heating, and do not allow pets, respectively.

From Table 12, the influence of quantitative covariates on the predicted rent_sqm is summarized below.

  • For Berlin 2015, each variable exhibits an effect on the rent_sqm, as observed by their non-constant predicted lines. The variable, last modernization, enters the model linearly, showing a positive trend with rent_sqm, whereas the remaining variables demonstrate nonlinear relationships.

  • Also, for Berlin 2019, all variables impact the rent_sqm. The additional cost, heat cost, and last modernization variables entered linearly, each displaying an increasing trend with rent_sqm, while the other variables enter the model in a nonlinear form.

In Table 13, we can also summarise the pattern of the predicted rent_sqm for the influential qualitative covariates as follows.

  • The predicted rent_sqm is highest in Berlin, estimated at 12.03 euros in 2019.

  • afloor: In Berlin 2019, the predicted rent_sqm is at the lowest (9.63 Euros) with apartment floor >9. It increased with apartment floor (−1) - 0 (10.30 Euros), followed by apartment floor 1- 2 (10.36 Euros) and it is at the highest (10.91 Euros) with apartment floor 3 - 9 (the mode).

  • building floors (bfloor): With five building floors apartments, our predicted rent_sqm is at the highest (8.89 and 11.55 Euros) for Berlin 2015, Berlin 2019, but is at the lowest (8.34 and 10.29 Euros) with three building floors apartments.

  • number of rooms (nrooms): In Berlin 2015, our predicted rent_sqm value is at the highest (8.85 Euros) with apartments that have the number of rooms 3 - 3.5 while in Berlin 2019, the apartments with the number of rooms 2 - 2.5 has the highest predicted rent_sqm (10.91 Euros). On the other hand, the predicted rent_sqm is at the lowest with apartments that have 1-1.5 (8.35, 9.88, and 12.96 Euros) for Berlin 2015, Berlin 2019.

  • number of bedrooms (nbed): In Berlin 2015, we can see an increasing trend in the predicted rent_sqm (8.78, 8.84, and 9.28 Euros) with respect to the order of the categories of the number of bedrooms (0 - 1, 2, and >2) of an apartment. Thus, rent_sqm seems to increase in Berlin for apartments with a higher number of bedrooms.

  • number of bathrooms (nbath): In Berlin 2015, we can also see an increasing trend in the predicted rent_sqm (8.78 and 8.90 Euros) with respect to the order of the categories of the number of bathrooms (0 - 1, and >1) of an apartment. Thus, rent_sqm seems to increase with apartments that have a higher number of bathrooms in Berlin (and vice versa).

  • elevator: We can see an increase in the predicted rent_sqm (9.24 and 11.94 Euros) for apartments with an elevator in Berlin 2015 and Berlin 2019, respectively unlike the apartments without an elevator where the predicted rent_sqm are respectively (8.78 and 10.91 Euros). Thus, rent_sqm seems to increase with apartments that have an elevator (and vice versa).

  • kitchen: We can see an increase in the predicted rent_sqm (9.41 and 10.91 Euros) for apartments with a kitchen in Berlin 2015 and Berlin 2019, respectively unlike the apartments without a kitchen where the predicted rent_sqm are respectively (8.78 and 9.65 Euros). Thus rent_sqm seems to increase with apartments that have a kitchen (and vice versa).

  • eww: The predicted rent_sqm is higher with apartments that have the inclusion of warm water consumption in the energy consumption value calculation (8.92 and 10.81 Euros) in both Berlin 2015 and 2019 respectively, compared to the apartments that do not have it (8.78 and 10.30 euros). Thus rent_sqm seems to increase for apartments that have the inclusion of warm water consumption in the energy consumption value calculation in Berlin (and vice versa).

  • subh: The predicted rent_sqm is lower with apartments that have a certificate of eligibility for public housing (6.65 and 7.19 Euros) in both Berlin 2015 and 2019, respectively, compared to the apartments that do not have it (8.78 and 10.91 Euros). Thus rent_sqm seems to increase with apartments that do not have a certificate of eligibility for public housing in Berlin (and vice versa).

  • gtoilet: The predicted rent_sqm is higher with apartments that have a guest toilet (9.09 Euros) in Berlin 2015, compared to the apartments with no guest toilet (8.78 Euros). Thus, rent_sqm seems to increase with apartments that have a guest toilet in Berlin (and vice versa).

  • garden: With apartments that have a garden in Berlin 2015, the predicted rent_sqm is lower (8.71 Euros) compared to apartments that do not have a garden (8.78 Euros). Thus, rent_sqm seems to decrease with apartments that have a cellar in Berlin (and vice versa)

  • cellar: With apartments that have a cellar in Berlin 2019, the predicted rent_sqm is lower (10.91 Euros) compared to apartments that do not have cellars (11.20 Euros). Thus, rent_sqm seems to decrease with apartments that have a cellar in Berlin (and vice versa)

  • parking space: In Berlin 2019, the predicted rent_sqm is higher (10.22 Euros) with apartments that have a parking space, compared to apartments that do not have a parking space (12.03 Euros). Thus rent_sqm seems to increase in Berlin with apartments that have a parking space (and vice versa).

  • furnishing: The predicted rent_sqm is at the highest with apartments that have Upscale furnishing for Berlin 2015 and Berlin 2019. Also, with Upscale furnishing apartments, the predicted rent_sqm increased from 2015 to 2019 by 24.26%. It equally increased from Normal to Upscale furnishing apartments by 12.42% and 15.21%, for Berlin 2015 and 2019, respectively. Thus, rent_sqm seems to increase with apartments that have Upscale furnishing in Berlin (and vice versa), as well as with respect to time.

  • energy efficiency rating (eeff): We can also see an increasing trend in the predicted rent_sqm with respect to the order of the categories of energy efficiency rating (Low, Medium, and High) (8.30, 8.44, and 8.94 Euros) in Berlin 2015. Thus rent_sqm seems to increase in Berlin with respect to the order of energy efficiency rating categories (Low, Medium, and High) (and vice versa).

  • pets: The predicted rent_sqm is lower with apartments that allow pets (8.37 and 10.91 Euros) in Berlin 2015 and 2019, compared to apartments that do not allow pets (8.45 and 11.39 Euros), thereby decreasing by 23.28% and 25.28% for Berlin 2015 and 2019, respectively. Thus, rent_sqm seems to decrease with apartments that allow pets in Berlin (and vice versa)

  • heat: Our predicted rent_sqm is higher with apartments that make use of the central heating (CH) as their heating type (8.78 and 10.91 Euros) for Berlin 2015 and 2019, respectively, compared to the apartments that make use of the non-central heating (NCH) as their heating type (8.65 and 10.31 Euros). Thus, rent_sqm appears to increase with apartments that utilize central heating as their primary heating type in Berlin (and vice versa).

  • apartment categories (apcat): Our predicted rent_sqm is at the highest with the below category apartments (9.85 Euros) for Berlin 2015 while for Berlin 2019, it is at the highest with the top category apartments (11.53 Euros). On the other hand, our predicted rent_sqm is at its lowest for the low category apartments (8.51 and 10.51 Euros) in Berlin 2015 and 2019, respectively. Thus, rent_sqm seems to increase with low and top-category apartments in Berlin (and vice versa).

  • property condition categories (pcon): Our predicted rent_sqm is at the highest with the First occupancy condition apartments (9.32 and 11.24 Euros) for Berlin 2015 and 2019, respectively, thereby increasing by 20.0% from 2015 to 2019. Thus, rent_sqm seems to increase with the first occupancy condition apartments in Berlin compared to other apartment condition categories.

5.2. Discussion on Research Questions

5.2.1. RQ1: Does a Relationship Exist between the Response Variable (rent_sqm) and the Selected Predictor Variables?

The analysis indicates strong associations between rent_sqm and most predictors. In both the Berlin 2015 and 2019 datasets, all examined variables influenced rent_sqm as shown in Figure 4 and Figure 5, Table 6, Table 7, Table 12, and Table 13. For example, the last modernization variable showed a consistent linear relationship with rent_sqm, while other quantitative variables exhibited nonlinear trends. Also, the boxplots in Figure 5 as interpreted in Table 7, provide visual evidence of the relationship between rent_sqm and the qualitative covariates. Observable patterns and non-parallel trends across category levels suggest that these variables influence rental behavior. These relationships validate the importance of diverse housing features in determining rent prices. This finding is consistent with housing studies that emphasize the role of structural and locational features in determining prices [4] [5].

Moreover, the results align with broader market trends. According to JLL’s Housing Market Overview, Berlin’s 2024 housing market is expected to face growing demand, increased immigration, and lagging construction. Despite rent price stabilization and regulatory efforts, declining completions and affordability challenges signal persistent pressure and possible structural limits in supply, investment, and population-driven housing demand. This suggests that various factors, including those studied, contribute to rent variations [1].

5.2.2. RQ2: Is a Transformation of Response Variable (rent_sqm) Necessary to Meet the Assumptions of Linear Regression?

Yes, first, density plots were generated for the years 2015 and 2019 to assess the appropriate distributional model for rent per square meter in Berlin. Each histogram was overlaid with both standard (red) and lognormal (green) fitted density curves, as shown in Figure 1 and Figure 2. Across both years, the lognormal distribution consistently exhibited a closer approximation to the observed rent data. Secondly, a log transformation was applied to rent_sqm to address nonnormality and heteroskedasticity. This transformation statistically confirmed the superiority of lognormal over the normal distribution as observed in Figure 1 and Figure 2, by improving the model’s explanatory power, as indicated by the increased adjusted R-squared values in case 4 of Table 8 (e.g., 0.3645 for 2015 and 0.4916 for 2019), and a better alignment with regression assumptions. This transformation approach also supports previous findings and aligns with econometric methods often used in real estate analyses, where log-linear models account for skewed distributions and non-constant variance [4] [5] [28] [29].

5.2.3. RQ3: Which Predictor Variables Significantly Affect the Rental Price Per Square Meter in Berlin’s Housing Market?

The study identified several influential predictors impacting rental prices:

  • Quantitative Covariates: Last modernization year (linear), additional cost (linear), and heat cost (linear) significantly influenced rent_sqm. Other variables like living space and construction year significantly entered the model nonlinearly, showing complex effects across the two years 2015 and 2019 as shown in Table 12.

  • Qualitative Covariates: Upscale furnishing increased rent by over 24%, while the presence of amenities (e.g., elevator, kitchen, guest toilet, high energy efficiency ratings, the inclusion of warm water consumption in the energy consumption value calculation) correlated with higher rents as shown in Table 13. Conversely, pets allowed was correlated with lower rents. These results are consistent with the existing literature, which highlights the importance of property characteristics and amenities in determining rental values [5] [30].

5.3. Contribution of the Study

This study contributes to six important domains:

  • Contribution to Literature: This study advances statistical modeling literature by integrating lognormal regression with nonlinear covariate transformations to better capture skewed rental price distributions. The approach improves model flexibility and predictive accuracy, offering a refined methodological framework for urban housing analysis and policy applications [30].

  • Statistical Applications: The study demonstrates the effective use of advanced regression techniques, including log transformation, nonlinear covariates, and GVIF diagnostics, in analyzing large urban rental datasets. This application provides a practical teaching resource for applied statistics and data science courses [21] [22].

  • Educational Leadership and Evidence-Based Policy: By identifying key cost drivers affecting rental affordability, the study supports data-informed decision-making in higher education, particularly in addressing student and faculty housing equity challenges [8].

  • Cross-National Implications: Berlin’s rental market dynamics mirror those of other global academic cities, allowing the findings to inform housing strategies across international contexts with both market-driven and regulated systems [6].

  • Policy Innovation and Housing Equity: The analysis highlights the role of modernization and energy efficiency in shaping affordability, contributing insights for sustainable housing policies that balance market performance with equity considerations [7].

  • Institutional Housing Strategy Improvement: The study offers a replicable, empirically grounded framework to guide institutional housing planning, negotiations, and subsidy design. By identifying major rent drivers, it supports targeted affordability interventions in high-demand cities in Germany, the United States, and beyond [9] [31].

6. Conclusions

This study applied multiple linear regression with nonlinear covariates to model rental prices per square meter in Berlin’s housing market using a combined qualitative and quantitative dataset. The results indicate that rent levels are significantly influenced by furnishing quality, year of last modernization, floor level, and apartment category, with both linear and nonlinear effects, reinforcing the need for flexible statistical approaches in housing analysis [4] [5]. Methodologically, the study extends existing research by incorporating nonlinear covariates into lognormal regression models. Among the tested specifications, the log-transformed model with nonlinear terms outperformed others for both the 2015 and 2019 datasets, achieving adjusted R2 values of 0.3645 and 0.4916, respectively. These findings confirm the suitability of logarithmic transformation for handling skewness and heteroscedasticity in rental data, consistent with prior literature [4] [5] [28] [30] [32]. Diagnostic measures further supported the statistical validity and interpretability of the model. From a practical perspective, the findings offer guidance for real estate professionals, urban planners, and institutional leaders by highlighting the importance of modernization, energy efficiency, and structural features in rental policy design, particularly in high-demand urban markets [1] [2] [32]. For higher education institutions, the study offers a replicable framework to inform housing negotiations, subsidy allocation, and planning in student-dense cities, aligning with broader calls for data-driven policy in housing equity [5] [7] [9]. Future research may extend this framework through time-series forecasting, spatial econometric methods, or comparative analyses across major European and U.S. cities.

Finally, the authors recommend integrating major housing cost drivers and predictive modeling into higher education housing and affordability decisions. The study is limited to Berlin data from 2015 and 2019, which restricts generalizability and excludes post-pandemic changes.

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

References

[1] Jones Lang LaSalle (JLL) (2024) Housing Market Overview—H2 2024.
https://www.jll.de/en/trends-and-insights/research/housing-market-overview
[2] Lutz, E. (2020) The Housing Crisis as a Problem of Intergenerational Justice: The Case of Germany. Intergenerational Justice Review, 1, 2020.
[3] Meyberg, C., Rendtel, U. and Leerhoff, H. (2024) Flat Rent Price Prediction in Berlin with Web Scraping. AStA Wirtschafts-und Sozialstatistisches Archiv, 18, 245-278.[CrossRef]
[4] Malpezzi, S., et al. (2003) Hedonic Pricing Models: A Selective and Applied Review. Housing Economics and Public Policy, 1, 67-89.
[5] Yoshida, T., Murakami, D. and Seya, H. (2024) Spatial Prediction of Apartment Rent Using Regression-Based and Machine Learning-Based Approaches with a Large Dataset. The Journal of Real Estate Finance and Economics, 69, 1-28.[CrossRef]
[6] Brookings Institution (2023) How a University-Community Homesharing Collective is Creating a New Model for Affordable Housing in West Philadelphia.
[7] Pivo, G. (2022) Green Buildings and Rental Premiums: A Meta-Analysis. Journal of Sustainable Real Estate, 14, 1-16.
[8] Fullan, M. (2020) Leading in a Culture of Change. 2 Edition, John Wiley & Sons, Incorporated.
[9] German Academic Exchange Service (DAAD) (2024) Internationalisation Only Successful with Sufficient Living Space for Students. Press Release.
[10] Czado and Brechmann (2021) Lecture Slides on GLM, Study Material from the Research Group Mathematical Statistics in the Department of Mathematics at the Technical University Munich Deutschland.
https://www.groups.ma.tum.de/statistics/personen/claudia-czado/forschung/lecture-slides/
[11] Fahrmeir, L., Kneib, T., Lang, S. and Marx, B. (2013) Regression Models. In: Fahrmeir, L., Kneib, T., Lang, S. and Marx, B., Eds., Regression, Springer, 21-72.[CrossRef]
[12] Allen, M.P. (2004) Understanding Regression Analysis. Springer Science & Business Media.
[13] Brown, J.D. (2014) Linear Models in Matrix Form. Springer.
[14] Christensen, R. (1996) Analysis of Variance, Design, and Regression: Applied Statistical Methods. CRC Press.
[15] Christensen, R. (2018) Analysis of Variance, Design, and Regression: Linear Modeling for Unbalanced Data. Chapman and Hall/CRC.
[16] Horton, N.J. and Kleinman, K. (2015) Using R and RStudio for Data Management, Statistical Analysis, and Graphics. CRC Press.
[17] Nelder, J.A. and Wedderburn, R.W.M. (1972) Generalized Linear Models. Journal of the Royal Statistical Society. Series A (General), 135, 370-384.[CrossRef]
[18] Abraham, B. and Ledolter, J. (2006) Student Solutions Manual for Introduction to Regression Modeling. University of Iowa.
[19] Ricci, L. (2010) Adjusted-Squared Type Measure for Exponential Dispersion Models. Statistics & Probability Letters, 80, 1365-1368.[CrossRef]
[20] McNeil, K.A., Newman, I. and Kelly, F.J. (1996) Testing Research Hypotheses with the General Linear Model. SIU Press.
[21] Seber, G.A. (2015) The Linear Model and Hypothesis. Springer.
[22] Vik, P. (2013) Regression, Anova, and the General Linear Model: A Statistics Primer. SAGE Publications.
[23] Lin, D.Y., Wei, L.J. and Ying, Z. (2002) Model‐Checking Techniques Based on Cumulative Residuals. Biometrics, 58, 1-12.[CrossRef] [PubMed]
[24] Osborne, J.W. and Waters, E. (2002) Four Assumptions of Multiple Regression that Researchers Should Always Test. Practical Assessment, Research, and Evaluation, 8, Article 2.
[25] Lindsey, J.K. (2000) Applying Generalized Linear Models. Springer Science & Business Media.
[26] Farrar, D.E. and Glauber, R.R. (1967) Multicollinearity in Regression Analysis: The Problem Revisited. The Review of Economics and Statistics, 49, 92-107.[CrossRef]
[27] Neter, J., Wasserman, W. and Kutner, M.H. (1983) Applied Linear Regression Models. Richard D. Irwin.
[28] Rusakov, O.V., Laskin, M.B. and Jaksumbaeva, O.I. (2015) Stochastic Pricing Model for the Real Estate Market: Formation of Log-Normal General Population. Statistics and Economics, No. 5, 116-127.[CrossRef]
[29] Laskin, M.B. and Rusakov, O.V. (2023) Prediction of Distributions of Unit Prices for Real Estate Properties on the Basis of the Characteristics of Psi-Processes. Business Informatics, 17, 7-24.
[30] Onumadu, U., Iyelobu, M., Akinde, M., Savadogo, S. and Yessoufou, B. (2025) Applications of Probability Distributions in Real Estate Market Analysis Using Rental Prices and Transaction Data in Major US Cities. International Journal of Scientific Research in Information Technology, 12, 25-42.
[31] U.S. Department of Housing and Urban Development (2023) Worst Case Housing Needs: 2023 Report to Congress.
[32] Luca, S. (2023) Is Housing Price Distribution across Cities, Scale Invariant? Fractal Distribution of Settlements’ House Prices as Signature of Self-Organized Complexity. Chaos, Solitons & Fractals, 174, Article 113766.[CrossRef]

Copyright © 2026 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.