<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/level-with-me-can-the-wgi-predict-the-wjp-s-rule-of-law-scores--sgzd3zvyg" -->

---
title: Level With Me: Can the WGI Predict the WJP’s Rule of Law...
description: A follow-up analysis testing whether the World Governance Indicator (WGI) rule of law index can predict not just country rankings but actual score levels from...
canonical: https://daily.dev/posts/level-with-me-can-the-wgi-predict-the-wjp-s-rule-of-law-scores--sgzd3zvyg
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Level With Me: Can the WGI Predict the WJP’s Rule of Law Scores? | daily.dev
og:description: A follow-up analysis testing whether the World Governance Indicator (WGI) rule of law index can predict not just country rankings but actual score levels from...
og:url: https://daily.dev/posts/level-with-me-can-the-wgi-predict-the-wjp-s-rule-of-law-scores--sgzd3zvyg
og:image: https://api.daily.dev/og/posts/sGzd3zVYg.png
og:image:alt: Level With Me: Can the WGI Predict the WJP’s Rule of Law Scores?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Level With Me: Can the WGI Predict the WJP’s Rule of Law Scores?

**[R-bloggers](https://daily.dev/sources/rbloggers)** · 8 min read · 0 upvotes · 0 comments

## Summary

A follow-up analysis testing whether the World Governance Indicator (WGI) rule of law index can predict not just country rankings but actual score levels from the World Justice Project (WJP) index. Using R, the author fits a linear model achieving 97% R-squared, calculates LOO RMSE showing typical prediction error under 3%, identifies mild systematic bias at extremes of the scale, and resolves it by adding a quadratic term. An ANOVA test confirms the WGI's predictive relationship with WJP scores is stable over time (p=9%), concluding the WGI is a reliable proxy for WJP levels when non-linearity is accounted for.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.r-bloggers.com/2026/07/level-with-me-can-the-wgi-predict-the-wjps-rule-of-law-scores>

## Similar posts on daily.dev

- [Close Enough? Using the WGI as a Proxy for the WJP Rule of Law Index](https://daily.dev/posts/close-enough-using-the-wgi-as-a-proxy-for-the-wjp-rule-of-law-index-puppnnpqf) · R-bloggers · 0 upvotes · 0 comments
- [Institutions Are a Package Deal: What a Correlation Can’t Tell You About the Rule of Law](https://daily.dev/posts/institutions-are-a-package-deal-what-a-correlation-can-t-tell-you-about-the-rule-of-law-2fe1uwv55) · R-bloggers · 0 upvotes · 0 comments
- [Your AI Judge Is Grading Its Own Homework](https://daily.dev/posts/your-ai-judge-is-grading-its-own-homework-tuqmnph49) · Medium · 1 upvotes · 0 comments

---

Tags: [#r](https://daily.dev/tags/r), [#data-analysis](https://daily.dev/tags/data-analysis), [#linear-regression](https://daily.dev/tags/linear-regression)

[View this post on daily.dev](https://daily.dev/posts/level-with-me-can-the-wgi-predict-the-wjp-s-rule-of-law-scores--sgzd3zvyg)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Level With Me: Can the WGI Predict the WJP’s Rule of Law Scores?","url":"https://daily.dev/posts/level-with-me-can-the-wgi-predict-the-wjp-s-rule-of-law-scores--sgzd3zvyg","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/level-with-me-can-the-wgi-predict-the-wjp-s-rule-of-law-scores--sgzd3zvyg"},"datePublished":"2026-07-21T05:13:09.552Z","dateModified":"2026-07-21T05:13:38.668Z","description":"A follow-up analysis testing whether the World Governance Indicator (WGI) rule of law index can predict not just country rankings but actual score levels from...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7eee25f5c1c24872c170a0fdee61f635?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7eee25f5c1c24872c170a0fdee61f635?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"R-bloggers","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"R-bloggers","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/98bcbbdf72774292a55ceda8f2277f1e","url":"https://daily.dev/sources/rbloggers"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/level-with-me-can-the-wgi-predict-the-wjp-s-rule-of-law-scores--sgzd3zvyg","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"r,data-analysis,linear-regression","timeRequired":"PT8M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"R-bloggers","item":"https://daily.dev/sources/rbloggers"},{"@type":"ListItem","position":3,"name":"Level With Me: Can the WGI Predict the WJP’s Rule of Law Scores?"}]}
```

