Skip to content

timsamson/MatPlotLib_Challange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MatPlotLib_Challange

pymaceuticals

Intoduction

The Pymaceuticals challnage examines different cancer treatments and thier efficacy on labratory mice. The study looks at multiple treatemnts and then later focuses on four for further analysis. Observations and Analysis can be found below.

Technologies

  • Python 3.6
  • Jupyter Notebook
  • Pandas

Dependencies

  • MatPlotLib
  • Scipy.stats
  • Numby
  • PyPlot

General Notes

Repo contains folder whith Jupyter notebook and resources Please use notebood titled:

pymaceuticals.ipynb

Observation and Analysis

Overall Analysis:

  • The bar graphs show the Drug Regimen Capomulin has the maximum mice number (230), and Zoniferol has the smaller mice number (182).
  • 248 total mice were in the study (after removing dupliates)
  • Total count of mice by gender are roughly equal.
    1. 124 female mice
    2. 125 male mice.
  • The correlation between mouse weight, and average tumor volume is 0.84. There is a strong positive correlation, between mouse weight and tumor volume.
  • The regression analysis shows the average tumor volume changes with changes occuring to the weight of mice.
  • From the four analyzed treatments Capomulin and Ramicane show reductions in the size of tumors.
  • Bar Charts

    Two identical bar charts showing the number of treatment counts. The charts were generated by using both Pandas's DataFrame.plot() and Matplotlib's pyplot.

    Analysis:

    Drug Treatment Bar Chart"

    Drug Treatment Bar PyPlot"

    Pie Charts

    Two pie charts showing the sex of the study mice. The charts were generated by using both Pandas's DataFrame.plot() and Matplotlib's pyplot.

    Analysis: Approximatly equal number of make and female mice are int ehh study.

    Mice Sex Pie Chart"

    Mice Sex Pie Chart PyPlot"

    Quartiles, Outliers and Boxplots

    The final tumor volume of each mouse across four of the most promising treatment regimens
    1. Capomulin
    2. Ramicane
    3. Infubinol
    4. Ceftamin

    Quartiles, IQR, and potential outliers across all the four treatment regimens was quantitatively determined.

    Quartiles and IQR"

    Box and Whisker Plot

    Tumor Volume Box Plot"

    Tumor Volume

    Mouse weight correlates strongly (R-squared of 0.84) with average tumor volume. Correlating only with the final tumor volume to efficacy of reginment without factorinig in mouse weight may skew the data related to efficacy.

    Tumor Volume Lne (single Mouse)"

    Scatter Plot Capomulin"

    Regression Model"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published