DataBrighten

    Rule of Law - Standard error of the governance estimate

    5,503 × 6rows × columns: 207 countries, 1996 to 2025

    Real data: World Bank, Worldwide Governance Indicators, indicator GOV_WGI_RL.SE, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows5,503country-year values
    Countries207with at least one value
    Years1996 – 202527 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Rule of Law (RL) captures perceptions of the extent to which agents respect and follow the rules of society, including contract enforcement, property rights, the police, courts, and the likelihood of crime and violence. Standard error indicates the precision of the governance estimate. Larger values indicate less precise estimates. A 90% confidence interval for the governance estimate is given by the estimate +/- 1.64 times the standard error.

    The numbers in 2025

    In 2025, 207 countries have a value. The highest is New Caledonia (0.662); the lowest is Kenya (0.136). The median country value is 0.157.

    Top 10 countries, 2025

    value

    Source: World Bank, GOV_WGI_RL.SE, retrieved 19 November 2026. Computed from rule-of-law-standard-error-of-the-governance-estimate.csv.

    Highest, 2025

    #CountryValue
    1New Caledonia0.662
    2French Polynesia0.503
    3American Samoa0.402
    4Bermuda0.402
    5Guam0.402
    6Virgin Islands (U.S.)0.402
    7Andorra0.355
    8Monaco0.355
    9San Marino0.355
    10Naoero0.351

    Lowest, 2025

    #CountryValue
    1Kenya0.136
    2Ghana0.138
    3Zimbabwe0.14
    4Mozambique0.14
    5Liberia0.14
    6Congo, Dem. Rep.0.14
    7Zambia0.142
    8Tanzania0.142
    9Sierra Leone0.142
    10Senegal0.142
    How many countries report, by decade
    DecadeMost countries in one year
    1990s197
    2000s204
    2010s207
    2020s207

    First rows

    rule-of-law-standard-error-of-the-governance-estimate.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19960.3800449
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19980.3800449
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20000.3800449
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20020.3310219
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20030.3310219
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20040.2246536
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20050.2153896
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20060.1977628

    Data dictionary

    ColumnTypeMeaning
    countrytextCountry or economy, World Bank name
    iso3textISO 3166-1 alpha-3 code
    regiontextWorld Bank region
    income_grouptextWorld Bank income group
    yearnumberCalendar year of the value
    valuenumberRule of Law - Standard error of the governance estimate, exactly as the World Bank API returns it (not rounded)

    Only country-years with a value are in the long file; blank cells in the wide file mean no value was published.

    Practice questions

    answers computed from the file

    Which country has the highest value in 2025?

    New Caledonia, with 0.662.

    Excel (on the long CSV: E = year, F = value)

    =FILTER(A2:A100000,(E2:E100000=2025)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2025)))

    SQL (table wb = the CSV)

    SELECT country, value FROM wb WHERE year = 2025
      AND value = (SELECT MAX(value) FROM wb WHERE year = 2025);

    pandas (df = pd.read_csv("rule-of-law-standard-error-of-the-governance-estimate.csv"))

    y = df[df.year == 2025]
    y[y.value == y.value.max()][["country", "value"]]

    File: rule-of-law-standard-error-of-the-governance-estimate.csv

    How many countries report a value for 2025?

    207 of the 217 economies in the file's country list.

    Excel (on the long CSV: E = year, F = value)

    =COUNTIF(E2:E100000,2025)

    SQL (table wb = the CSV)

    SELECT COUNT(*) FROM wb WHERE year = 2025;

    pandas (df = pd.read_csv("rule-of-law-standard-error-of-the-governance-estimate.csv"))

    (df.year == 2025).sum()

    File: rule-of-law-standard-error-of-the-governance-estimate.csv

    What is the median across countries in 2025?

    0.157 (median of the 207 country values; not a World Bank aggregate).

    Excel (on the long CSV: E = year, F = value)

    =MEDIAN(FILTER(F2:F100000,E2:E100000=2025))

    SQL (table wb = the CSV)

    -- SQLite has no MEDIAN(); this picks the middle value(s)
    SELECT AVG(value) FROM (SELECT value FROM wb WHERE year = 2025 ORDER BY value
      LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2025) % 2
      OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2025));

    pandas (df = pd.read_csv("rule-of-law-standard-error-of-the-governance-estimate.csv"))

    df[df.year == 2025]["value"].median()

    File: rule-of-law-standard-error-of-the-governance-estimate.csv

    Which country rose the most between 2015 and 2025?

    Micronesia, Fed. Sts.: from 0.26 to 0.289, a rise of 0.0288 (out of 205 countries with both years).

    Excel (on the long CSV: E = year, F = value)

    Use the wide file (rule-of-law-standard-error-of-the-governance-estimate-wide.csv): add a column = [2025] - [2015], then sort it largest to smallest.

    SQL (table wb = the CSV)

    SELECT a.country, b.value - a.value AS rise FROM wb a JOIN wb b ON a.iso3 = b.iso3
    WHERE a.year = 2015 AND b.year = 2025 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("rule-of-law-standard-error-of-the-governance-estimate.csv"))

    w = df.pivot(index="country", columns="year", values="value")
    (w[2025] - w[2015]).dropna().nlargest(1)

    File: rule-of-law-standard-error-of-the-governance-estimate.csv

    Which year has the most countries reporting?

    2025, with 207 countries.

    Excel (on the long CSV: E = year, F = value)

    Make a pivot table: year in Rows, Count of value in Values, then sort by the count.

    SQL (table wb = the CSV)

    SELECT year, COUNT(*) AS n FROM wb GROUP BY year ORDER BY n DESC, year DESC LIMIT 1;

    pandas (df = pd.read_csv("rule-of-law-standard-error-of-the-governance-estimate.csv"))

    df.groupby("year").size().sort_values(ascending=False).head(1)

    File: rule-of-law-standard-error-of-the-governance-estimate.csv