GithubHelp home page GithubHelp logo

jamie-gihu / matplotlib-challenge Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 341 KB

The goal is to use Python Matplotlib to tell a story by generating all of the tables and figures needed for the technical report of the study on anti-cancer pharmaceuticals on mice. Also provided is a top-level summary of the study results.

Jupyter Notebook 100.00%
matplotlib scc drug pharmaceuticals python pandas

matplotlib-challenge's Introduction

matplotlib-challenge - The Power of Plots

Jamie Tan Matplotlib Challenge submission

Background

What good is data without a good plot to tell the story?

So, let's take what you've learned about Python Matplotlib and apply it to a real-world situation and dataset:

While your data companions rushed off to jobs in finance and government, you remained adamant that science was the way for you. Staying true to your mission, you've joined Pymaceuticals Inc., a burgeoning pharmaceutical company based out of San Diego. Pymaceuticals specializes in anti-cancer pharmaceuticals. In its most recent efforts, it began screening for potential treatments for squamous cell carcinoma (SCC), a commonly occurring form of skin cancer.

As a senior data analyst at the company, you've been given access to the complete data from their most recent animal study. In this study, 249 mice identified with SCC tumor growth were treated through a variety of drug regimens. Over the course of 45 days, tumor development was observed and measured. The purpose of this study was to compare the performance of Pymaceuticals' drug of interest, Capomulin, versus the other treatment regimens. You have been tasked by the executive team to generate all of the tables and figures needed for the technical report of the study. The executive team also has asked for a top-level summary of the study results.

Analysis

Box plot of the final tumor volume of each mouse across four regimens of interest.

Fig1

Line plot of time point versus tumor volume for a mouse treated with Capomulin

Fig2

Scatter plot of mouse weight versus average tumor volume for the Capomulin regimen

Fig3

Correlation coefficient and linear regression model for mouse weight and average tumor volume for the Capomulin regimen

Fig4

Observations & Insights

  1. Capomulin and Ramicane are the only drugs that have observable reduction in the mice Tumor Volume after 45 days.

  2. There seems to be a strong positive correlation at 0.84 between weight and average tumor volume in mice for the Capomulin and Ramicane regimen.

  3. Ramicane seems may be a better choice compared to Capomulin due to the following: a) there is less difference between mean and median b) there is less variation in the data (more predictable outcome) as observed by the lower standard deviation and variance c) the average Metastatic Sites is smaller (1.20 vs 1.28 for Capomulin)

matplotlib-challenge's People

Contributors

jamie-gihu avatar

Stargazers

 avatar

Watchers

 avatar

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.