• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
The Analysis Factor

The Analysis Factor

Statistical Consulting, Resources, and Statistics Workshops for Researchers

  • Home
  • About
    • Our Programs
    • Our Team
    • Our Core Values
    • Our Privacy Policy
    • Employment
    • Guest Instructors
  • Membership
    • Statistically Speaking Membership Program
    • Login
  • Workshops
    • Online Workshops
    • Login
  • Consulting
    • Statistical Consulting Services
    • Login
  • Free Webinars
  • Contact
  • Login

How to Set up Censored Data for Event History Analysis

by guest 1 Comment

Censored data are inherent in any analysis, like Event History or Survival Analysis, in which the outcome measures the Time to Event (TTE).  Censoring occurs when the event doesn’t occur for an observed individual during the time we observe them.

Despite the name, the event of “survival” could be any categorical event that you would like to describe the mean or median TTE.  To take the censoring into account, though, you need to make sure your data are set up correctly.

Here is a simple example, for a data set that measures days after surgery until an adverse event (like an infection) occurs:

Data Setup for Time-To-Event Analysis

Person   Adverse Event      Days        Censored

1                YES                             4              NO

2                YES                           44             NO

3                 NO                            49            YES

4                YES                           70            NO

5                 NO                            90            YES

All patients were followed after surgery for the occurrence of adverse events. So we would want to measure the median TTE, or the median number of days to experiencing an adverse event after surgery.

The event in this case is Adverse Event = YES. The total time patients were followed was 90 days. We can see that Patient 1 had an adverse event at 4 days post-op, while patient 3 did not have an adverse event – but was only followed for 49 days.

By having one variable for number of days and another that indicates whether censoring occurs, we can account for censoring in calculating each person’s risk of the event occurring.

Introduction to Survival Analysis
Learn the key tools necessary to learn Survival Analysis in this brief introduction to censoring, graphing, and tests used in analyzing time-to-event data.

Tagged With: Censoring, Event History Analysis, Survival Analysis

Related Posts

  • Six Types of Survival Analysis and Challenges in Learning Them
  • What is Survival Analysis and When Can It Be Used?
  • Censoring in Time-to-Event Analysis
  • What Is a Hazard Function in Survival Analysis?

Reader Interactions

Comments

  1. Laky says

    August 29, 2020 at 9:43 pm

    As a retired MBA professor and statistical SixSigma TQM Marketing consultant and trainer and IIM Ahmedabad Alumni and former Academic counsellor IGNOU I have been deeply interested in Analysis of survival data post surgery or treatment . Most of the clinical trials and testing cases are based on inadequate,not reprentive non probability sampling methods by Researchers and Academicians and Medical professionals basic normality validation of data is seldom carried out due to lack of apprectyion and understandings of Stististical Methods and hypothesis testing Norms
    Dr LakshmanRao Krisnapuri Chennai India

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Please note that, due to the large number of comments submitted, any questions on problems related to a personal study/project will not be answered. We suggest joining Statistically Speaking, where you have access to a private forum and more resources 24/7.

Primary Sidebar

Free Webinars

Effect Size Statistics on Tuesday, Feb 2nd

This Month’s Statistically Speaking Live Training

  • January Member Training: A Gentle Introduction To Random Slopes In Multilevel Models

Upcoming Workshops

  • Logistic Regression for Binary, Ordinal, and Multinomial Outcomes (May 2021)
  • Introduction to Generalized Linear Mixed Models (May 2021)

Read Our Book



Data Analysis with SPSS
(4th Edition)

by Stephen Sweet and
Karen Grace-Martin

Statistical Resources by Topic

  • Fundamental Statistics
  • Effect Size Statistics, Power, and Sample Size Calculations
  • Analysis of Variance and Covariance
  • Linear Regression
  • Complex Surveys & Sampling
  • Count Regression Models
  • Logistic Regression
  • Missing Data
  • Mixed and Multilevel Models
  • Principal Component Analysis and Factor Analysis
  • Structural Equation Modeling
  • Survival Analysis and Event History Analysis
  • Data Analysis Practice and Skills
  • R
  • SPSS
  • Stata

Copyright © 2008–2021 The Analysis Factor, LLC. All rights reserved.
877-272-8096   Contact Us

The Analysis Factor uses cookies to ensure that we give you the best experience of our website. If you continue we assume that you consent to receive cookies on all websites from The Analysis Factor.
Continue Privacy Policy
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.