Skip to content

Practice datasets

Three real Kenyan datasets used across the exercises. Variable names, types, units, and source for each. Reference this page whenever an exercise asks for a variable you don't recognise.

bankrates.dta21 obs · 6 vars

Kenya commercial bank weighted average rates

Monthly observations of deposit, savings, lending, and overdraft rates from the Central Bank of Kenya, 2018-2025.

Variables

NameTypeLabel
yearnumericYear
monthnumericMonth (1-12)
depositnumericDeposit rate (%)
savingsnumericSavings rate (%)
lendingnumericLending rate (%)
overdraftnumericOverdraft rate (%)

Sample rows

yearmonthdepositsavingslendingoverdraft
201818.26.4913.6612.78
201868.076.6213.0612.31
2018127.916.3112.4811.9
201967.436.1612.4912.19
2019127.044.4212.2111.51

First 5 of 21 rows.

pension.dta14 obs · 8 vars

Kenya pension industry asset allocation

Half-yearly observations of total industry AUM and allocation across major asset classes from the Retirement Benefits Authority.

Variables

NameTypeLabel
yearnumericYear
halfnumericHalf (1 or 2)
totnumericTotal AUM (KSh B)
gov_snumericGovernment securities (KSh B)
qt_eqnumericQuoted equities (KSh B)
guer_fundnumericGuaranteed funds (KSh B)
imm_propnumericImmovable property (KSh B)
off_shnumericOffshore (KSh B)

Sample rows

yearhalftotgov_sqt_eqguer_fundimm_propoff_sh
201811166.7423.7241.5159.6229.315
201821166.5459.7201.5167.5229.913.1
201911244.9518.4203.6186.5233.67.2
201921298.2545.3228.1201.5239.76.3
202011322.6581.8187.5221.4246.15.9

First 5 of 14 rows.

mpesa.dta14 obs · 5 vars

Kenya mobile money transaction volumes

Monthly transaction count and value across all licensed mobile money providers in Kenya.

Variables

NameTypeLabel
yearnumericYear
monthnumericMonth (1-12)
tx_count_mnumericTransactions (millions)
tx_value_bnumericValue (KSh Billion)
active_users_mnumericActive users (millions)

Sample rows

yearmonthtx_count_mtx_value_bactive_users_m
20186156.2320.128.4
201812167.8348.229.1
20196175.3376.530.5
201912182.6401.231.4
20206168.4358.732.8

First 5 of 14 rows.