当前位置:网站首页>[the most detailed in history] statistical description of overdue days in credit
[the most detailed in history] statistical description of overdue days in credit
2022-07-07 23:56:00 【Ali Yiyang】
As the new epidemic continues , From Hong Kong to Shenzhen , Then to Shanghai and Jilin . The rampant expansion of the epidemic has made the individual economy worse , Many cities and industries have been affected . Forced to be quarantined due to the epidemic , Thus losing income , The number of people who are in debt or overdue has climbed , People from all walks of life have their own difficulties .
If it is overdue in the credit , How do we calculate the overdue days ? For example, a person is 2022 year 4 Due to the epidemic, the income fell sharply in August , But the credit overdue , here we are 2022 year 5 Things got better in August , Pay back the overdue money , How to count the overdue days of this person ? At this time, the statistical caliber can be divided into past overdue and current overdue , Corresponding to different values . And for credit institutions , In the calculation Vintage Table time , Will also face this situation . This article will work with you to thoroughly understand the calculation logic of overdue days .
List of articles
One 、 Definition of overdue days
Within the time limit It refers to the customer's failure to repay the amount due in the current month in full on the repayment date , Then the contract will be overdue . Overdue includes historical overdue and current overdue . History is overdue It refers to once ( The time before the observation time point ) There have been overdue . Current overdue It refers to whether history has been overdue , As long as the observation time point is overdue , It is currently overdue . For example, although the customer was overdue in the past , But after a few days, it has been repaid , By the observation time point, there is no current overdue . Then the customer has historical overdue , No current overdue .
Days overdue DPD(Days Past Due) It refers to the fact that the customer has not made repayment on the due date , The overdue days are from the next day of the due date to the actual repayment date ( contain ) Number of days in the period , If the customer fails to repay in the current period and has no actual repayment date , Then take the data statistics day to replace the actual repayment day .
for example :DPDN+ Indicates the number of days overdue ≥N Day's customers , Such as DPD60+ Indicates the number of days overdue ≥60 Day's customers .
Example :

That is, on the first repayment date (2021 year 5 month 12 Japan ) Outstanding , that 2021 year 5 month 13 Day is one day overdue , Customers in 5 month 17 Daily repayment , The customer first exceeded 5 God . The statistics of overdue days are also divided into past overdue days and current overdue days . Next, a detailed description .
Two 、 Calculation logic of overdue days
In order to make the statistics of overdue days clearer , Next, use the method of drawing to elaborate .
1 Dimension of days overdue
The number of days overdue mainly considers whether the customer is overdue before the observation date , First, there are two situations: the repayment day is greater than or equal to the observation day and the repayment day is less than the observation day . The due date is greater than or equal to the observation date, indicating that the order has not reached the time of repayment , Naturally, there is no delay , The number of days overdue is naturally 0. The due date is less than the observation date , It is also divided into two situations: unsettled on the observation day and settled on the observation day , The specific calculation logic is as follows :
Situation 1 : Due date ≥ Observation day (Mob_date)

Days overdue =0
Case 2 : Due date < Observation day (Mob_date)
① Not settled by the observation day

Days overdue = Observation day - Due date
② By the observation day, it has been settled
a. The settlement date is before the observation day

Days overdue = clear date - Due date
b. The settlement date is after the observation day

Days overdue = Observation day - Due date
2 Current overdue days dimension
The current overdue days mainly consider whether the customer is overdue on the observation day , First, there are two situations: the repayment day is greater than or equal to the observation day and the repayment day is less than the observation day . The due date is greater than or equal to the observation date, indicating that the order has not reached the time of repayment , Naturally, there is no delay , The current overdue days are naturally 0. The due date is less than the observation date , It is also divided into two situations: unsettled on the observation day and settled on the observation day , The specific calculation logic is as follows :
Situation 1 : Due date ≥ Observation day (Mob_date)

Current overdue days =0
Case 2 : Due date < Observation day (Mob_date)
① Not settled by the observation day

Current overdue days = Observation day - Due date
② By the observation day, it has been settled
a. The settlement date is before the observation day ( There's a difference )

Current overdue days =0
b. The settlement date is after the observation day

Current overdue days = Observation day - Due date
3 The statistical difference between the past overdue days and the current overdue days
From the above analysis, we can see that only on the due date < Observation day , If the observation date has been settled and the settlement date is before the observation date, there is a difference between the past overdue days and the current overdue days .

Days overdue = clear date - Due date , But the current overdue days =0. For several other cases , The two methods of calculating overdue days are consistent , Write the corresponding SQL Just pay attention when .
You may be interested in :
use Python Drawing Picasso
use Python Draw a cloud of words
use Python draw 520 Eternal heart
Python Face recognition — You are the only one in my eyes
Python Draw a nice picture of the starry sky ( Aesthetic background )
【Python】 Valentine's Day confession fireworks ( With sound and text )
use Python Medium py2neo Library operation neo4j, Building the association map
Python Romantic confession source collection ( love 、 The roses 、 Photo wall 、 Advertising under the stars )

边栏推荐
猜你喜欢

Basic learning of SQL Server -- creating databases and tables with code

数据湖(十五):Spark与Iceberg整合写操作

Automated testing: robot framework is a practical skill that 90% of people want to know

At the age of 35, I made a decision to face unemployment

An example analysis of MP4 file format parsing

10 schemes to ensure interface data security

保证接口数据安全的10种方案

Pycharm basic settings latest version 2022

【路径规划】使用垂距限值法与贝塞尔优化A星路径

面试题详解:用Redis实现分布式锁的血泪史
随机推荐
DataGuard active / standby cleanup archive settings
一份假Offer如何盗走了「Axie infinity」5.4亿美元?
Go learning notes (2) basic types and statements (1)
Robomaster visual tutorial (10) target prediction
Archery installation test
Enumeration, simulation, and sorting
35岁真就成了职业危机?不,我的技术在积累,我还越吃越香了
HB 5469 combustion test method for non-metallic materials in civil aircraft cabin
95.(cesium篇)cesium动态单体化-3D建筑物(楼栋)
Learn about scratch
C语言学习
Anti climbing means cracking the second
AWS AWS help error
Chisel tutorial - 00 Ex.scala metals plug-in (vs Code), SBT and coursier exchange endogenous
Benchmarking Detection Transfer Learning with Vision Transformers(2021-11)
Apng2gif solutions to various problems
Alibaba cloud MySQL cannot connect
Pigsty: out of the box database distribution
QT creator add custom new file / Project Template Wizard
Chisel tutorial - 02 Chisel environment configuration and implementation and testing of the first chisel module