当前位置:网站首页>[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 )

边栏推荐
- 光流传感器初步测试:GL9306
- 企业应用需求导向开发之人力部门,员工考勤记录和实发工资业务程序案例
- Anaconda+pycharm+pyqt5 configuration problem: pyuic5 cannot be found exe
- HDU - 1260 Tickets(线性DP)
- About the difference between ch32 library function and STM32 library function
- Solutions to problems in sqlserver deleting data in tables
- gorm 关联关系小结
- Preliminary test of optical flow sensor: gl9306
- 【推荐系统基础】正负样本采样和构造
- 激光slam学习(2D/3D、偏实践)
猜你喜欢

Chisel tutorial - 02 Chisel environment configuration and implementation and testing of the first chisel module

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

C - linear table

One click free translation of more than 300 pages of PDF documents

ROS从入门到精通(九) 可视化仿真初体验之TurtleBot3

Using Google test in QT

Kubectl's handy command line tool: Oh my Zsh tips and tricks
PostGIS learning

Laser slam learning (2d/3d, partial practice)

FFA and ICGA angiography
随机推荐
Seven years' experience of a test engineer -- to you who walk alone all the way (don't give up)
Anti climbing means cracking the second
Introduction to programming hardware
BSS 7230 航空内饰材料阻燃性能测试
P1308 [noip2011 popularity group] count the number of words
Pigsty:开箱即用的数据库发行版
Rectification characteristics of fast recovery diode
Preliminary test of optical flow sensor: gl9306
MP4文件格式解析之结合实例分析
【史上最详细】信贷中逾期天数统计说明
解析token的网址
数据分析系列 之3σ规则/依据拉依达准则来剔除异常值
Robomaster visual tutorial (1) camera
用语雀写文章了,功能真心强大!
SQL connection problem after downloading (2)
Opengl3.3 mouse picking up objects
Is it safe to buy funds online?
【编程题】【Scratch二级】2019.09 绘制雪花图案
The function is really powerful!
Uic564-2 Appendix 4 - flame retardant fire test: flame diffusion