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: Analytics
    Cut-paper editorial diagram of public web pages flowing through a terracotta volume meter into a BI budget panel.
    The Line Item Behind Public Web Data in BI: Proxy Bandwidth
    12 Min Read
    Flat editorial illustration: The article is about joining public web signals with internal business metrics so BI teams can inter
    Alternative Data in BI: Bringing Public Web Data Into Your Dashboards
    23 Min Read
    Flat editorial illustration: The article is about automating the collection, preparation, and delivery of marketing data across p
    From Data to Dashboards: 5 Marketing Reporting Automation Software Picks
    12 Min Read
    Flat editorial illustration: The article contrasts passive follower totals with a behavioral path from attention and trust to cli
    Creator Analytics Beyond Follower Count: Seven Metrics That Measure Audience Behavior
    11 Min Read
    Flat editorial illustration: The article connects AI and marketing analytics with managerial judgment grounded in consumer behavi
    How an Online MBA in Marketing Connects AI and Data Analytics
    11 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

Text Analytics Gurus Debunk 4 Big Data Myths
Text Analytics Gurus Debunk 4 Big Data Myths
Beyond the Jedi Mind Trick: Using Data Analytics to Link Star Wars Roles to Acting Career Success
Diabolocom Provides Customer Interaction in the Cloud Solution
Do you know what jobs your products do for your customers?
Most Swans are White: Living in a Predictive Society
Share This Article
Facebook Pinterest LinkedIn
Share

Follow us on Facebook

Latest News

Cut-paper scene of split mobile and TV signal cards passing through a charcoal bridge and vermilion reconciliation gates.
Data Fragmentation and Measurement Gaps in Programmatic
Big Data Exclusive
Cut-paper editorial scene of labeled data cards passing through a charcoal inspection frame and vermilion quality gates.
How to Measure Data Annotation Quality Before Release
Big Data Exclusive
Cut-paper editorial diagram of service callback tickets moving through a terracotta sorter into rising scorecard bars.
Why Your Redo Jobs Hold the Best Data in Your Franchise
Big Data Data Collection Exclusive
Cut-paper editorial diagram of public web pages flowing through a terracotta volume meter into a BI budget panel.
The Line Item Behind Public Web Data in BI: Proxy Bandwidth
Big Data Business Intelligence Exclusive Web Analytics

Stay Connected

1.2KFollowersLike
33.7KFollowersFollow
222FollowersPin

You Might also Like

Why Marketing Has a Branding Problem
Uncategorized

Why Marketing Has a Branding Problem

5 Min Read
3 Ways Data-Driven Marketing Drives Higher ROI
Uncategorized

3 Ways Data-Driven Marketing Drives Higher ROI

6 Min Read
Tim O'Reilly on The Endarkment
Uncategorized

Tim O’Reilly on The Endarkment

3 Min Read
Glenn Llopis and Tom H. C. Anderson Discuss Earning Serendipity and Social Media Marketing
Uncategorized

Glenn Llopis and Tom H. C. Anderson Discuss Earning Serendipity and Social Media Marketing

21 Min Read

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

ai chatbot
How AI Website Chatbots Improve Customer Support and Lead Generation
Chatbots Exclusive
The Art of Conversation: Enhancing Chatbots with Advanced AI Prompts
The Art of Conversation: Enhancing Chatbots with Advanced AI Prompts
Chatbots

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?