I doubt the time restriction will matter, because the entire whole loan program is basically October 12 to July 13 (in that data), but for the hell of it, here it is. D-G. Still no discrepancy on the surface. At this point, it might be easier to provide the code on which the other analysis is based and I'll try to find the error. The assignment is random; there aren't going to be any differences with 90,000 loans.
. tab status whole if policy_code==1 & inrange(list_month,10,17) & inlist(grade,"D","E","F","G"), col
+-------------------+
| Key |
|-------------------|
| frequency |
| column percentage |
+-------------------+
| whole
status | 0 1 | Total
------------+----------------------+----------
Charged Off | 61 17 | 78
| 0.53 0.43 | 0.50
------------+----------------------+----------
Current | 10,790 3,708 | 14,498
| 93.15 93.26 | 93.18
------------+----------------------+----------
Impaired | 289 91 | 380
| 2.50 2.29 | 2.44
------------+----------------------+----------
Paid | 443 160 | 603
| 3.82 4.02 | 3.88
------------+----------------------+----------
Total | 11,583 3,976 | 15,559
| 100.00 100.00 | 100.00