Git Product home page Git Product logo

survival_analysis's Introduction

Survival_Analysis

This project focuses on the analysis of survival patients with Aids. The length of the probe is approximately 5 years, and data contains variables such as date of diagnosis, date of death, sex, age, and status.

Firstly I needed to clean the data so that further analysis could be made. With the use of classical functions and anonymous functions, I cleaned it and deleted empty columns. Additionally, I divided the data into 2 datasets, one with 5 years and the second with 2 to check differences between survival analysis between those years.

Finally using the Python library Lifelines I presented the Kaplan-Meier plot with differences between sexes in 2-year analysis, and used the log-rank test to check if both sexes had the same survival curves.

Furthermore, I checked the differences for 2-year data for both sexes in the Weibull distribution with the extraction of the lambda and rho value from that model and predicting the survival for females.

Afterward, I committed 3 plots with an examination of qqplots from 3 kinds of distributions (Weibull, Exponential and LogNormal), additionally, I counted the estimator AIC for each of those distributions.

Finally, I checked the Cox proportional hazards model and observed which of the variables had the biggest influence on the status of the patient.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.