Unlock 2026 Benchmark data → Get end-to-end journey insights to stay ahead.

Get the Report
skip to content
Loading...
    • Why Product Analytics And what can it do for you?
    • How Heap Works A video guide
    • How Heap Compares Heap vs. competitors
    • Product Analytics + Digital Experience Analytics A deeper dive
    • Benchmark 2026 Report Explore benchmark data
    Watch a Demo
  • Data Insights

    • Journeys Visual maps of all user flows
    • Sense AI Analytics for everyone
    • Web Analytics Integrate key web metrics
    • Session Replay Complete context with a single click
    • Heatmaps Visualize user behavior instantly
    • Heap Illuminate Data science that pinpoints unknown friction

    Data Analysis

    • Segments User cohorts for actionable insights
    • Dashboards Share insights on critical metrics
    • Charts Analyze everything about your users
    • Playbooks Plug-and-play templates and analyses

    Data Foundation

    • Capture Automatic event tracking and apis
    • Mobile Track and analyze your users across devices
    • Enrichment Add context to your data
    • Integrations Connect bi-directionally to other tools

    Data Management

    • Governance Keep data clean and trusted
    • Security & Privacy Security and compliance made simple
    • Infrastructure How we build for scale
    • Heap Connect Send Heap data directly to your warehouse
  • Solutions

    • Funnel Optimization Improve conversion in user flows
    • Product Adoption Maximize adoption across your site
    • User Behavior Understand what your users do
    • Product Led Growth Manage PLG with data

    Industries

    • SaaS Easily improve acquisition, retention, and expansion
    • Retail and eComm Increase purchases and order value
    • Healthcare Build better digital patient experiences
    • Financial Services Raise share of wallet and LTV

    Heap For Teams

    • Product Teams Optimize product activation, conversion and retention
    • Marketing Teams Optimize acquisition performance and costs
    • Data Teams Optimize behavioral data without code
  • Pricing
  • Support

    • Heap University Video Tutorials
    • Help Center How to use Heap
    • Heap Plays Tactical how-to guides
    • Professional Services

    Resources

    • Down the Funnel Our complete blog and content library
    • Webinars & Events Events and webinar recordings
    • Press News from and about Heap
    • Careers Join us

    Ecosystem

    • Customer Community Join the conversation
    • Partners Technology and Solutions Partners
    • Developers
    • Customers Stories from over 9,000 successful companies
  • Free TrialRequest Demo
  • Log In
  • Free Trial
  • Request Demo
  • Log In

All Blogs

Text Only: How We Use Pseudo R2 to Automate Analysis Suggestions

David Robinson
August 24, 20213 min read
  • Facebook
  • Twitter
  • LinkedIn

Null Model funnel results

Table with header, 1 row, and 3 columns

| Starts | Successes | Conversion Rate |

| 1000 | 200 | 20% |

Line plot of likelihood of 200/1000 successes

Line plot with title: “Likelihood of 200/1000 successes as a function of probability p”

x-axis is p; ranges from 0.1% to 90%

y-axis is 200 * log(p) + 800 * log(1 - p)

The curve has a single maximum when p = 20% and the log-likelihood is -500.4, and reaches minima at .1% and at 90%

Grouped funnel results

Table with header, 2 rows, and 4 columns

| Device Type | Started| Converted | Conversion Rate |

| Desktop | 500 | 150 | 30% |

| Mobile | 500 | 50 | 10% |

Table results of a 200/1000 conversion rate

Table with header, 2 rows, and 4 columns

| Device Type | Started | Converted | Conversion Rate |

| Desktop | 200 | 200 | 100% |

| Mobile | 800 | 0 | 0% |

Table results for our three funnels

Table with header, 5 rows, and 7 columns. First row is gray, next 2 rows ("Partially explanatory") are light blue, last 2 rows ("Perfectly explanatory") are green.

| Model |Device Type | Started | Converted\ | Conversion Rate | Log-Likelihood | Pseudo R² |

| Null model | Overall | 200 | 1000 | 20% | -500.4 | 0% |

| Partially explanatory | Desktop | 500 | 150 | 30% | -468.0 | 6.40% |

| Partially explanatory | Mobile | 500 | 50 | 20% | -468.0 | 6.40% |

| Perfectly explanatory | Desktop | 200 | 200 | 100% | 0.0 | 100% |

| Perfectly explanatory | Mobile | 800 | 0 | 0% | 0.0 | 100% |

Table results when conversion rates across groups are similar

Table with header, 2 rows, and 7 columns

| Model | Device Type | Started | Converted | Conversion Rate | Log-Likelihood | Pseudo R² |

| Similar success rates | Desktop | 500 | 105 | 21% | -500.1 | 0.06% |

| Similar success rates | Mobile | 500 | 95 | 19% | -500.1| 0.06% |

Heatmap of how the difference in conversion rates affects pseudo-R²

Heatmap with title “Pseudo-R^2 across two groups depends on the difference in conversion rate”

Subtitle: For two groups of equal size

x-axis: Conversion rate in Group 1

y-axis: Conversion rate in Group 2

Color scale is a rainbow with label “Pseudo-R^2”, ranging from blue to red

The graph is blue along the x=y diagonal (pseudo-R^2 is low), then grows warmer as the conversion rates of x and y differ, until the maximum of pseudo-R^2 = 100% at the top left (0%, 100%) and the bottom right (100%, 0%) of the graph.

Table results when one group is far more common

Table with header, 2 rows, and 7 columns

| Model | Device Type | Started | Converted | Conversion Rate | Log-Likelihood | Pseudo R² |

| Uneven composition | Desktop | 980 | 200 | 20.20% | -498.2 | 0.44%|

| Uneven composition | Mobile | 20 | 0 | 0% | -498.2 | 0.44% |

Outcomes of all five models

The five outcomes listed above in order: Null model, similar success rates, uneven composition, partially explanatory, and perfectly explanatory.

As the log likelihoods increase from -500.4 to 0 across these, the Pseudo-R^2 goes from 0% to 100%.

Heatmap of pseudo-R² across two groups

Heatmap with title “Pseudo-R^2 across two groups depends on the composition and difference in conversion rate”

Subtitle: Subplots each show a different composition, from 1:99 to 99:1.

x-axis: Conversion rate in Group 1

y-axis: Conversion rate in Group 2

Color scale is a rainbow with label “Pseudo-R^2”, ranging from blue (0%) to red (100%)

The graph is divided into 9 subplots, from “1% in Group 1” on the top left, then to “10% / 20% / 30% / 50% / 70% / 80% / 90% / 99%.”

Every graph is blue along the x=y diagonal and grows warmer farther from it. (pseudo-R^2 is low). However, the closer the composition is to 1% or to 99%, the more of the graph is blue (pseudo-R^2 is low no matter the conversion rate).

How pseudo-R² handles three groups

Table with header, 3 rows, and 6 columns

| Device Type | Started | Converted | Conversion Rate | Log-Likelihood | Pseudo R² |

| Desktop | 480 | 91 | 19.00% | -496 | 0.88% |

| Mobile | 480 | 93 | 19.40% | -496 | 0.88% |

| Tablet | 40 | 16 | 40% | -496 | 0.88% |

David Robinson

Was this helpful?
PreviousNext

Related Stories

See All

  • Heap.io
    article

    Heap x Contentsquare: Meet the Future of Experience Analytics

    At Heap, our vision is to build a better digital world. Our mission is to make it easy to understand and improve digital experiences. Our promise to our customers is to help quickly pinpoint the most important digital insights to accelerate their business.

  • Heap.io
    article

    A four-step guide to building behavioral personas

    Boost your business growth by catering to user behavioral personas.

  • Heap
    article

    Heap announces new generative AI CoPilot

    Heap, the leader in product analytics, unveils AI CoPilot’s open beta today.

Better insights. Faster.

Request Demo
  • Platform
  • Capture
  • Enrichment
  • Integrations
  • Governance
  • Security & Privacy
  • Infrastructure
  • Heap Illuminate
  • Segments
  • Charts
  • Dashboards
  • Playbooks
  • Use Cases
  • Funnel Optimization
  • Product Adoption
  • User Behavior
  • Product Led Growth
  • Customer 360
  • SaaS
  • Retail and eComm
  • Financial Services
  • Why Heap
  • Why Product Analytics
  • How Heap Works
  • How Heap Compares
  • CRO Analyzer
  • Benchmark 2026 Report
  • Resources
  • Blog
  • Content Library
  • Events
  • Topics
  • Heap University
  • Community
  • Professional Services
  • Company
  • About
  • Partners
  • Press
  • Careers
  • Customers
  • DEI
  • Support
  • Request Demo
  • Help Center
  • Contact Us
  • Pricing
  • Social
    • Twitter
    • Facebook
    • LinkedIn
    • YouTube

© 2026 Heap Inc. All Rights Reserved.

  • Legal
  • Privacy Policy
  • Status
  • Trust