We use cookies, including third-party cookies from Google to serve personalized ads through AdSense, to operate this site and understand how it is used. By continuing to browse, you accept this use. See our Privacy Policy and Terms of Use for details, including how to opt out of personalized advertising.
Accept
SmartData CollectiveSmartData Collective
  • Analytics
    AnalyticsShow More
    What Kind of Problem-Solving Distinguishes Data Analysts From Software Engineers -- AI-generated illustration
    What Kind of Problem-Solving Distinguishes Data Analysts From Software Engineers
    7 Min Read
    chatgpt image jul 21, 2026, 04 34 30 pm
    4 Core Benefits of Predictive Maintenance after Vibration Analysis
    10 Min Read
    How Does Data Mining Boost Customer Satisfaction in Logistics? Harnessing Analytics for Results -- AI-generated illustration
    How Does Data Mining Boost Customer Satisfaction in Logistics? Harnessing Analytics for Results
    11 Min Read
    chatgpt image jul 13, 2026, 04 23 45 pm
    How Data Analytics Helps Companies Improve User Engagement
    19 Min Read
    chatgpt image jul 13, 2026, 03 59 46 pm
    How Data Analytics Improves Multi-Location Search Strategies
    10 Min Read
  • Big Data
  • BI
  • Exclusive
  • IT
  • Marketing
  • Software
Search
© 2008-25 SmartData Collective. All Rights Reserved.
Reading: Using R to analyze lifetimes of business systems
Share
Notification
Font ResizerAa
SmartData CollectiveSmartData Collective
Font ResizerAa
Search
  • About
  • Help
  • Privacy
Follow US
© 2008-23 SmartData Collective. All Rights Reserved.
SmartData Collective > Uncategorized > Using R to analyze lifetimes of business systems
Uncategorized

Using R to analyze lifetimes of business systems

DavidMSmith
DavidMSmith
5 Min Read
Using R to analyze lifetimes of business systems
Photo by Andrea Piacquadio on Pexels (https://www.pexels.com/photo/man-in-black-suit-using-a-gadget-3782223/)
SHARE

Here's an interesting use of R outside the "usual" statistics domains: using advanced analytics to estimate how long a typical content-management system (CMS) remains in use. Some industry analysts cite a lifetime of 3 years, but can that estimate be backed up with data? To investigate, Michael Marth uses the customer records from a CMS provider, and looks at how long their support contracts were maintained (as a proxy for the system actually being in use). These data require a special kind of analysis, so lets take a look in detail. 

In the data, some of the contracts are still active: for example, the customer took out a support contract 4 years ago, and the contract has not yet been terminated. In statistics, this is called a right-censored data point: we know the contract will terminate eventually, but as of today, we don't know when. We do know that when it does terminate, it will have lasted at least 4 years. A naive analysis would just include this data point with a duration of 4 years, but that would bias the estimated average lifetime downwards. By the same token, we can't just ignore this data point either (not least because it would waste much of our data!).

Fortunately, Statistics (and R) comes to the rescue with a technique called survival analysis. As the name suggests it originated in the medical field where the goal was to identify medical treatments that prolong life (lung cancer treatments, for example) without having to wait for all the patients to die before identifying a life-saving treatment. In that situation, the analysis includes data from some patients who lived some years since treatment and then died, but also includes patients that had the treatment some years ago and remain alive today. You can apply the same technique to any kind of duration data where the ultimate duration may not be known at the time of analysis. Examples include: time to failure of a machine component, time to resolution of a customer support issue, and duration of a service contract.

One of the useful things with survival analysis is that you don't simply get an estimate of the average contract time (in our original example): you can also find out what percentage of contracts last at least 3 years (or any other duration), and get error bars on that estimate to boot. R calculates this readily using the built in "survfit" function, which displays the results in a chart called a Kaplan-Meier chart:
Km-survival
The chart looks complicated, but it's easy to read with practice. Look along the horizontal axis to choose a time period: let's choose 1100 days (about 3 years). Now look upwards to find the solid line between the two dashed lines, and check its position on the vertical axis — I read it to be about 0.75. This indicates that 75% of support contracts (plus or minus about 10%) last at least three years, much better than the average duration of 3 years indicated by the analyst. In fact, according to this analysis the mean survival time is 6.75 years.

I've seen plenty of such analyses done the "naive" way in Excel, and you can see why this might lead you to the wrong conclusion. If you have data like this, it's worth taking a look at R to get better information out of censored data.

dev.day.com: The Lifetime of a CMS installation 

More Read

Book Review: Googled by Ken Auletta
Book Review: Googled by Ken Auletta
The Many Faces of R
Web Tracking and Analytics Data in Salesforce: Why They’re Necessary
Social Networking, Downtime, Speaking, and Farg
Big Data Education: Why Learning Will Never Be the Same
Share This Article
Facebook Pinterest LinkedIn
Share

Follow us on Facebook

Latest News

Flat editorial illustration: The article's core relationship is the engineering transition from an AI prototype to a production-r
From AI Prototype to Production: Observability and Scalability Requirements for Data-Heavy SaaS Applications
Artificial Intelligence Exclusive
Preparing Data Systems and Governance for a Scaling Global Gaming Brand -- AI-generated illustration
Preparing Data Systems and Governance for a Scaling Global Gaming Brand
Big Data Infographic
How Restaurant POS and Ordering Data Reveal Generational Customer Patterns -- AI-generated illustration
How Restaurant POS and Ordering Data Reveal Generational Customer Patterns
Exclusive Infographic
From Trucks To Data: How Telematics Can Improve Freight Transportation -- AI-generated illustration
From Trucks To Data: How Telematics Can Improve Freight Transportation
Big Data Exclusive Infographic

Stay Connected

1.2KFollowersLike
33.7KFollowersFollow
222FollowersPin

You Might also Like

HamsterDB
Uncategorized

HamsterDB

3 Min Read
Big Data Analytics: 9 Easy Steps to Unlock Breakthrough Results
Uncategorized

Big Data Analytics: 9 Easy Steps to Unlock Breakthrough Results

7 Min Read
Over / Under Communication for Project Managers
Uncategorized

Over / Under Communication for Project Managers

8 Min Read
Enhance your security posture
Uncategorized

Enhance your security posture

4 Min Read

SmartData Collective is one of the largest & trusted community covering technical content about Big Data, BI, Cloud, Analytics, Artificial Intelligence, IoT & more.

Chatbots and SEO: How Can Chatbots Improve Your SEO Ranking?
Chatbots and SEO: How Can Chatbots Improve Your SEO Ranking?
Artificial Intelligence Chatbots Exclusive
From Bolts to Bots: How AI Is Fortifying the Automotive Industry
From Bolts to Bots: How AI Is Fortifying the Automotive Industry
Artificial Intelligence

Quick Link

  • About
  • Contact
  • Privacy
Follow US
© 2008-26 SmartData Collective. All Rights Reserved.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?