feds · March 22, 2026

Queuing, Service Time, and Price Dynamics in Residential Mortgage Lending

Abstract

Building on queuing theory, we develop and empirically validate a novel theoretical model of residential mortgage supply. Our model gives insight into how the stochastic arrival and sequential servicing of loan applications affect mortgage origination. The model provides closed-form predictions for lenders’ optimal response to changes in the level and price elasticity of mortgage demand. Using confidential HMDA data, we estimate that a one standard deviation increase in mortgage demand raises mortgage rate spreads by 3 to 8 basis points, loan quantities by 20 to 32 percent, and application processing times by 3 to 5 days. We also provide empirical evidence for the model prediction that a higher elasticity of mortgage demand moderates price increases due to demand shocks, which can limit lenders’ exploitation of their market power.

Finance and Economics Discussion Series Federal Reserve Board, Washington, D.C. ISSN 1936-2854 (Print) ISSN 2767-3898 (Online) Queuing, Service Time, and Price Dynamics in Residential Mortgage Lending Akos Horvath, Benjamin S. Kay 2026-017 Please cite this paper as: Horvath, Akos, and Benjamin S. Kay (2026). “Queuing, Service Time, and Price Dynamics in Residential Mortgage Lending,” Finance and Economics Discussion Series 2026-017. Washington: Board of Governors of the Federal Reserve System, https://doi.org/10.17016/FEDS.2026.017. NOTE: Staff working papers in the Finance and Economics Discussion Series (FEDS) are preliminary materials circulated to stimulate discussion and critical comment. The analysis and conclusions set forth are those of the authors and do not indicate concurrence by other members of the research staff or the Board of Governors. References in publications to the Finance and Economics Discussion Series (other than acknowledgement) should be cleared with the author(s) to protect the tentative character of these papers.

Queuing, Service Time, and Price Dynamics in ∗ Residential Mortgage Lending Akos Horvath Benjamin S. Kay Federal Reserve Board Federal Reserve Board March 2026 Abstract Building on queuing theory, we develop and empirically validate a novel theoretical model of residential mortgage supply. Our model gives insight into how the stochastic arrival and sequential servicing of loan applications affect mortgage origination. The model provides closedform predictions for lenders’ optimal response to changes in the level and price elasticity of mortgage demand. Using confidential HMDA data, we estimate that a one standard deviation increase in mortgage demand raises mortgage rate spreads by 3 to 8 basis points, loan quantities by 20 to 32 percent, and application processing times by 3 to 5 days. We also provide empirical evidence for the model prediction that a higher elasticity of mortgage demand moderates price increases due to demand shocks, which can limit lenders’ exploitation of their market power. ∗ We are grateful to Thomas Daula, John Driscoll, James Kahn, Daniel Ringo, Florent Rouxelin, as well as the participantsoftheWilliamandMaryRealEstateResearchSymposium,theBocaFinanceandRealEstateConference, and the Federal Reserve Applied Economics Brown Bag seminar for their helpful feedback on this paper. The views expressed in this paper are those of the authors and do not necessarily reflect the views of the Board of Governors of the Federal Reserve System. Email: akos.horvath@frb.gov and benjamin.s.kay@frb.gov. 1

1 Introduction Positive shocks to mortgage demand can cause a significant increase in lender markups because of capacity constraints (Scharfstein and Sunderam, 2016; Fuster, Lo and Willen, 2024).1 The empirical evidence for this effect is circumstantial: markups are higher at times when the aggregate quantity of mortgage applications is higher (Fuster et al., 2021; Fuster, Lo and Willen, 2024) or in counties with more concentrated mortgage markets (Scharfstein and Sunderam, 2016). However, the finance literature has not generally studied how individual mortgage lenders change their markups when they face capacity constraints. Our paper investigates three related questions. First, how do mortgage lenders adjust their rates when they experience a positive demand shock and their capacity is limited? Second, how does the equilibrium quantity of mortgages change because of the demand shock and the resulting lender rate adjustment? Third, how does the demand shock affect service quality, as measured by mortgage application processing times? We make two contributions to the finance literature. First, we introduce a novel structural model of mortgage lender capacity constraints. Second, we empirically identify the model’s parameters for mortgage demand and test its predictions at the individual lender level to study the effect of such capacity constraints on the U.S. residential mortgage market. Our findings speak to long-standing economic questions about the pass-through of interest rate cycles, the role of operational frictions in retail credit markets, and the micro-foundations of rate dispersion. In our structural model, we embed a stochastic (M/M/1) queuing model in a standard profitmaximization framework to capture the effect of lender capacity constraints on mortgage rates, quantities,andprocessingtimes. Inthemodel,queuelengthrepresentsoperationalcongestion,which directly affects borrower waiting times and indirectly affects borrower willingness to pay. To our knowledge, this is the first application of queuing theory to model residential mortgage demand. The model accommodates heterogeneity both across firms and over time while being tractable enough to yield closed-form expressions for optimal mortgage rates, quantities, and processing time as well as their sensitivities to changes in mortgage demand. In our empirical analysis, we apply our structural model at the lender level to investigate how observed mortgage outcomes change in response to variation in mortgage demand. We use loan-level data from the confidential Home Mortgage Disclosure Act collection, which includes application and origination dates, loan amounts and rates, and borrower characteristics. The analysis proceeds in two steps. In step one, we identify lender-specific mortgage demand curves by using shifts in mortgage-backed securities yields as an instrument. In step two, we use panel regressions to estimate how changes in the levels and slopes of these lender-specific demand curves affect equilibrium interest rates, quantities, and processing times in the residential mortgage market. 1 Such capacity markups have also been identified in other financial services, such as insurance, banking, and options markets (Gron, 1994; Aliaga-Dıaz and Olivero, 2007; Chen, Joslin and Ni, 2019). The effect is strong enough to have even macroeconomic implications (Menezes and Quiggin, 2022; Kuhn and George, 2019; Fagnart, Licandro and Sneessens, 1997). 2

We find that mortgage lenders respond to demand shocks consistent with the theoretical predictions of our model with capacity constraints. Specifically, we estimate that a one standard deviation increase in demand raises mortgage spreads by 3 to 8 basis points, increases loan quantities by 20 to 31 percent, and extends processing times by 3 to 5 days. These findings indicate that operational congestion, induced by demand shocks, causes lenders’ pricing power and processing delays. Our results provide microeconomic evidence for the capacity constraint channel suggested by aggregate patterns in prior work, confirming that demand shocks can induce variation in mortgage rates and service quality even at the lender level. We also find that borrower price sensitivity attenuates the increase in lender pricing power in response to demand shocks. Specifically, we estimate that a one standard deviation increase in the elasticity of mortgage demand reduces spreads by 0.7 to 2.4 basis points. Because demand shocks and elasticity are positively correlated in our analysis, this interaction moderates changes in mortgage rates. The estimated net effect of a positive demand shock, which accounts for this correlation, is a 1.3 to 7.5 basis point increase in mortgage spreads. These empirical results are consistent with market dynamics under imperfect competition, where firms face downward-sloping elastic demand curves, which gives them pricing power and the ability to adjust markups in response to both congestion and borrower behavior. Our regression estimates are robust across specifications (over a variety of fixed effects, controls, and quadratic terms), and their signs are in line with our theoretical model predictions. Importantly, the empirical results indicate that identification is primarily driven by time-series rather than cross-sectional variation, suggesting that macroeconomic factors, such as interest rate cycles, are key determinants of mortgage demand dynamics. Indeed, once we control for time fixed effects, the estimated effects on mortgage rates and processing times become insignificant, while the effect on mortgage quantity becomes stronger. This pattern highlights the limits of lender-specific pricing power in that it suggests that lenders have more pricing power at times when common shocks drive up mortgage demand across the market and borrowers have fewer outside options. Whilewefocusontheresidentialmortgagemarket, ourmethodologycanbeappliedmorebroadly to other markets in which firms face stochastic demand and limited processing capacity. Market settings such as small business lending, post-disaster reconstruction, commercial aviation, and semiconductor production often involve similar structural constraints, where service or production delays as well as prices are jointly affected by operational bottlenecks. Demonstrating how a queuing mechanism can be integrated into a structural model, we offer a flexible tool to analyze supply-side frictions in capacity-constrained industries. The paper is structured as follows. Section 2 introduces our theoretical model. Section 3 describes the data used in the empirical analysis. Section 4 describes our empirical methodology, and Section 5 presents the results. Section 6 concludes. 3

2 Structural model of mortgage supply and demand We model a mortgage lender’s decision and loan application processing pipeline using the M/M/1 queuing framework (see, e.g., Erlang (1909)). In this framework, the arrival of applications follows a Poisson process with rate λ, and the processing of applications follows a Poisson process with rate µ as a “single server” (the lender) processes one application at a time on a first-come-first-served basis with an unbounded pipeline.2 We model the stochastic mortgage applications by letting the quoted price p of mortgages determine the application arrival rate λ(p), which in turn specifies the expected demand curve: E[q(p)] = λ(p) = λ −ψ·p, (1) 0 where ψ ≥ 0 is the price sensitivity of applicants. The parameters λ and ψ provide a reduced-form 0 representation of the determinants of demand, such as amenities offered by the lender, competition from other lenders, as well as the applicant’s search and switching costs. Intuitively, a larger lender has higher arrival rate λ and higher service rate µ. Furthermore, although the slope parameter ψ 0 need not scale with lender size, similar semi-elasticities across firms are plausible. A single firm faces independent and identically distributed negative exponential waiting times between customers. This is equivalent to a Poisson arrival process for customers, which we model as governed by the parameter λ. A single lender serves mortgage applicants one at a time from the front of the queue, according to a first-come, first-served discipline.3 Service time is also independent and identically distributed exponentially, which we model as governed by the parameter µ, an exogenous firm characteristic. When the service is complete, the customer leaves the queue, and the number of customers in the system is reduced by one. There is no limit on the maximum number of customers a queue can contain (the buffer is infinite in size).4 Let N denote the number of applications in the system, either waiting or in service, at time t. t Conditioning on the quoted price p, {N } is a birth-death Markov chain with birth rate λ and t t≥0 death rate µ, with transition rate matrix Q on the state space {0,1,2,...}:   −λ λ 0 ··· 0 0  µ −(µ+λ) λ ··· 0 0       0 µ −(µ+λ) ··· 0 0  Q =    . . . . . . . . . ... . . . . . .    . (2)    0 0 0 ··· −(µ+λ) λ    0 0 0 ··· µ −µ 2 The “single server” is an abstraction of the lender’s application processing work—which includes, for example, verification and underwriting activities—and does not literally represent a single employee. Alternatively, one could use an M/M/c framework, with c being the number of servers. Such an approach would mainly differ from our model in the dispersion of the average processing time defined in Equation (3). 3 The discipline of a queue is the rule that determines the formation of a queue and the way in which a customer is selected for service from those waiting. Other possibilities include random selection for service, “last come, first served” (last in first out), and various methods of prioritizing customers (Peterson and Davie, 2024). 4 In practice, like in the line for checkout at a store, or the queue of processes for a CPU, there is a maximum buffer, though it may not bind in an economically meaningful way. 4

It follows that the average processing time (APT) of an application, which includes both waiting and service times, is: 1 APT = , (3) µ−λ which is finite if λ < µ.5 To our knowledge, our model is the first in the finance literature that applies the M/M/1 queuing framework to endogenize demand within a firm-level pricing model. While queuing models have been extensively used in the field of operations research, their economic application has been limited, with only a handful of articles in finance, operations research economics, and health care economics (Azriel, Feigin and Mandelbaum, 2019; Green, 2006; Cont, Stoikov and Talreja, 2010). Naor (1969) considers the welfare implications of imposing tolls on customers arriving at service facilities with M/M/1 queues. In contrast, we focus on the producer’s problem, rather than doing welfare analysis. More closely related to our work, Levy and Levy (1991) develop a model of mortgage origination to compare the revenue performance of rate lock and no-lock pricing regimes. Like our model, theirs uses the M/M/1 framework. However, their study is purely theoretical and focuses on the lender’s ability to adjust prices under different contractual commitments, whereas we investigate loan pricing, service quantities, and processing times. Their model omits production costs, assumes full price discrimination, and does not model borrower behavior: customers arrive at fixed rates that do not depend on quoted prices. In contrast, in our model, borrowers respond to both prices and, indirectly, processing delays via the lender’s cost function. Finally, Cowdrey et al. (2018) use the M/M/1 framework to simulate queuing strategies in a retail banking context. Their goal is to improve operational performance through alternative service scheduling rules and highlight the operational relevance of congestion, not to model loan pricing, demand, or the firm’s optimization problem. Their paper treats arrival rates and service rules as exogenous and focuses on queue efficiency, not economic behavior. 2.1 The lender’s profit-maximization problem In the queuing framework described above, the lender chooses a posted price p so as to maximize its profit on the expected quantity of loans implied by the arrival rate λ(p). Generally, p can encompass both upfront closing costs and interest rate components, such as the risk-free rate, the term premium, the prepayment premium, and the credit spread. In the empirical work in Section 5, we take p to be the primary–secondary mortgage spread, which includes the lender’s origination costs and markup.6 5 If average arrival times exceed average service times, the queue explodes and no stationary distribution exists. Therefore, in order to ensure that the model has a steady state, we assume that λ(p)<µ holds true. Appendix A presents an alternative model specification in which the lender has an objective function that endogenously leads to finite queue lengths and waiting times without this additional parametric assumption. 6 In the lender’s problem, considering the price to be the primary-secondary mortgage spread is a natural choice because this is the part of the mortgage rate that the lender can plausibly control and therefore seek to optimize. Crucially, however, this choice can be made without loss of generality, and it does not imply that mortgage demand, reflected by the arrival rate λ(p), is unaffected by yield curve shifts. Rather, such yield curve shifts are captured by the intercept parameter λ of the demand curve, specified in Equation (1). 0 5

The lender’s expected total revenue is: TR(p) = E[p·q(p) | p] = p·λ(p), (4) and the lender’s expected total cost is: TC(p) = E (cid:2) c·q(p)2+d·q(p)−e·(µ−q(p)) | p (cid:3) = (5) = c· (cid:0) λ(p)2+λ(p) (cid:1) +(d+e)·λ(p)−e·µ, where the expectation of the stochastic mortgage demand q is defined in Equation (1).7 We use a quadratic cost function that incorporates a linear penalty term for operating near capacity (i.e., when q(p) gets close to µ) because this functional form yields closed-form model predictions, which we can test in the empirical part of our analysis. The parameters d > 0 and c > 0 capture the baseline marginal origination costs and increasing marginal costs from staffing and overtime pressures as more loans arrive, respectively. The −e·(µ−q) term in the cost function captures the benefit of keeping a capacity buffer, which can be beneficial because it enables the lender to absorb positive demand shocks without delays in application processing. Such delays can be costly for the lender because they can lead to customer dissatisfaction, for example, through rate-lock violations. The penalty term can also be interpreted as a reduced-form approximation of the delay-related opportunity costs that arise in queuing environments, where expected response times increase rapidly as utilization rises.8 The lender’s expected profit is: Π(p) = TR(p)−TC(p) = p·λ(p)−c (cid:0) λ(p)2+λ(p) (cid:1) −d·λ(p)+e(µ−λ(p)) = (6) = −c(λ −ψ·p)2−(c+e+d−p)(λ −ψ·p)+e·µ. 0 0 As participation constraint, we impose the sign restriction: λ > ψ(c+d+e), (7) 0 which rules out the corner solution in which the optimal quantity is zero.9 Our model permits variation in quoted prices across lenders—a feature that typically depends on product differences or search frictions. As shown by Burdett and Judd (1983), even identical firms can sustain price dispersion when some consumers face search costs. Subsequent studies, including 7 These revenue and cost function specifications hold true even if some applications are rejected or withdrawn as long as approval and withdrawal rates are locally constant in the optimization range. If not all applications end in loanorigination,thenthelevelsoftherevenueandcostfunctionsshift,butthecomparativestaticsremainunchanged. 8 In Appendix A, we use an alternative cost function, replacing the linear penalty term with a “capacity wall” that generates logarithmically increasing costs as the system approaches full utilization. Under this alternative model specification, spare capacity appears explicitly in the lender’s first-order condition, which endogenously creates a preference for it. Nonetheless, these different model specifications yield qualitatively similar results. 9 This sign restriction follows from Equation (10) if ψ>0 and c,d,e>0 (which are natural assumptions for the demand slope and cost coefficients). The λ ≤ψ(c+d+e) case captures the lender’s exit from the market. 0 6

Wolinsky (1986) and Eeckhout and Kircher (2010), show that imperfect information or sorting across consumers can lead to persistent price differences in competitive markets. Although our model abstracts from these mechanisms, quoted loan prices affect application arrival rates, allowing for price sensitivity and variation across lenders. Because a firm that deviates from the market-clearing price still retains positive demand, our model accommodates price dispersion without requiring information frictions or strategic interactions. In our model, this dispersion arises as a result of pipeline congestion, because even under identical service technologies and demand functions, differences in quoted prices lead to differences in customer flow and queue length. 2.2 First-order condition and optimal price Differentiating the profit function in Equation (6) with respect to p and setting the derivative to zero yields the first-order condition:10,11 ∂Π (cid:0) (cid:1) (cid:0) (cid:1) = (2cψ+1) λ −ψp +ψ c+d+e−p = 0. (8) 0 ∂p Solving for the loan’s optimal quoted price results in: λ (1+2cψ)+ψ(c+d+e) p∗ = 0 , (9) 2ψ(1+cψ) which implies an optimal positive price under λ ,ψ > 0 and c,d,e > 0. 0 Substituting into Equation (1) yields the optimal average quantity: λ −ψ(c+d+e) λ(p∗) = 0 , (10) 2(1+cψ) which is positive under the participation constraint imposed in Equation (7). Additionally, as discussed at the beginning of Section 2, we assume that λ(p∗) < µ to ensure that expected waiting times are finite under optimal pricing. This assumption makes intuitive sense, as mortgage lenders typically have some spare capacity so that they can meet unanticipated demand shocks while maintaining service standards. Substituting into Equation (4) yields the lender’s optimal revenue: (cid:2) (cid:3)(cid:2) (cid:3) λ (2cψ+1)+(c+d+e)ψ λ −(c+d+e)ψ TR(p∗) = p∗·λ(p∗) = 0 0 . (11) (cid:0) (cid:1)2 4ψ cψ+1 10 Theprofitfunction’ssecondderivativeis ∂2Π =−2ψ−2cψ2 <0underψ>0andc,d,e>0,whichimpliesthat ∂p2 the solution maximizes profit. 11 This marginal cost function does not depend on spare capacity or include the service rate µ. Consequently, onthemargin,thelenderdoesnotinternalizehowpricingaffectswaitingtimes. Inouralternativemodelspecification presented in Appendix A, the lender’s marginal cost is a function of the average waiting time, which makes the lender endogenize this dynamic and thus also obviates the need for the assumption that λ(p)<µ. 7

Finally, substituting into Equation (3) yields the optimal average processing time: 1 2(cψ+1) APT(p∗) = = . (12) µ−λ(p∗) 2cµψ+(c+d+e)ψ−λ +2µ 0 2.3 Partial derivatives and (semi-)elasticities The closed-form solutions presented in Section 2.2 have closed-form sensitivities with respect to the underlying parameters. In our analysis, we focus on four key derivatives:12 ∂λ(p∗) 1 = > 0; (13) ∂λ 2(cψ+1) 0 (cid:0) (cid:1) ∂APT(p∗) 2 1+cψ = > 0; (14) ∂λ 0 (cid:0) 2µ−λ 0 +ψ(2cµ+c+d+e) (cid:1)2 ∂p∗ 2cψ+1 = > 0; (15) ∂λ 2ψ(cψ+1) 0 ∂p∗ 2c2λ ψ2+c(c+d+e)ψ2+2cλ ψ+λ 0 0 0 = − < 0, (16) ∂ψ 2ψ2 (cid:0) 1+cψ (cid:1)2 where the corresponding signs apply under λ ,ψ > 0 and c,d,e > 0 as well as the participation 0 constraint imposed in Equation (7). For the purposes of our empirical analysis, we express these derivatives as (semi-)elasticities. The elasticity of the optimal flow with respect to the demand-intercept parameter λ (i.e., the 0 baseline arrival rate) is: ∂λ λ λ 0 0 ε ≡ · = > 0. λ,λ0 ∂λ λ λ −(c+d+e)ψ 0 0 The elasticity of average processing time with respect to λ is: 0 ∂APT λ λ 0 0 ε ≡ · = > 0. APT,λ0 ∂λ APT −λ +2µ(cψ+1)+(c+d+e)ψ 0 0 The semi-elasticity of the optimal price with respect to λ is: 0 ∂p∗ 2cψ+1 semi-ε ≡ ·λ = ·λ > 0, p∗,λ0 ∂λ 0 2ψ(cψ+1) 0 0 and the semi-elasticity of price with respect to the demand-slope parameter ψ is: ∂p∗ 2c2λ ψ2+c(c+d+e)ψ2+2cλ ψ+λ 0 0 0 semi-ε ≡ ·ψ = − < 0, p∗,ψ ∂ψ 2ψ(cψ+1)2 12 We report the full set of derivatives in Appendix B. 8

The signs of these (semi-)elasticities follows from the signs of the corresponding partial derivatives. In the rest of our paper, we empirically confirm the signs and estimate the magnitudes of these relevant elasticities, using the data in Section 3 and applying the methodology in Section 4. 3 Data In our empirical analysis, we utilize loan-level information from the confidential Home Mortgage Disclosure Act (HMDA) collection. The HMDA mandates that all but the smallest mortgage lenders report data on residential mortgage applications and originations.13 Importantly, in contrast to the publicly available HMDA collection, the confidential collection includes the exact dates of mortgage applications and lender decisions as well as a set of applicant and loan characteristics, such as credit scores and interest rates on originated loans. This enhanced data granularity is crucial for our empirical analysis because it enables us to measure mortgage rates and processing times as well as to control for borrower and loan characteristics in our regressions. Our sample contains every conventional, first-lien, single-family mortgage application reported in the HMDA collection between 2018 and 2023, including approvals, withdrawals, and rejections. The sample begins in 2018 because the confidential HMDA collection does not have precise interest rate information on originated loans before that. Furthermore, we include only “purchase” and “refinance” loans and exclude “home improvement” loans because the latter are scarce and may have unique demand dynamics.14 Altogether, our sample consists of about 41 million mortgage applications, out of which about 35 million ended in loan originations. We augment the information in the HMDA collection in two ways. First, from the data platform of ICE Data Indices, LLC, we use the average effective yield on agency residential mortgage-backed securities to measure the level of yields in the secondary mortgage market. Specifically, we use the dollar-weighted average of the effective yields on securities included in the ICE BofA indexes MFNC and MGNC, which track outstanding current-coupon agency mortgage-backed securities with 15-year and 30-year fixed-rate residential mortgage pools.15 Second, we add the legal names and entity types of mortgage lenders from the dataset constructed by Robert Avery.16 4 Empirical methodology Our empirical analysis proceeds in two stages. First, we use variation in mortgage applications and interest rates over time to identify lender-specific mortgage demand curves (Section 4.1). Specifically, we estimate the empirical counterparts of the baseline (level) parameter λ and the price sensitivity 0 13 Submissionsaregenerallymandatoryforlendersthatextendedatleast100closed-endmortgageloansineachof thetwoprecedingcalendaryears. SeetheConsumerFinancialProtectionBureau’sflowchartforadetaileddescription of HMDA reporting requirements. 14 Home improvement loans account for only a small (about 3%) share of the HMDA data in our sample period. 15 ICE BofA indexes MFNC and MGNC are products of ICE Data Indices, LLC (ICE Data) and are used with permission. ICE is a registered trademark of ICE Data or its affiliates. 16 The dataset constructed by Robert Avery is described and accessible at https://www.philadelphiafed.org/ surveys-and-data/consumer-finance-data/home-mortgage-disclosure-act-lender-file. 9

(slope) parameter ψ of the mortgage demand curve in the structural model introduced in Section 2. Second, we exploit variation in these parameter estimates to study how changes in the levels and slopes of these lender-specific demand curves affect equilibrium interest rates, quantities, and processing times in the residential mortgage market (Section 4.2). 4.1 Estimating the parameters of lender-specific mortgage demand We estimate the empirical counterpart of the expected mortgage demand curve used in the structural model introduced in Section 2. The demand curve takes the form λ = λ −ψ·p at the individual 0 lender level, where λ is the arrival rate of mortgage applications, p is the price of mortgage loans, and λ and ψ are the level and slope parameters of the demand curve, respectively. In order to 0 study the effect of variation in mortgage demand in the second stage of our empirical analysis, we need to let the level and slope parameters vary across lenders and over time. Accordingly, in the first stage of our analysis, we generalize the above mortgage demand curve to multiple lenders, geographical areas, and periods, and use the empirical equation: q(l,s,m) = λ (l,s,m)−ψ(l,m)·p(l,s,m)+ε˜(l,s,m), (17) 0 where q(l,s,m) is the observed number of mortgage applications submitted to lender l in state s in year-month m, p(l,s,m) is the average primary-secondary mortgage rate spread on mortgage loans originated by lender l in state s in year-month m.17 The coefficients λ (l,s,m) and ψ(l,m) 0 represent the lender-state-month-specific level and lender-month-specific slope parameters of the demand curve, respectively, and ε˜(l,s,m) is the error term. We estimate the demand parameters λ (l,s,m) and ψ(l,m) by first standardizing the empirical 0 demand equation and then using shifts in mortgage supply induced by weakly exogenous variation in the cost of mortgages to identify the parameters. Specifically, we apply the following affine transformation to the empirical demand equation: q(l,s,m)−A(l,m) λ (l,s,m)−A(l,m) ψ(l,m) ε˜(l,s,m) 0 = − ·p(l,s,m)+ , (18) B(l,m) B(l,m) B(l,m) B(l,m) (cid:124) (cid:123)(cid:122) (cid:125) (cid:124) (cid:123)(cid:122) (cid:125) (cid:124) (cid:123)(cid:122) (cid:125) L(l,s,m) L0(l,s,m) ε(l,s,m) where A(l,m) and B(l,m) are the sample mean and standard deviation of application volume for lender l in the specific calendar month of year-month m across all states, respectively, and L denotes standardized mortgage demand.18 Substituting in the definition of p(l,s,m), which is the mortgage rate spread, further yields ψ(l,m) L(l,s,m) = L (l,s,m)−[r(l,s,m)−AMBS(m)]· +ε(l,s,m), (19) 0 B(l,m) 17 We construe the primary-secondary mortgage rate spread as the difference between the mortgage loan rate and the effective yield on agency mortgage-backed securities in the secondary market, defined in Section 3. 18 By letting the mean and standard deviation of applications vary across calendar months within each lender, we allow for seasonality of mortgage applications at the individual lender level. 10

where r(l,s,m) is the average mortgage rate on loans originated by lender l in state s in yearmonth m, and AMBS(m) is the effective yield on agency residential mortgage-backed securities in year-month m, defined in Section 3. It follows from Equation (19) that the standardized mortgage demand curve, expressed as a function of the mortgage rate, is (cid:20) (cid:21) ψ(l,m) ψ(l,m) L(l,s,m) = L (l,s,m)+AMBS(m)· −r(l,s,m)· +ε(l,s,m), (20) 0 B(l,m) B(l,m) (cid:124) (cid:123)(cid:122) (cid:125) (cid:124) (cid:123)(cid:122) (cid:125) α(l,s,m) β(l,m) where α and β are the level and slope parameters of the standardized demand curve, respectively. Hence, the functional relationships between the parameters of the original and standardized demand curves are λ (l,s,m) = A(l,m)+B(l,m)·[α(l,s,m)−AMBS(m)·β(l,m)] and 0 (21) ψ(l,m) = B(l,m)·β(l,m). We employ a panel instrumental variable regression model to identify the level and slope parameters of the transformed demand curve specified in Equation (20). Specifically, because the interest rate r(l,s,m) and the standardized number of mortgage applications L(l,s,m) are jointly determined in equilibrium, we use AMBS(m−1), the one-month lag of the effective yield on agency residential mortgage-backed securities, as an instrument for r(l,s,m).19 In line with the econometric discussion in Angrist and Krueger (2001), we argue that aggregate shifts in secondary market yields in year-month (m−1) constitute weakly exogenous (i.e., pre-determined) cost shocks for lenders in year-month m, which induce shifts in their individual loan supply curves. Our identification strategy uses this variation in the individual loan supply curve to identify the parameters of the individual loan demand curve. Finally, applying Equation (21), we use A(l,m) and B(l,m) as well as the regression coefficient estimates α (cid:98) (l,s,m) and β(cid:98)(l,m) to calculate the mortgage demand curve parameter estimates λ(cid:98)0 (l,s,m) and ψ(cid:98)(l,m) used in the next stage of the empirical analysis. Section 5 presents summary statistics for the parameter estimates. 4.2 Studying the effect of variation in lender-specific mortgage demand We use the demand parameters estimated in Section 4 to investigate how variation in lender-specific demand affects equilibrium mortgage rate spreads, application volumes, and application processing 19 First-stage diagnostics indicate that AMBS(m−1) is a relevant instrument for r(l,s,m) with and without controlling for lender-state-month fixed effects. In the first stage, the pass-through coefficient on AMBS(m−1) is 0.96, with p<0.001, consistent with a near one-for-one mapping from secondary-market yields to primary-market pricing. Sanderson–Windmeijer and Stock–Yogo partial-F statistics comfortably exceed conventional weak-instrument thresholds with p < 0.001. Additionally, the instrument also satisfies the exclusion restriction because mortgage supply–demand dynamics at the individual lender level arguably do not drive aggregate shifts, and especially lagged aggregate shifts, in secondary-market yields. 11

times. In particular, we consider the four partial derivatives introduced in Section 2.3: ∂λ(p∗) ∂APT(p∗) ∂p∗ ∂p∗ , , , and , ∂λ ∂λ ∂λ ∂ψ 0 0 0 for which our structural model yields closed-form expressions. These quantify, respectively, the sensitivity of the number of applications, application processing times, and the mortgage rate spread to the level parameter λ of the mortgage demand curve as well as the sensitivity of the mortgage 0 rate spread to the slope parameter ψ of the mortgage demand curve. To quantify the empirical magnitudes of the above derivatives, we aggregate our data to the lender-state-month level and estimate regressions of the form: y(l,s,m)=a(l,s)+b·log(λ(cid:98)0 (l,s,m))+c·log(λ(cid:98)0 (l,s,m))2+ddd⊤xxx(l,s,m)+ε(l,s,m), and (22) y(l,s,m)=a(l,s)+b·log(ψ(cid:98)(l,m))+c·log(ψ(cid:98)(l,m))2+ddd⊤xxx(l,s,m)+ε(l,s,m), where l, s, and m index lenders, states, and year-months, respectively. The dependent variable y(l,s,m) is the logarithm of the number of applications, the logarithm of the average application processing time, or the average mortgage rate spread for lender l in state s and year-month m. Depending on the specific partial derivative under examination, the regression model includes the quadratic polynomial of the logarithm of the estimated mortgage demand level parameter λ(cid:98)0 (l,s,m) or the estimated mortgage demand slope parameter ψ(cid:98)(l,m). Control variable vector xxx includes loan and borrower characteristics aggregated at the lenderstate-month level. Specifically, we control for the interaction of the loan purpose indicator’s percent share and the jumbo loan indicator’s percent share as well as the triple-interaction of the loan-to-value (LTV) ratio quartile indicator’s percent share, the borrower’s FICO score quartile indicator’s percent share, and the borrower’s debt-to-income (DTI) ratio tercile indicator’s percent share.20 Additionally, we include lender-state fixed effects, denoted by a(l,s), to control for potential unobserved confounding factors across lender-states.21 Our panel regression model, as specified in Equation (22), captures the effect of variation in lender-specific demand curves on equilibrium interest rates, quantities, and processing times while putting equal weights on all lenders, states, and year-months. Although the resulting estimates are representative of a randomly chosen lender, state, and point in time, we recognize that residential mortgage lending activity is not equally distributed across lenders, states, and year-months. Hence, partly as a robustness test, we also apply our regression model by weighting lender-state-month cells in our aggregated dataset according to the number of mortgage applications, thereby producing estimates that are representative of a typical residential mortgage loan. Finally, we also estimate all regression specifications by instrumenting for the logarithms of parameter estimates log(λ(cid:98)0 ) and log(ψ(cid:98)) using their one-month-lagged values to address potential 20 In our sample, loan purpose can be “purchase” or “refinance”, implying that the interaction of the loan purpose and jumbo loan indicators results in (2×2=) 4 possible purpose-jumbo groups whose percent share we include in the regression. Similarly,thetriple-interactionofLTVratioquartile,FICOscorequartile,andDTIratiotercileindicators results in (4×4×3=) 48 possible LTV-FICO-DTI groups whose percent share we include in the regression. 21 Inalternativeregressionspecifications,weuselender,state,andyear-monthfixedeffectstocontrolforunobserved confounding factors across lenders, states, and over time. 12

concerns about endogeneity due to backwards causation. In particular, one could argue that the outcome variables in Equation (22), such as mortgage rate spreads, influence the lender-specific mortgage demand curves, whose parameters in turn are used as explanatory variables. Therefore, we use the lagged parameter estimates as instruments, which are pre-determined and thus satisfy the exclusion restriction. These lagged instruments are also relevant and valid because of the strong autocorrelations of the structural parameter estimates.22 5 Empirical results Table 1 shows summary statistics for the variables used in our empirical analysis, calculated using the dataset aggregated to the lender-state-month level. The variables are the following: the number of loan applications (q); the level (λ ) and slope (ψ) parameters of the lender-specific demand curves 0 estimated in the first stage of the analysis (Section 4.1); the application processing time (APT); and the mortgage rate spread (p∗) on originated loans.23 Table 1: Summary statistics of structural parameter estimates Mean σ σ σ p10 p25 p50 p75 p90 l,s l,s,t q 42.4 211.3 1.0 2.0 6.0 25.0 136.1 log(q) 2.0 1.7 0.0 0.7 1.8 3.2 4.4 λ 64.4 206.4 2.6 8.0 21.5 54.3 136.1 0 log(λ ) 3.2 1.4 0.6 0.8 1.4 2.3 3.2 4.1 5.0 0 ψ 15.9 34.7 1.3 3.1 6.8 17.4 34.5 log(ψ) 1.9 1.3 0.2 0.2 0.2 1.1 1.9 2.7 3.6 APT 50.8 32.3 27.9 34.5 43.5 57.0 77.2 log(APT) 3.8 0.5 3.3 3.5 3.8 4.0 4.3 p∗ 1.4 0.7 0.8 1.1 1.4 1.7 2.0 This table reports the mean, standard deviation (σ), and selected percentiles for each variable. σ is the standard deviation conditional on lender-state fixed effects. l,s σ is the standard deviation conditional on lender-state-month fixed effects. l,s,t We now turn to the second stage of our empirical analysis, which uses the panel regressions specified in Equation (22) to estimate the sensitivity of the number of applications, application processing times, and mortgage rate spreads to the level parameter λ of the mortgage demand 0 curve, as well as the sensitivity of the mortgage rate spread to the slope parameter ψ of the mortgage demand curve. These sensitivity estimates give us insight into the empirical magnitudes of the related partial derivatives implied by our structural model, discussed in Section 2.3. Table 2 shows the estimates for the sensitivity of the number of applications to the level parameterλ ofthemortgagedemandcurve, whichisrelatedtothepartialderivativeinEquation13. 0 We focus on specifications (4) and (5), which do not include time fixed effects.24 Identification 22 The sample autocorrelations of log(λ(cid:98)0 ) and log(ψ(cid:98)) within states are 0.98 and 0.99, respectively. 23 For notational simplicity, we suppress the “hats” on the parameter estimates in this section. 24 Appendix C presents results from additional regression model specifications and robustness tests. 13

in these regressions comes from variation within lender-state cells over time. At the end of this section, we discuss specifications (8) and (9), which include lender, state, and time fixed effects. We estimate that the elasticity of the number of applications to λ is 0.338–0.545 across the two 0 specifications and two weighting methods. Table 1 shows that the sample standard deviation of log(λ ) within lender-state cells is 60 percent, and thus our estimates imply that a one standard 0 deviation log-shock to λ causes a 20 to 32 percent change in the number of applications. 0 Table 2: Estimated effect of log(λ ) on the logarithm of the number of applications 0 (4) (5) (8) (9) Unweighted Log of λ 0.511∗∗∗ 0.460∗∗∗ 1.240∗∗∗ 1.313∗∗∗ 0 Number of Observations 909,066 745,727 910,186 748,923 Adjusted R2 0.85 0.84 0.74 0.70 Adjusted Within R2 0.18 0.15 0.57 0.50 Weighted Log of λ 0.338∗∗∗ 0.545∗∗∗ 1.107∗∗∗ 1.247∗∗∗ 0 Number of Observations 41,329,108 40,630,549 41,330,137 40,633,091 Adjusted R2 0.96 0.78 0.93 0.63 Adjusted Within R2 0.54 0.54 0.68 0.68 Lender Fixed Effect x x State Fixed Effect x x Lender × State Fixed Effect x x State × Purpose × Jumbo Controls x x x x FICO × LTV × DTI Controls x x x x Time (Monthly) Fixed Effect x x Quadratic Specification x x Lagged IV Estimate x x Standard error estimates are robust to heteroskedasticity (White, 1980). The reason that the estimated effect on the number of applications is less than the 60 percent shock to λ is likely the lender’s pricing power. Indeed, in response to positive demand shocks, 0 lenders can raise prices, thereby discouraging some borrowers from applying but raising revenues per borrower. Table 3 shows the estimates for the sensitivity of the mortgage rate spread (in percentage points) to the level parameter λ of the mortgage demand curve, which is related to the partial 0 derivative in Equation 15. We continue to focus on specifications (4) and (5), estimating that the semi-elasticity of the spread to λ is 0.055 to 0.134 across the two specifications and two weighting 0 methods. The 60 percent demand shock increases spreads by 3 to 8 basis points, which deters some of the potential borrowers from applying. This effect captures both the price sensitivity of borrowers and their option to return during less busy times as well as to forgo borrowing entirely. Table 4 shows the estimates for the sensitivity of the application processing time to the level parameterλ ofthemortgagedemandcurve, whichisrelatedtothepartialderivativeinEquation14. 0 We continue to focus on specifications (4) and (5), estimating that the elasticity of the application 14

Table 3: Estimated effect of log(λ ) on the interest rate spread (%) 0 (4) (5) (8) (9) Unweighted Log of λ 0.107∗∗∗ 0.127∗∗∗ 0.006∗∗∗ 0.007∗∗∗ 0 Number of Observations 909,066 745,727 910,186 748,923 Adjusted R2 0.56 0.59 0.59 0.62 Adjusted Within R2 0.04 0.01 0.06 0.06 Weighted Log of λ 0.055∗∗∗ 0.134∗∗∗ −0.002∗∗∗ 0.003∗∗∗ 0 Number of Observations 41,329,108 40,630,549 41,330,137 40,633,091 Adjusted R2 0.52 0.52 0.68 0.58 Adjusted Within R2 0.07 0.07 0.11 0.11 Lender Fixed Effect x x State Fixed Effect x x Lender × State Fixed Effect x x State × Purpose × Jumbo Controls x x x x FICO × LTV × DTI Controls x x x x Time (Monthly) Fixed Effect x x Quadratic Specification x x Lagged IV Estimate x x Standard error estimates are robust to heteroskedasticity (White, 1980). processing time to λ is 0.103 to 0.179. This regression estimate implies that a lender experiencing 0 a one standard deviation log-shock to λ of 60 percent raises application processing times by 6 to 0 10 percent. Since it takes lenders, on average, 50.8 days to reach a decision (Table 1), this effect increases processing times by about 3 to 5 days. Most residential mortgages include a rate lock that guarantees the interest rate for a fixed period: McMurray and Thomson (1997) estimate an average of about 46 days, and Consumer Financial Protection Bureau (2023) documents standard 30-, 45-, and 60-day locks. Therefore, the estimated effect on processing times is economically meaningful, yet not large enough to induce systematic rate-lock violations. Table 5 shows the estimates for the sensitivity of the mortgage rate spread to the slope parameter ψ of the mortgage demand curve, which is related to the partial derivative in Equation 16. Wecontinuetofocusonspecifications(4)and(5), estimatingthatthesemi-elasticityofthemortgage rate spread to ψ is −0.032 to −0.107. Table 1 shows that the sample standard deviation of log(ψ) within lender-state cells is 20 percent, and thus our sensitivity estimates imply that a one standard deviation log-shock to ψ decreases spreads by 0.6 to 2.1 basis points. However, because shocks to λ 0 arecorrelatedwithshockstoψ, thetotaleffectofaonestandarddeviationlog-shocktoλ , combined 0 with a ρ·σ log-shock to ψ, would be a σ ·∂p∗/∂log(λ )+ρ·σ ·∂p∗/∂log(ψ) change in spreads. ψ λ0 0 ψ The sample correlation between log(λ ) and log(ψ) is about 0.7, and thus the total estimated change 0 inspreadsis(0.6·(0.055)+0.7·0.2·(−0.107)) ≈ +1.8to(0.6·(0.127)+0.7·0.2·(−0.050)) ≈ +6.9basis 15

Table 4: Estimated effect of log(λ ) on the logarithm of the average processing time 0 (4) (5) (8) (9) Unweighted Log of λ 0.144∗∗∗ 0.155∗∗∗ 0.022∗∗∗ 0.022∗∗∗ 0 Number of Observations 908,860 745,599 909,988 748,797 Adjusted R2 0.40 0.47 0.38 0.44 Adjusted Within R2 0.09 0.07 0.02 0.01 Weighted Log of λ 0.103∗∗∗ 0.179∗∗∗ 0.021∗∗∗ 0.005∗∗∗ 0 Number of Observations 41,328,476 40,630,038 41,329,512 40,632,582 Adjusted R2 0.70 0.37 0.71 0.40 Adjusted Within R2 0.26 0.27 0.04 0.05 Lender Fixed Effect x x State Fixed Effect x x Lender × State Fixed Effect x x State × Purpose × Jumbo Controls x x x x FICO × LTV × DTI Controls x x x x Time (Monthly) Fixed Effect x x Quadratic Specification x x Lagged IV Estimate x x Standard error estimates are robust to heteroskedasticity (White, 1980). points.25 These estimates suggest that even a two standard deviation shock to the lender-specific demandcurveswouldaccountforonlyafractionoftheaggregatedispersioninmortgageratespreads estimated in the literature. For example, Bhutta, Fuster and Hizmo (2020) find that identical mortgages loans, in the same market, on the same day, have a 10th to 90th percentile rate dispersion of 54 basis points for identical loans in the same market on the same day. Overall, the empirical results are consistent with our structural model. First, the signs of the partial derivative estimates match model predictions. Second, the magnitudes of the estimated effects are plausible. In particular, the model-implied variation in mortgage pricing is in line with the total variation in mortgage pricing implied by the empirical estimates. The estimated effect on average processing times is also reasonable. Moreover, as an indication of robustness, the instrumental variable specifications (5) and (9) produce similar, and even slightly stronger, results as the ordinary least squares specifications (4) and (8), which allays potential concerns about endogeneity bias due to backward causation in our regression model. One notable caveat to our empirical results is that identification is mostly based on temporal, rather than cross-sectional, variation. This can be seen from regression specifications 8 and 9 in Tables 2 through 4, which also include time fixed effects. We find that once fixed effects are included, the estimated effects generally remain statistically significant and have signs consistent with the 25 This calculation uses estimates for ∂p∗/∂log(λ ) and ∂p∗/∂log(ψ) from corresponding regression specifications. 0 16

Table 5: Estimated effect of log of ψ on the mortgage rate spread (%) (4) (5) (8) (9) Unweighted Log of ψ −0.032∗∗∗ −0.050∗∗∗ −0.047∗∗∗ −0.099∗∗∗ Number of Observations 956,002 776,712 956,789 779,923 Adjusted R2 0.54 0.58 0.58 0.61 Adjusted Within R2 0.03 −0.00 0.06 0.06 Weighted Log of ψ −0.107∗∗∗ −0.095∗∗∗ −0.081∗∗∗ −0.149∗∗∗ Number of Observations 41,540,204 40,832,047 41,540,913 40,834,613 Adjusted R2 0.52 0.50 0.67 0.57 Adjusted Within R2 0.07 0.08 0.11 0.11 Lender Fixed Effect x x State Fixed Effect x x Lender × State Fixed Effect x x State × Purpose × Jumbo Controls x x x x FICO × LTV × DTI Controls x x x x Time (Monthly) Fixed Effect x x Quadratic Specification x x Lagged IV Estimate x x Standard error estimates are robust to heteroskedasticity (White, 1980). structural model, but their economic significance decreases meaningfully. This pattern suggests that our identification mostly exploits common, rather than idiosyncratic, shocks to lender-specific mortgage demand curves, which induce variation within lenders over time. This finding is not surprising because lender-specific demand curves have a strong common component, driven by monetary policy and other macroeconomic factors, while the effects of idiosyncratic shocks are likely attenuated by the mechanism that borrowers can avoid higher interest rates and longer waiting times by shopping across and switching between lenders. 6 Conclusion In this paper, we introduce and empirically test a novel structural model of the individual mortgage lender with pricing power in which mortgage applications arrive and are processed at stochastic time intervals on a first-come-first-served basis. Leveraging loan-level information in the confidential HMDA dataset, we investigate how application volumes, mortgage rate spreads, and processing times change in response to fluctuations in lender-specific mortgage demand. Our empirical results confirm several key predictions of our structural model. First, increases in demand significantly raise mortgage rate spreads, application volumes, and application processing times. A one standard deviation increase in mortgage demand leads to 3 to 8 basis points higher spreads,approximately20to32percenthigherapplicationvolumes,and3to5dayslongerprocessing 17

times. Theseresultshighlightthetrade-offsfacedbymortgagelendersinperiodsofelevateddemand, inwhichlendersbalancemortgagerateincreases,higherapplicationvolumes,andtheriskofborrower dissatisfaction due to prolonged delays. Additionally, our analysis highlights the importance of the interest rate sensitivity of mortgage demand, which mitigates the first-order effect of demand shocks on mortgage rates. We observe a positive empirical correlation between the level and interest rate sensitivity of mortgage demand. Because higher interest rate sensitivity puts downward pressure on mortgage rates, it partially offsets the upward pressure on mortgage rates from positive demand shocks. Combining queuing theory, structural modeling, and econometric analysis, our work gives novel theoretical and empirical insights into equilibrium mortgage market dynamics as well as the pricing decisions of individual mortgage lenders in response to demand shocks. These insights not only deepen the economic comprehension of capacity constraints but also have practical implications for lenders and policymakers seeking to improve market efficiency and consumer outcomes in the residential mortgage market. 18

References Aliaga-Dıaz, Roger, and Marıa Pıa Olivero. 2007. “Macroeconomic Implications of Market Power in Banking.” Citeseer. Angrist, Joshua D, and Alan B Krueger. 2001. “Instrumental variables and the search for identification: From supply and demand to natural experiments.” Journal of Economic perspectives, 15(4): 69–85. Azriel, David, Paul D Feigin, and Avishai Mandelbaum. 2019. “Erlang-S: A data-based model of servers in queueing networks.” Management Science, 65(10): 4607–4635. Bhutta, Neil, Andreas Fuster, and Aurel Hizmo. 2020. “Paying too much? Price dispersion in the US mortgage market.” Federal Reserve Board. Burdett, Kenneth, and Kenneth L Judd. 1983. “Equilibrium price dispersion.” Econometrica: Journal of the Econometric Society, 955–969. Chen, Hui, Scott Joslin, and Sophie Xiaoyan Ni. 2019. “Demand for crash insurance, intermediary constraints, and risk premia in financial markets.” The Review of Financial Studies, 32(1): 228–265. ConsumerFinancialProtectionBureau.2023.“What’salock-inoraratelockonamortgage?” Accessed: March 13, 2025. Cont, Rama, Sasha Stoikov, and Ram Talreja. 2010. “A Stochastic Model for Order Book Dynamics.” Operations Research, 58(3): 549–563. Cowdrey, Kevin WG, Jaco de Lange, Reza Malekian, Johan Wanneburg, and Arun Cyril Jose. 2018. “Applying queueing theory for the optimization of a banking model.” Journal of Internet Technology, 19(2): 381–389. Eeckhout, Jan, and Philipp Kircher. 2010. “Sorting and decentralized price competition.” Econometrica, 78(2): 539–574. Erlang, Agner Krarup. 1909. “The Theory of Probabilities and Telephone Conversations.” Nyt Tidsskrift for Matematik, 20: 33–39. Fagnart, Jean-Fran¸cois, Omar Licandro, and Henri R Sneessens. 1997. “Capacity utilization and market power.” Journal of Economic Dynamics and Control, 22(1): 123–140. Fuster, Andreas, Aurel Hizmo, Lauren Lambie-Hanson, James Vickery, and Paul S Willen. 2021. “How resilient is mortgage credit supply? Evidence from the COVID-19 pandemic.” National Bureau of Economic Research. Fuster, Andreas, Stephanie H Lo, and Paul S Willen. 2024. “The time-varying price of financial intermediation in the mortgage market.” The Journal of Finance, 79(4): 2553–2602. Green, Lawrence V. 2006. “Queueing Analysis in Healthcare.” In Patient Flow: Reducing Delay in Healthcare Delivery. 281–307. Springer. Gron, Anne. 1994. “Capacity constraints and cycles in property-casualty insurance markets.” The RAND Journal of Economics, 110–127. 19

Kuhn, Florian, and Chacko George. 2019. “Business cycle implications of capacity constraints under demand shocks.” Review of Economic Dynamics, 32: 94–121. Levy, Anat, and Hanoch Levy. 1991. “Lock and no-lock mortgage plans: is it only a matter of risk shifting?” Operations research letters, 10(4): 233–240. McMurray, John, and Thomas Thomson. 1997. “Determinants of the closing probability of residential mortgage applications.” Journal of Real Estate Research, 14(1): 55–64. Menezes, Flavio M., and John Quiggin. 2022. “Market power amplifies the price effects of demand shocks.” Economics Letters, 221: 110908. Naor,Pinhas.1969.“Theregulationofqueuesizebylevyingtolls.”Econometrica: journaloftheEconometric Society, 15–24. Peterson, Larry, and Bruce Davie. 2024. “Queuing Disciplines.” In Computer Networks: A Systems Approach. Chapter 6.2. No Publisher. Accessed March 24, 2025. Scharfstein, David, and Adi Sunderam. 2016. “Market power in mortgage lending and the transmission of monetary policy.” Unpublished working paper. Harvard University, 2. White, Halbert. 1980. “A heteroskedasticity-consistent covariance matrix estimator and a direct test for heteroskedasticity.” Econometrica: journal of the Econometric Society, 817–838. Wolinsky, Asher.1986.“Truemonopolisticcompetitionasaresultofimperfectinformation.”The Quarterly Journal of Economics, 101(3): 493–511. 20

A Alternative cost function specification We explore how a variation on the lender’s total cost function affects the baseline results. Specifically, keeping the baseline model in Section 2 unchanged, we use an alternative (logarithmic, rather than quadratic) cost function specification, which endogenously generates a preference for capacity slack. A.1 Alternative cost function We model the lender’s cost function over the planning horizon as depending on the expected arrival rate λ relative to service capacity µ. We specify the expected total cost function such that it captures two essential featuresofqueuingdynamics: convexity of costsinvolumeandanasymptotic cost penaltyasutilization approaches capacity: (cid:0) (cid:1) TC(λ,µ)=dλ−cln µ−λ , (23) where d > 0 is the baseline marginal cost of mortgage origination, and c > 0 is the sensitivity of costs to capacity constraints. As λ approaches µ, the term ln(µ−λ) diverges to negative infinity, so TC(λ,µ) imposes an infinite penalty on a lender operating with no slack. This captures the severe opportunity costs, such as overtime wages, error correction, and reputation loss, incurred when operating arbitrarily close to capacity and where customers face extremely long expected response times. Similar to the quadratic cost function used in Equation (5), the logarithmic cost function implies convex, increasing marginal costs in λ. Specifically, the marginal cost of production is ∂TC c =MC(λ)=d+ , (24) ∂λ µ−λ and the second derivative is ∂2TC c = , (25) ∂λ2 (µ−λ)2 which is positive for 0<λ<µ. This marginal cost function is closely linked to system congestion, which can be seen by substituting for average processing time (APT), defined earlier in Equation (3). This yields MC(λ)=d+c·APT, (26) which implies a direct link between the lender’s pricing problem and average processing time, the canonical measure of congestion in the queuing literature. A.2 The lender’s profit maximization under the alternative cost function We solve the lender’s profit maximization problem described in Section 2.1 under the alternative cost function specified in Equation (23). Substituting the logarithmic cost function yields the profit function: (cid:104) (cid:0) (cid:1)(cid:105) Π(p)=p·λ(p)− d·λ(p)−cln µ−λ(p) . 21

Using this profit function and the notation introduced in Section 2, we derive the closed-form solution as follows: (0) Arrival rate: λ(p)=λ −ψp, (27) 0 1 (0’) Response time: APT(p)= , (28) µ−λ(p) (cid:0) (cid:1) (1) Total cost function: TC(λ)=dλ−cln µ−λ , (29) (1’) Production domain: 0<λ<µ, (30) (cid:0) (cid:1) C(p)=dλ(p)−cln µ−λ(p) , (31) (cid:0) (cid:1) (2) Profit function: Π(p)=pλ(p)−C λ(p) (32) (cid:0) (cid:1) (cid:0) (cid:1) =cln µ−λ(p) − d−p λ(p), (33) ∂Π cψ (3) First-order condition: = +λ +ψd−2ψp, (34) ∂p µ−λ(p) 0 ∂Π =0 ⇐⇒ 2ψ2p2−ψ(λ +ψd−2(µ−λ ))p (35) ∂p 0 0 (cid:104) (cid:0) (cid:1) (cid:105) − (µ−λ ) λ +ψd +cψ =0, (36) 0 0 3λ −2µ+ψd (4) Optimal price p∗ =p∗ : p∗ = 0 (37) + 4ψ (cid:114) (cid:0) (cid:1)2 (cid:104) (cid:0) (cid:1) (cid:105) 3λ −2µ+ψd +8 (µ−λ ) λ +ψd +cψ 0 0 0 + 4ψ (38) (5) Optimal arrival rate: λ(p∗)=λ −ψp∗, (39) 0 + (cid:18) (cid:19) c (6) Restriction for λ(p∗)>0: λ >ψ d+ (40) 0 µ =⇒ λ(p∗)>0, (41) + (7) Optimal response time and finiteness: 0<λ(p∗)<λ <µ, (42) + 0 µ−λ(p∗)>µ−λ >0, (43) + 0 (cid:18) (cid:19) 1 1 APT(p∗)= ∈ 0, < ∞. (44) + µ−λ(p∗) µ−λ + 0 Lemma 1 implies that the optimal arrival rate λ(p∗) is strictly positive if and only if the parameter restriction in Equation (41) holds. Notably, like the restriction λ(p∗)>0 ⇐⇒ λ ≥ψ(c+d+e) in the 0 (cid:16) (cid:17) body of the paper, the restriction λ >ψ d+ c is an assumption about the marginal cost at zero volume 0 µ being less than the price at zero volume. Failing to satisfy this condition in either model implies that it is not profitable to produce the first unit, and the lender exits the mortgage market. 22

Lemma 1. Suppose ψ >0 and λ <µ. Let p∗ be the larger root of the first–order condition (35), given by 0 (38), and define λ(p∗)=λ −ψp∗. Then 0 (cid:18) (cid:19) c λ(p∗)>0 ⇐⇒ λ >ψ d+ , 0 µ (cid:16) (cid:17) (cid:16) (cid:17) with λ(p∗)=0 exactly at λ =ψ d+ c , and λ(p∗)<0 for λ <ψ d+ c . 0 µ 0 µ Proof. By construction λ(p)=λ −ψp, so 0 λ(p∗)=λ −ψp∗. 0 Solving the first–order condition for p and taking the larger root gives √ 3λ −2µ+ψd ∆ p∗ = 0 + , 4ψ 4ψ where (cid:0) (cid:1)2 (cid:104) (cid:0) (cid:1) (cid:105) ∆= 3λ −2µ+ψd +8 (µ−λ ) λ +ψd +cψ . 0 0 0 Substituting this expression into λ(p∗)=λ −ψp∗ and simplifying yields 0 √ λ +2µ−dψ− ∆ λ(p∗)= 0 . (45) 4 To analyze the sign of λ(p∗), define the deviation of λ from the candidate threshold as 0 (cid:18) (cid:19) c k ≡ λ −ψ d+ , 0 µ so that (cid:18) (cid:19) c λ =ψ d+ +k, k ∈R. 0 µ This is just a reparameterization of λ ; at this stage we do not assume any sign for k. 0 Substituting this expression for λ into Equation!(45) and simplifying gives 0 √ S− T λ(p∗)= , 4µ where S ≡cψ+kµ+2µ2, T ≡∆ (cid:0) λ =ψ(d+ c)+k (cid:1) =c2ψ2+2ckµψ+4cµ2ψ+k2µ2−4kµ3+4µ4. 0 µ By expanding and simplifying, we obtain that S2−T =8kµ3.26 26Expanding S = cψ +kµ+2µ2 gives S2 = c2ψ2 +k2µ2 +4µ4 +2ckµψ +4cµ2ψ +4kµ3. Subtracting T = c2ψ2+2ckµψ+4cµ2ψ+k2µ2−4kµ3+4µ4 term by term cancels all but the kµ3 terms, leaving S2−T =8kµ3. 23

Because µ>0, the sign of S2−T is exactly the sign of k: S2 >T ⇐⇒ k >0, S2 =T ⇐⇒ k =0, S2 <T ⇐⇒ k <0. √ Now note that T ≥0 by definition. Consider three cases: √ √ (i) k =0. Then S2 =T, so T =|S|. In this case λ(p∗)=(S− T)/(4µ)=0. √ (ii) k >0. Then S2 >T, so |S|> T. In the admissible parameter region µ>0, c>0, and λ <µ, one can √ √ 0 check that S >0, so S > T and hence S− T >0. Because 4µ>0, it follows that λ(p∗)>0. √ √ (iii) k <0. Then S2 <T, so |S|< T. In all cases this implies S− T <0, and therefore λ(p∗)<0. Putting these cases together, λ(p∗)>0 ⇐⇒ k >0, λ(p∗)=0 ⇐⇒ k =0, λ(p∗)<0 ⇐⇒ k <0. (cid:0) (cid:1) Recalling that k =λ −ψ d+c/µ , we obtain 0 (cid:18) (cid:19) c λ(p∗)>0 ⇐⇒ λ >ψ d+ , 0 µ (cid:16) (cid:17) (cid:16) (cid:17) with equality and strict negativity corresponding to λ =ψ d+ c and λ <ψ d+ c , respectively. This 0 µ 0 µ proves the lemma. 24

B Complete list of partial derivatives This section provides a complete list of partial derivatives implied by the structural model introduced in Section 2. B.1 Price sensitivity to parameters ∂p∗ 2cψ+1 = (46) ∂λ 2ψ(cψ+1) 0 The sign of ∂p∗ is positive. ∂λ0 ∂p∗ 1 = (47) ∂d 2(cψ+1) The sign of ∂p∗ is positive. ∂d ∂p∗ λ +1−ψ(d+e) = 0 (48) ∂c 2(cψ+1)2 Under the stability restriction λ ≥ψ(c+d+e), the sign of ∂p∗ is positive. 0 ∂c ∂p∗ 1 = (49) ∂e 2(cψ+1) The sign of ∂p∗ is positive. ∂e ∂p∗ 2c2λ ψ2+c2ψ2+cdψ2+ceψ2+2cλ ψ+λ =− 0 0 0 (50) ∂ψ 2ψ2(cψ+1)2 The sign of ∂p∗ is negative. ∂ψ B.2 Expected quantity sensitivity to structural parameters Because ρ = λ/µ, it follows that ρ(p∗) = λ(p∗)/µ, and therefore the signs of the derivatives of ρ∗ are the same as those of λ(p∗). ∂λ(p∗) 1 = (51) ∂λ 2(cψ+1) 0 The sign of ∂λ(p∗) is positive. ∂λ0 ∂λ(p∗) ψ =− (52) ∂d 2(cψ+1) The sign of ∂λ(p∗) is negative. ∂d ∂λ(p∗) ψ(λ +1−ψ(d+e)) =− 0 (53) ∂c 2(cψ+1)2 Under λ ≥ψ(c+d+e), the sign of ∂λ(p∗) is negative. 0 ∂c ∂λ(p∗) ψ =− (54) ∂e 2(cψ+1) 25

The sign of ∂λ(p∗) is negative. ∂e ∂λ(p∗) cλ +c+d+e =− 0 (55) ∂ψ 2(cψ+1)2 The sign of ∂λ(p∗) is negative. ∂ψ B.3 Average processing time sensitivity to structural parameters ∂APT(p∗) 2(cψ+1) = (56) ∂λ 0 (2cµψ+(c+d+e)ψ−λ 0 +2µ)2 The sign of ∂APT(p∗) is positive. ∂λ0 ∂APT(p∗) 2ψ(cψ+1) =− (57) ∂d (2cµψ+(c+d+e)ψ−λ +2µ)2 0 The sign of ∂APT(p∗) is negative. ∂d ∂APT(p∗) 2ψ(λ +1−ψ(d+e)) =− 0 (58) ∂c (2cµψ+(c+d+e)ψ−λ +2µ)2 0 Under λ ≥ψ(c+d+e), the sign of ∂APT(p∗) is negative. 0 ∂c ∂APT(p∗) 2ψ(cψ+1) =− (59) ∂e (2cµψ+(c+d+e)ψ−λ +2µ)2 0 The sign of ∂APT(p∗) is negative. ∂e ∂APT(p∗) 2(cλ +c+d+e) =− 0 (60) ∂ψ (2cµψ+(c+d+e)ψ−λ +2µ)2 0 The sign of ∂APT(p∗) is negative. ∂ψ 26

C Complete set of regression estimates snoitacilppa fo rebmun eht fo mhtiragol eht no ) λ(gol fo tceffe detamitsE :1.C elbaT 0 )7( )6( )3( )2( )1( dethgiewnU ∗∗∗851.1 ∗∗∗161.1 ∗∗∗713.0 ∗∗∗783.0 ∗∗∗719.0 λ fo goL 0 681,019 703,339 660,909 876,239 513,339 snoitavresbO fo rebmuN 96.0 96.0 48.0 38.0 75.0 2R detsujdA 84.0 84.0 41.0 01.0 75.0 2R nihtiW detsujdA dethgieW ∗∗∗402.1 ∗∗∗512.1 ∗∗∗284.0 ∗∗∗949.0 ∗∗∗360.1 λ fo goL 0 731,033,14 036,504,14 801,923,14 250,504,14 336,504,14 snoitavresbO fo rebmuN 39.0 29.0 59.0 39.0 88.0 2R detsujdA 76.0 56.0 25.0 62.0 88.0 2R nihtiW detsujdA x x tceffE dexiF redneL x x tceffE dexiF etatS x x tceffE dexiF etatS × redneL x x slortnoC obmuJ × esopruP × etatS x x slortnoC ITD × VTL × OCIF x x tceffE dexiF )ylhtnoM( emiT x noitacfiicepS citardauQ x etamitsE VI deggaL .)0891 ,etihW( yticitsadeksoreteh ot tsubor era setamitse rorre dradnatS 27

)%( daerps etar egagtrom eht no ) λ(gol fo tceffe detamitsE :2.C elbaT 0 )7( )6( )3( )2( )1( dethgiewnU ∗∗∗700.0 ∗∗∗900.0 ∗∗∗780.0 ∗∗∗470.0 ∗∗∗800.0 λ fo goL 0 681,019 703,339 660,909 876,239 513,339 snoitavresbO fo rebmuN 95.0 75.0 65.0 65.0 00.0 2R detsujdA 60.0 00.0 40.0 10.0 00.0 2R nihtiW detsujdA dethgieW 000.0 ∗∗∗300.0− ∗∗∗950.0 ∗∗∗911.0 ∗∗∗420.0− λ fo goL 0 731,033,14 036,504,14 801,923,14 250,504,14 336,504,14 snoitavresbO fo rebmuN 86.0 46.0 25.0 05.0 10.0 2R detsujdA 11.0 00.0 70.0 20.0 10.0 2R nihtiW detsujdA x x tceffE dexiF redneL x x tceffE dexiF etatS x x tceffE dexiF etatS × redneL x x slortnoC obmuJ × esopruP × etatS x x slortnoC ITD × VTL × OCIF x x tceffE dexiF )ylhtnoM( emiT x noitacfiicepS citardauQ x etamitsE VI deggaL .yticitsadeksoreteh ot tsubor era setamitse rorre dradnatS 28

emit gnissecorp egareva fo mhtiragol eht no ) λ(gol fo tceffe detamitsE :3.C elbaT 0 )7( )6( )3( )2( )1( dethgiewnU ∗∗∗220.0 ∗∗∗220.0 ∗∗∗801.0 ∗∗∗741.0 ∗∗∗430.0 λ fo goL 0 889,909 580,339 068,809 444,239 390,339 snoitavresbO fo rebmuN 83.0 63.0 93.0 63.0 10.0 2R detsujdA 20.0 00.0 90.0 50.0 10.0 2R nihtiW detsujdA dethgieW ∗∗∗800.0 ∗∗∗400.0 ∗∗∗411.0 ∗∗∗242.0 ∗∗∗020.0− λ fo goL 0 215,923,14 379,404,14 674,823,14 583,404,14 679,404,14 snoitavresbO fo rebmuN 17.0 07.0 07.0 46.0 10.0 2R detsujdA 40.0 00.0 62.0 11.0 10.0 2R nihtiW detsujdA x x tceffE dexiF redneL x x tceffE dexiF etatS x x tceffE dexiF etatS × redneL x x slortnoC obmuJ × esopruP × etatS x x slortnoC ITD × VTL × OCIF x x tceffE dexiF )ylhtnoM( emiT x noitacfiicepS citardauQ x etamitsE VI deggaL .yticitsadeksoreteh ot tsubor era setamitse rorre dradnatS 29

)%( daerps etar egagtrom eht no )ψ(gol fo tceffe detamitsE :4.C elbaT )7( )6( )3( )2( )1( dethgiewnU ∗∗∗740.0− ∗∗∗350.0− ∗∗∗230.0− ∗∗∗730.0− ∗∗∗930.0− ψ fo goL 987,659 402,289 200,659 629,189 212,289 snoitavresbO fo rebmuN 85.0 65.0 45.0 45.0 10.0 2R detsujdA 60.0 00.0 30.0 00.0 10.0 2R nihtiW detsujdA dethgieW ∗∗∗580.0− ∗∗∗111.0− ∗∗∗311.0− ∗∗∗880.0− ∗∗∗630.0− ψ fo goL 319,045,14 741,916,14 402,045,14 809,816,14 051,916,14 snoitavresbO fo rebmuN 76.0 46.0 25.0 94.0 20.0 2R detsujdA 11.0 00.0 70.0 00.0 20.0 2R nihtiW detsujdA x x tceffE dexiF redneL x x tceffE dexiF etatS x x tceffE dexiF etatS × redneL x x slortnoC obmuJ × esopruP × etatS x x slortnoC ITD × VTL × OCIF x x tceffE dexiF )ylhtnoM( emiT x noitacfiicepS citardauQ x etamitsE VI deggaL .yticitsadeksoreteh ot tsubor era setamitse rorre dradnatS 30

Cite this document
APA
Akos Horvath and Benjamin S. Kay (2026). Queuing, Service Time, and Price Dynamics in Residential Mortgage Lending (FEDS 2026-017). Board of Governors of the Federal Reserve System, Finance and Economics Discussion Series. https://whenthefedspeaks.com/doc/feds_2026-017
BibTeX
@techreport{wtfs_feds_2026_017,
  author = {Akos Horvath and Benjamin S. Kay},
  title = {Queuing, Service Time, and Price Dynamics in Residential Mortgage Lending},
  type = {Finance and Economics Discussion Series},
  number = {2026-017},
  institution = {Board of Governors of the Federal Reserve System},
  year = {2026},
  url = {https://whenthefedspeaks.com/doc/feds_2026-017},
  abstract = {Building on queuing theory, we develop and empirically validate a novel theoretical model of residential mortgage supply. Our model gives insight into how the stochastic arrival and sequential servicing of loan applications affect mortgage origination. The model provides closed-form predictions for lenders’ optimal response to changes in the level and price elasticity of mortgage demand. Using confidential HMDA data, we estimate that a one standard deviation increase in mortgage demand raises mortgage rate spreads by 3 to 8 basis points, loan quantities by 20 to 32 percent, and application processing times by 3 to 5 days. We also provide empirical evidence for the model prediction that a higher elasticity of mortgage demand moderates price increases due to demand shocks, which can limit lenders’ exploitation of their market power.},
}