A history of credit: from moneylenders to FICO to Grameen
Every lending invention answered one of three problems: what the lender can know, how it makes a borrower pay, and what the loan costs to make. Price one loan four ways and see which problem each way solves
In the lab's scale 1 book, 36 of 451 personal loans (8.0%) are overdue at the cut-off. You pick five personal loans at random and call them a group. What is the chance that at least one of the five is overdue?
The three problems
A lender hands over money now and is paid later. Three things can go wrong, and every invention in this chapter is an attempt to fix one of them.
Information. The lender does not know the borrower. Someone who will not repay is more eager to borrow than someone who will, and the lender cannot tell them apart. Economists call this adverse selection: the people who accept a price are worse than the people the lender hoped for. A lender that raises its price to cover the bad borrowers drives out the good ones, and the problem gets worse.
Enforcement. The borrower knows they owe, and could pay, but would rather not. Once the money has gone, the lender’s only power is what it arranged beforehand: something that can be taken back, a person who can be shamed, a relationship the borrower wants to keep, a court. Economists call the temptation to default, or to take more risk with borrowed money, moral hazard.
Cost. Even a good borrower with a lender’s trust is not worth a loan if finding them, writing the loan, collecting it and funding it cost more than the interest it earns. Chapter the economics of a loan put numbers on this. Small loans fail it first.
The rest of the chapter takes five answers in the order they appeared, says which problem each one solved and which it left alone, and then prices one loan from the lab’s book each way.
Moneylenders and the ceiling on interest
The oldest answer to information and enforcement is a lender who lives next door. A moneylender knows the borrower’s trade, family and house, and holds a pledge: a pawned object, a guarantor, a harvest, a job. Knowledge and the pledge together do the work that a bureau and a court do now. The price is high because the loans are small, the losses are real and the lender has no cheaper funds. It is also easy to quote and easy to mislead with, as the next sections show: a flat rate charges interest on the original principal for every month, however much has been repaid.
Societies have long distrusted what these lenders charged. Laws against usury, interest above a legal rate, are among the oldest financial rules. In England, a statute of 1713 lowered the legal rate of interest to 5% a year, with the cut taking effect in 1714; most sources cite it as 12 Anne, session 2, chapter 16, while one statute index numbers it chapter 17, so check the number against the statute book before you cite it. The Usury Laws Repeal Act 1854 repealed the laws against usury, though it left the statutes on pawnbrokers alone. A ceiling of this kind looks like protection. The lab shows why it is double-edged. The loan in this chapter, ₦310,000 for six months, would be allowed ₦7,750 of interest at 5% a year (310,000 × 0.05 × 6/12). The lender’s own cost of making and collecting a loan is larger than that, so at such a ceiling a lender stops making loans to anyone it cannot be sure of. Rich and well-known borrowers keep their credit. Poor and unknown ones turn to lenders who ignore the law. Whether ceilings help or harm borrowers on balance is an empirical question, and chapter 5.4 on high-cost credit takes it up with the evidence; here the point is only that a ceiling changes who lends, not what lending costs.
Nigeria’s states have their own moneylending laws, and licensing and the rules for lenders are the subject of chapter licences and structures. This chapter does not summarise them.
What the moneylender solved was information and enforcement, through personal knowledge. What he could not do was grow: knowledge of one neighbourhood does not scale, and the lender’s capital limits the number of loans.
Instalment credit: the goods as the promise
In the 1850s a new answer appeared for a different problem. A sewing machine was too expensive for most households to buy outright. Accounts credit Edward Clark, partner of Isaac Singer, with the hire-purchase plan that the Singer company used to sell machines on monthly payments. A Harvard Business School library essay quotes the company’s own notice of 1856 proposing to rent a machine and apply the rent to the price, and says the plan tripled sales within a year; other popular accounts give different years and different sales figures, so treat the date as approximate and the sales figures as unsettled.
Look at which problems this solved. The price was spread over months, so the cost of a single large payment fell away for the buyer. Enforcement came from the goods: under hire purchase the seller keeps ownership until the last payment, so a buyer who stops paying can lose the machine (chapter secured lending and collateral covers how that works for a modern lender). Information was only partly solved, since the seller still had to guess who would pay, but the machine was its own security and the seller had made the margin on it already.
The cost of credit disappeared into the price. A customer who sees a monthly payment and a total sees no rate. Chapter interest, APR, fees and amortisation is the reply to that, and the lab’s first two prices are its two cases.
Credit bureaus and the score
A small-town lender knows its borrowers. A lender in a city of millions does not, and a borrower who has paid every loan on time has no way to say so to a lender who has never seen them. The fix is a third party that collects payment histories from many lenders and sells a report. That is a credit bureau: it solves information by sharing it.
Sharing creates its own problems: wrong entries, people who cannot see what is said about them, and data used for purposes nobody agreed to. In the United States, the Fair Credit Reporting Act of 1970, which privacy advocates describe as the first federal law to regulate businesses’ use of personal information, aims to promote the accuracy, fairness and privacy of what credit reporting agencies compile. Chapter credit data in Nigeria covers the equivalent ideas here: consent, permissible purpose, disputes.
A report is still a list of facts. A score turns it into one number that ranks borrowers by how likely they are to repay. Fair Isaac, founded in 1956 by two partners, sold lenders custom scorecards first; a model for a department store is dated to 1963 in one timeline. In 1989 it launched, with Equifax, the first general-purpose credit score, one algorithm any lender could buy instead of building its own, which became the FICO Score. (Search summaries agree on 1956 and 1989 and disagree on smaller details such as the founders’ capital; the lender’s own history page is the source for the dates.) A scorecard like the one in chapter credit scoring is the in-house version of the same idea.
What it solved was information at scale, and as a side effect cost: a decision by formula costs pennies, where a decision by a credit officer costs an hour. What it did not solve is the person with no file. The lab shows this: the scale 1 book has 850 loans to borrowers with no bureau file, and 14.6% of them are 90 or more days past due at the cut-off, about as high as the weakest points band of the hand-made card in the lab (15.4%). A score is silent exactly where the lender is most blind.
In Nigeria the Credit Reporting Act 2017, signed in May 2017, provides in its section 2, as law-firm commentary summarises it, that no one may operate as a credit bureau without a licence from the Central Bank of Nigeria; this chapter did not read the section in the Act’s own text, and the link is a legal-database copy. Before the Act, bureaus were licensed under Central Bank guidelines issued in 2008. Accounts disagree on when the first three private bureaus were licensed: 2008 in one press report, June 2009 for one bureau in another, and 2009 to 2010 in a third. This chapter has not checked the Central Bank’s own current list and names no bureau as operating todayas of 2026-11. Read the Act and the Central Bank’s list before you rely on either.
Group lending: the neighbours as the promise
Moneylenders knew their borrowers, and bureaus never knew the poorest. In 1976, Muhammad Yunus, a professor at the University of Chittagong, began an experimental project in the village of Jobra in Bangladesh, lending small sums to the poor without collateral. The project became an independent bank, the Grameen Bank, by government ordinance in 1983. (Secondary sources give different days for the ordinance and different shares for the state’s ownership; this chapter keeps to the years.)
Its method is group lending. Borrowers form small groups, commonly of five. Accounts describe two designs, and sources disagree about which Grameen used. In joint liability, the group is legally on the hook for every member’s debt. In solidarity lending, nobody is obliged to pay for another, but the lender refuses further credit to a group in which a member has defaulted, so the members usually pay up. Some accounts say Grameen had no formal legal joint liability, only moral responsibility among members, who often paid a defaulter’s share anyway; others describe joint responsibility, and this chapter does not settle it. Either way the group does three jobs the lender cannot afford to do itself. It screens: people choose partners they believe will repay. It monitors: neighbours see what the loan is spent on. It enforces: a late member faces their friends, not a stranger.
Theory says this can cut both ways. In a 1995 paper, Timothy Besley and Stephen Coate found that joint liability has a positive effect, because successful members may repay for those whose ventures fell short, and a negative one, because a whole group may default when some members would have repaid alone; social collateral can offset the negative effect. The evidence is mixed too. Xavier Giné and Dean Karlan ran randomised trials with a bank in the Philippines, converting some existing groups to individual liability, and in the Journal of Development Economics in 2014 reported no increase in default in the short or long run (this rests on working-paper versions; the published abstract was not retrieved). Converting to individual liability also led to faster growth in group size by attracting new clients. That result does not say groups never help. It says that in that bank, with those loans, the guarantee between members was not what produced repayment. Chapter 5.2, what the microfinance evidence says, reads the larger body of studies.
Group lending solved information (peers screen), enforcement (peers press) and some cost (the group does the monitoring and a meeting collects many repayments at once). It left alone the problem that a bad harvest or a falling market hits every member of a group at the same time.
Mobile credit: the phone as the history
Mobile money gave lenders something new: a record of a person’s money moving, for people with no bank account. M-Shwari, launched on 27 November 2012 by Safaricom (with Vodafone) and the Commercial Bank of Africa in Kenya, let M-Pesa subscribers open interest-bearing savings accounts and borrow small amounts from their phones. CGAP reports that the bank uses the customer data Safaricom already collects. Safaricom said in January 2015 that more than 9 million customers had registered, a figure from the partners themselves.
What this solved was cost: no branch, no form, no officer. It solved information in a new way, by using the telephone and wallet record as a stand-in for a bureau file. Enforcement can come from the next loan: a lender can raise the limit for those who repay and stop lending to those who do not. It did not make the borrower’s circumstances any better known. Chapter alternative data tests how much wallet signals add, and the Owoleaf book is built that way. Chapter 5.3, credit cycles, follows what happened when lending this cheap met a downturn in Kenya and Nigeria.
What each answer solved
| Answer | Information | Enforcement | Cost | What is left over |
|---|---|---|---|---|
| Moneylender | Personal knowledge | A pledge, social standing | High rate to cover losses | Does not scale; prices can hide in the quote |
| Instalment credit | Little: the seller guesses | The goods can be taken back | Price spread over months | The rate is buried in the price |
| Bureau and score | A stranger’s history, ranked | None by itself | Pennies per decision | The thin file: no history, no score |
| Group lending | Peers screen each other | Peer pressure, or no next loan | Group does the monitoring | Shocks hit all members at once |
| Mobile credit | Phone and wallet record | The next loan’s limit | No branch, no form | Fast, cheap errors at scale |
A lender today uses all five. Owoleaf’s wallet record is mobile credit, the bureau report is the bureau, its salary advance is a pledge of next pay-day, and its collections ladder is enforcement. Asking which problem a new product solves is a quicker audit than asking whether it is clever.
Back at Northmere
Adedayo picks one loan from the lab’s book, ₦310,000 over six months, and prices it four ways for the committee. The moneylender’s flat 4.5% a month looks the same as the reducing-balance 4.5%, and costs 7.29% a month against 4.81% once the 1% fee is counted. The points scorecard declines the loan that the old rule approved, on a file the bureau knows well but that shows four recent enquiries. And in the group simulation, the guarantee between five members cuts the lender’s overdue amount by more than half while sending ₦15,881 from paying members to the lender in each average group, and screening alone, with no guarantee, halves the lender’s overdue amount without charging the members anything. Abidemi’s reply is the useful one: the car-keys test is a screening rule. It might still be right. The committee’s job is to find out which problem each of its tools is paid to solve, and to measure that, not to choose between the old and the new.
You build one file, history.py, in four parts, and run each part as you add it. Work in labs/finance. Money is integer kobo; every price, fee and cut-off is illustrative, and the scorecard here is a hand-made table, not the fitted card of chapter 2.2. The loan is L000043 from chapters 1.2 and 1.4: a personal loan of ₦310,000 for six months at 4.5% a month on the reducing balance, with a 1% fee. Do not open answers/loans_truth.csv.
0. Check both books exist. If data1/finance.sqlite is missing, build it with the command from the README (about 40 seconds, about 720 MB, so check the disk first). data/ needs the same generators, run without --out: python3 generate.py, then loans.py, cards.py, collect.py and book3.py. Then check the books.
python3 generate.py --scale 1 --out data1 && python3 loans.py --out data1 \
&& python3 cards.py --out data1 && python3 collect.py --out data1 && python3 book3.py --out data1
python3 check.py && python3 check.py --db data1/finance.sqlitecollections: 1,809 actions, 144 promises, 36 placements; checks 16-18 run
application signals: 852; checks 19-20 run
...
OK: all invariants hold
collections: 15,831 actions, 1274 promises, 368 placements; checks 16-18 run
application signals: 8,386; checks 19-20 run
...
OK: all invariants holdThe last lines of two runs (the first on data/, the second on data1/, about 30 seconds). Lines between are left out.
1. Price the loan with a moneylender’s flat rate and with an amortised rate. Save this as history.py. irr finds the rate per month that makes the payments equal the money paid out, by bisection, as in chapter 1.2.
"""history.py: price one lab loan four ways. Standard library only. Money is integer kobo.
Every price, fee and cut-off is ILLUSTRATIVE (labs/finance/README.md). Run from labs/finance.
"""
import random
import sqlite3
DB = "data/finance.sqlite" # scale 0.1: the loan to price
DB1 = "data1/finance.sqlite" # scale 1: enough loans for bad rates and groups
LOAN = "L000043"
CUT_OFF = "2026-10-28"
def connect(path):
return sqlite3.connect(f"file:{path}?mode=ro", uri=True)
def irr(flows):
"""Rate per period r with sum(amount / (1 + r) ** t) = 0, by bisection. flows = [(t, kobo)]."""
lo, hi = -0.9, 10.0
for _ in range(200):
mid = (lo + hi) / 2
value = sum(amount / (1 + mid) ** t for t, amount in flows)
if value > 0: # the payments, discounted at mid, come to less than was paid out: mid is too high
hi = mid
else:
lo = mid
return (lo + hi) / 2
def per_year(monthly):
return (1 + monthly) ** 12 - 1
def naira(kobo):
return f"₦{kobo / 100:,.2f}"
def load_loan():
db = connect(DB)
loan = db.execute("""SELECT principal_kobo, fee_kobo, instalments, rate_bps_per_period
FROM loans WHERE id = ?""", (LOAN,)).fetchone()
schedule = db.execute("""SELECT instalment, total_kobo FROM schedule
WHERE loan_id = ? ORDER BY instalment""", (LOAN,)).fetchall()
bureau = db.execute("""SELECT b.hit, b.score, b.delinquent_12m, b.enquiries_90d, b.history_years
FROM loans l JOIN applications a ON a.id = l.application_id
JOIN bureau_reports b ON b.id = a.bureau_report_id WHERE l.id = ?""", (LOAN,)).fetchone()
return loan, schedule, bureau
# ---- price 1: a moneylender's flat rate -------------------------------------------------------------
def flat_price(principal, months, monthly_bps):
"""Interest on the original principal for every month; the total is split evenly, the last
instalment taking the rounding. Returns the instalments in kobo."""
total = principal + principal * monthly_bps * months // 10_000
each = total // months
return [each] * (months - 1) + [total - each * (months - 1)]
def show_flat():
(principal, fee, n, bps), schedule, _ = load_loan()
flat = flat_price(principal, n, bps)
flows = [(0, principal)] + [(i, -p) for i, p in enumerate(flat, 1)]
r = irr(flows)
print(f"{LOAN}: {naira(principal)} over {n} months")
print(f"1. moneylender, {bps / 100}% a month flat, no fee: instalments {[naira(p) for p in flat[:2]]} ... "
f"{naira(flat[-1])}; interest {naira(sum(flat) - principal)}")
print(f" true monthly rate {r:.2%}, per year compounded {per_year(r):.2%}")
cap = principal * 5 * n // (100 * 12)
print(f" a 5% a year ceiling (England's legal rate under the statute of 1713) would allow {naira(cap)} of interest in all")
# ---- price 2: the amortised APR with the fee ---------------------------------------------------------
def show_amortised():
(principal, fee, n, bps), schedule, _ = load_loan()
paid_out = principal - fee
flows = [(0, paid_out)] + [(i, -total) for i, total in schedule]
r = irr(flows)
print(f"2. Owoleaf, {bps / 100}% a month on the reducing balance, fee {naira(fee)}: "
f"paid out {naira(paid_out)}, {n} x {naira(schedule[0][1])}")
print(f" interest and fee {naira(sum(t for _, t in schedule) - principal + fee)}; "
f"true monthly rate {r:.2%}, nominal x12 {r * 12:.2%}, per year compounded {per_year(r):.2%}")
return rpython3 -c "import history as h; h.show_flat(); h.show_amortised()"L000043: ₦310,000.00 over 6 months
1. moneylender, 4.5% a month flat, no fee: instalments ['₦65,616.66', '₦65,616.66'] ... ₦65,616.70; interest ₦83,700.00
true monthly rate 7.29%, per year compounded 132.61%
a 5% a year ceiling (England's legal rate under the statute of 1713) would allow ₦7,750.00 of interest in all
2. Owoleaf, 4.5% a month on the reducing balance, fee ₦3,100.00: paid out ₦306,900.00, 6 x ₦60,102.30
interest and fee ₦53,713.80; true monthly rate 4.81%, nominal x12 57.75%, per year compounded 75.77%The two loans say “4.5% a month” and are not close. The flat loan’s instalments are ₦65,616.66 with 4 kobo left over for the last one, and its true monthly rate is 7.29%, or 132.61% a year compounded. The reducing-balance loan with the fee costs 4.81% a month, 75.77% a year. Both match chapter 1.2. A ceiling of 5% a year would allow ₦7,750 of interest on the whole loan, against ₦50,613.80 at the actual rate.
2. Decide the loan with a points scorecard. Add this. The card gives points for the bureau score, delinquencies, enquiries and history, and a thin file gets 20 points plus its enquiry points. book_bands scores every loan in data1 and counts how many were 90 or more days past due at the cut-off. That is a simple bad definition; chapter 2.2 explains why a window is better.
# ---- price 3: a points scorecard ------------------------------------------------------------------------
# A hand-made card in the style of module 1 (not the fitted card of chapter 2.2). ILLUSTRATIVE points.
def points(hit, score, delinquent, enquiries, history):
"""Whole points from what a bureau report says. A thin file (hit = 0) has no score, delinquency
or history to read: it earns a flat 20, plus the points for its enquiries."""
enq = 10 if enquiries <= 1 else 5 if enquiries <= 3 else 0
if not hit:
return 20 + enq
p = 10 if score < 640 else 30 if score < 700 else 50 if score < 740 else 70
p += 10 if delinquent == 0 else 5 if delinquent == 1 else 0
p += 0 if history <= 1 else 5 if history <= 4 else 10
return p + enq
CARD_CUT_OFF = 60 # approve at or above this many points
BANDS = [(0, 39), (40, 59), (60, 79), (80, 120)]
def band_of(p):
return next(i for i, (lo, hi) in enumerate(BANDS) if lo <= p <= hi)
def book_bands():
"""Loans of the scale 1 book, in bands of the card's points, with how many were 90+ days past due
at the cut-off. The card was not fitted to these loans: it is a hand-made table."""
db = connect(DB1)
count = [[0, 0] for _ in BANDS]
for row in db.execute("""SELECT b.hit, b.score, b.delinquent_12m, b.enquiries_90d, b.history_years, l.days_past_due
FROM loans l JOIN applications a ON a.id = l.application_id
JOIN bureau_reports b ON b.id = a.bureau_report_id"""):
k = band_of(points(*row[:5]))
count[k][0] += 1
count[k][1] += row[5] >= 90
return count
def thin_files():
"""Loans of the scale 1 book whose borrower had no bureau file: how many, and how many went 90+ days past due."""
return connect(DB1).execute("""SELECT COUNT(*), SUM(l.days_past_due >= 90) FROM loans l
JOIN applications a ON a.id = l.application_id JOIN bureau_reports b ON b.id = a.bureau_report_id
WHERE b.hit = 0""").fetchone()
def show_card():
(principal, fee, n, bps), schedule, bureau = load_loan()
p = points(*bureau)
k = band_of(p)
hit, score, delinquent, enquiries, history = bureau
print(f"3. bureau report of {LOAN}: score {score}, {delinquent} delinquencies, "
f"{enquiries} enquiries in 90 days, {history} years of history")
print(f" points {p}; cut-off {CARD_CUT_OFF}: {'approve' if p >= CARD_CUT_OFF else 'decline'}; band {BANDS[k][0]}-{BANDS[k][1]}")
print(" band loans 90+ DPD bad rate (scale 1 book, all products)")
bands = book_bands()
for (lo, hi), (loans, bad) in zip(BANDS, bands):
print(f" {lo:>3}-{hi:<4}{loans:>8}{bad:>9}{bad / loans:>10.1%}")
thin_loans, thin_bad = thin_files()
print(f" no bureau file at all: {thin_loans} loans, {thin_bad} bad ({thin_bad / thin_loans:.1%})")
loans, bad = bands[k]
b = bad / loans
promised = [(0, principal - fee)] + [(i, -total) for i, total in schedule]
expected = [(0, principal - fee)] + [(i, -round(total * (1 - b))) for i, total in schedule]
print(f" promised monthly rate {irr(promised):.2%}; "
f"if the band's {b:.1%} never pay (so {1 - b:.1%} of every instalment arrives), {irr(expected):.2%}")
thin = points(0, None, 0, enquiries, 0)
print(f" the same enquiries with no bureau file would earn {thin} points: "
f"{'approve' if thin >= CARD_CUT_OFF else 'decline'}")python3 -c "import history as h; h.show_card()"3. bureau report of L000043: score 656, 0 delinquencies, 4 enquiries in 90 days, 3 years of history
points 45; cut-off 60: decline; band 40-59
band loans 90+ DPD bad rate (scale 1 book, all products)
0-39 1323 204 15.4%
40-59 730 86 11.8%
60-79 483 33 6.8%
80-120 1109 45 4.1%
no bureau file at all: 850 loans, 124 bad (14.6%)
promised monthly rate 4.81%; if the band's 11.8% never pay (so 88.2% of every instalment arrives), 1.04%
the same enquiries with no bureau file would earn 20 points: declineL000043 scores 45: a score of 656 earns 30, no delinquencies 10, three years of history 5 and four enquiries 0. The cut-off of 60 declines it, though the lab’s own rule (score of at least 620, at most six enquiries) approved it. Loans in the 40 to 59 band went bad 11.8% of the time, between the 15.4% below 40 and the 6.8% above 60. If 11.8% of the band never paid anything, the loan’s 4.81% would fall to about 1.04% a month: a pessimistic figure, since real defaulters pay some instalments, but it says what the card thinks of the price. The bad rate falls as points rise, which is all a hand-made card has to show. The 850 loans with no file at all went bad 14.6% of the time. Remember that every loan here passed the lab’s own rule first; the card has never seen those the rule declined.
3. Put the loan in a group of five. Add this. pl_members lists each personal loan in data1, one instalment and the kobo overdue at the cut-off. draw_group draws five loans. settle shares the overdue amount among the paying members, proportionally to what each can pay, up to a stated cap: 100% of one of their own instalments. That cap is an assumption, not data. Screening is the second assumption: with probability screening, a member who is overdue is swapped for one who is not, standing for a group that chooses its members. The book holds no peer pressure, so every loan’s outcome is fixed whatever the group does.
# ---- price 4: a joint-liability group of five --------------------------------------------------------
GROUP = 5
TRIALS = 20_000
CAPACITY_PERCENT = 100 # ASSUMPTION: a paying member can cover at most this % of one instalment of their own
def pl_members():
"""Every personal loan of the scale 1 book: (loan id, one instalment, kobo overdue at the cut-off).
Overdue = instalments due before the cut-off minus what was paid (late fees left out)."""
db = connect(DB1)
due = dict(db.execute("SELECT loan_id, SUM(total_kobo) FROM schedule WHERE due_date < ? GROUP BY loan_id", (CUT_OFF,)))
paid = dict(db.execute("SELECT loan_id, SUM(amount_kobo - late_fee_kobo) FROM repayments GROUP BY loan_id"))
first = dict(db.execute("SELECT loan_id, total_kobo FROM schedule WHERE instalment = 1"))
out = []
for (loan_id,) in db.execute("SELECT id FROM loans WHERE product = 'PL' ORDER BY id"):
out.append((loan_id, first[loan_id], max(0, due.get(loan_id, 0) - paid.get(loan_id, 0))))
return out
def draw_group(rng, members, screening):
"""Five different loans. With probability `screening`, a member who is overdue is swapped for a
member who is not: the group's own peer selection, which the book cannot show but a lender may hope for."""
group = rng.sample(members, GROUP)
for i, m in enumerate(group):
if m[2] > 0 and rng.random() < screening:
while True:
other = rng.choice(members)
if other[2] == 0 and other not in group:
group[i] = other
break
return group
def settle(group, joint):
"""Returns (overdue left for the lender, kobo paid by members on top of their own loans, members who paid extra)."""
overdue = sum(m[2] for m in group)
if not joint or overdue == 0:
return overdue, 0, 0
payers = [m for m in group if m[2] == 0]
capacity = sum(m[1] * CAPACITY_PERCENT // 100 for m in payers)
covered = min(overdue, capacity)
return overdue - covered, covered, len(payers) if covered else 0
def simulate(joint, screening, seed=7):
rng = random.Random(seed)
members = pl_members()
hit = left = extra = asked = 0
for _ in range(TRIALS):
g = draw_group(rng, members, screening)
o, c, k = settle(g, joint)
hit += sum(m[2] for m in g) > 0
left += o
extra += c
asked += k
return dict(groups_hit=hit / TRIALS, overdue_per_group=left / TRIALS, extra_per_group=extra / TRIALS,
extra_per_member=extra / asked if asked else 0)
def show_groups():
members = pl_members()
overdue = [m for m in members if m[2] > 0]
print(f"4. {len(members)} personal loans in the scale 1 book; {len(overdue)} overdue at {CUT_OFF} "
f"({len(overdue) / len(members):.1%}), {naira(sum(m[2] for m in members))} in all")
print(f" {TRIALS:,} random groups of {GROUP}; a paying member can cover at most "
f"{CAPACITY_PERCENT}% of one instalment of their own")
print(f" chance at least one member is overdue, if members were independent: {1 - (1 - len(overdue) / len(members)) ** GROUP:.1%}")
print(f" {'liability':<11}{'screening':>10}{'groups hit':>12}{'lender overdue':>17}{'members paid in':>17}{'per paying member':>19}")
for joint, screening in ((False, 0.0), (True, 0.0), (False, 0.5), (True, 0.5)):
r = simulate(joint, screening)
print(f" {'joint' if joint else 'individual':<11}{screening:>10.0%}{r['groups_hit']:>12.1%}"
f"{naira(round(r['overdue_per_group'])):>17}{naira(round(r['extra_per_group'])):>17}"
f"{naira(round(r['extra_per_member'])):>19}")Finish the file with a block that runs everything, and run it.
if __name__ == "__main__":
show_flat()
show_amortised()
show_card()
show_groups()python3 history.pyThe output starts with the three prices you have already seen, then ends with:
4. 451 personal loans in the scale 1 book; 36 overdue at 2026-10-28 (8.0%), ₦2,738,383.14 in all
20,000 random groups of 5; a paying member can cover at most 100% of one instalment of their own
chance at least one member is overdue, if members were independent: 34.0%
liability screening groups hit lender overdue members paid in per paying member
individual 0% 34.1% ₦29,473.40 ₦0.00 ₦0.00
joint 0% 34.1% ₦13,592.13 ₦15,881.28 ₦12,156.52
individual 50% 18.6% ₦14,939.56 ₦0.00 ₦0.00
joint 50% 18.6% ₦6,558.78 ₦8,380.79 ₦11,509.70Each group of five is drawn from 451 personal loans of which 36 are overdue: 8.0%, ₦2,738,383.14. At 8.0%, 34% of groups contain an overdue member: 1 − 0.925. With individual liability the lender is out ₦29,473.40 on average per group. Joint liability cuts that to ₦13,592.13 by taking ₦15,881.28 from paying members, ₦12,156.52 from each member asked. Screening alone (50% of overdue members swapped out, no guarantee) cuts the lender’s overdue to ₦14,939.56 and charges no member anything. With both, ₦6,558.78. The guarantee moves the loss; only screening makes less of it.
Weaken the guarantee. In the same folder, save this as cap.py and run it. It lowers the share of one instalment that a paying member can cover.
import history as h
for pct in (100, 50, 25):
h.CAPACITY_PERCENT = pct
r = h.simulate(True, 0.0)
print(f"a paying member can cover {pct}% of one instalment: lender overdue per group "
f"{h.naira(round(r['overdue_per_group']))}, members paid in {h.naira(round(r['extra_per_group']))}")python3 cap.pyYou see the lender’s overdue per group rise from ₦13,592.13 to ₦18,541.93 and ₦22,547.80, and the amount paid in by members fall. A guarantee is worth what its guarantors can pay: for poor borrowers the cap is low, and the rest falls back on the lender.
Template
# Board note: <what the plan is, and what we ask>
From <analyst> · Signed off by <head of credit> · To <board risk committee> · Date · Decision needed by <date>
## The plan in one paragraph
<What we propose to do, for whom, at what price. Two sentences.>
## Lesson 1: <a title that states the lesson>
- Problem it answers: <information | enforcement | cost>
- What history shows: <the claim, its source, and the caveat on the source>
- What our numbers show: <figures from the lab or a stated assumption>
- What it changes in the plan: <one change>
## Lesson 2: <title>
<same four lines>
## Lesson 3: <title>
<same four lines>
## What the numbers cannot show
<What the simulation or the book holds fixed.>
## Decision requested
<The approval you need, who owns it, the review date, and the result that would change it.>
## How this could be wrong
<One risk, and the evidence that would show it.>
## Out of scope
<What this note does not decide.> WORKED EXAMPLE
From Adedayo, analyst, Northmere Bank · Signed off by the head of retail credit · To the board risk committee · 21 November 2026 · Decision needed at the next committee meeting.
The plan. Pilot group lending for market traders, in groups of five with a guarantee between members.
Lesson 1: a guarantee moves the loss; screening reduces it. This answers enforcement. Giné and Karlan, in randomised trials with one Philippine bank, reported no increase in default in the short or long run when groups became individually liable (this rests on working-paper versions; one bank’s evidence). In the lab, individual liability leaves the lender ₦29,473.40 overdue per group. Joint liability cuts that to ₦13,592.13 by taking ₦15,881.28 from paying members. Screening alone leaves ₦14,939.56, on the assumption that half of overdue members are swapped out. Change: the pilot must compare joint and individual groups.
Lesson 2: a score is silent where the lender is blind. This answers information. Fair Isaac launched the first general-purpose score with Equifax in 1989 (the date is from the scoring company’s own history). In the book, 850 loans had no bureau file and 14.6% went 90 or more days past due. Change: traders without files are scored on wallet history, not on the card.
Lesson 3: a price must be quoted as a true rate. This answers cost. Singer’s instalment plan spread the price over months and buried the rate in it (the 1856 date and the sales figures vary by source). A flat 4.5% a month on ₦310,000 is 7.29% a month, against 4.81% for the reducing-balance loan with a 1% fee. Change: every pilot quote shows the reducing-balance rate.
What the numbers cannot show. Peer pressure: the book holds each outcome fixed.
Decision requested. Approve a one-year pilot with both arms. I own it; review in twelve months, and stop if joint groups do no better than individual ones.
How this could be wrong. The cap of one instalment is an assumption, not data. At 25% the lender’s overdue is ₦22,547.80 per group.
Out of scope. Licensing of group products.
Now you
You are a credit analyst at a payday lender in Abuja, an unnamed company. Its head of credit wants a board note on a plan to lend to salaried staff of small firms in groups of five, sharing a guarantee, quoted at a flat 4.5% a month. The lender has no bureau file for many of these applicants. You write the note, the head of credit signs it, and the board decides whether to approve a six-month pilot. Use the lab’s book as a stand-in for this lender’s. Step 4 prints 8.0% overdue and a 34.0% chance, if members are independent, that a group of five has an overdue member. cap.py prints the lender’s overdue per group at three caps: ₦13,592.13, ₦18,541.93 and ₦22,547.80. Step 2 prints 850 loans with no file, 14.6% bad, and step 1 prints the flat rate’s true monthly rate of 7.29%. Choose your own three lessons from the chapter, each with its source and caveat.
Self-check
Northmere's credit committee is pitched a group-lending pilot for market traders. In the lab simulation a guarantee between five members cuts the lender's overdue amount by more than half, and screening alone cuts it by about half too. Abidemi is for the pilot; Adedayo points out that the book cannot show peer pressure, and that a study in the Philippines found no rise in default when joint liability was removed. The committee must decide how to find out whether the guarantee earns its keep.
- PAPER Group lending, repayment incentives and social collateral Timothy Besley and Stephen Coate, 1995
The theory of why joint liability might raise or lower repayment. Read the abstract and the discussion of the whole-group default; skip the proofs on a first pass. Read: Journal of Development Economics 46(1), pages 1 to 18: the abstract and the sections on repayment incentives.
- PAPER Group versus individual liability: short and long term evidence from Philippine microcredit lending groups Xavier Giné and Dean Karlan, 2014
Two randomised trials with one bank. Read what the trials changed and what they found, and note that it is one bank's evidence. Read: Journal of Development Economics 107, pages 65 to 83: the abstract and the results sections.
- POST The History of the FICO Score FICO
The scoring company's own account of its score. Read it for dates and what the score was built to do; it is the company's own account, so weigh the claims for the product accordingly.
- POST Why not rent a sewing machine to the housewife Baker Library, Harvard Business School
A library essay on Singer's instalment plan within the history of consumer credit. Read it for how the plan changed sales; note the dates in the sources differ.
- DOC Fair Credit Reporting Act, 15 U.S.C. 1681 United States Code
The statement of findings and purpose that opens the United States credit reporting law. Read the first section to see what problem the law names; the rest is for specialists.
- POST Top 10 things to know about M-Shwari CGAP
A development-finance reading of the first mobile loan product, written when it was new. Read it for how the partners divided the work; the customer figures are the partners' own and the later history has moved on.
- DOC The Usury Act, 1713 (12 Anne, session 2)
An index page for the English statute that set the legal rate of interest. Read it with care: sources number the Act differently, and you should check the 5% figure against the statute's text.
- DOC Grameen Bank (Banglapedia)
Bangladesh's national encyclopedia entry on the bank. A secondary source: use it for the bank's founding under the 1983 ordinance, and look for the bank's own documents on how liability worked in practice.
All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.