Skip to content

max1c/a_problem_with_presidents

Repository files navigation

a_problem_with_presidents

Solution to a problem with presidents:

A Problem with Presidents; a data to information challenge. Author: Christopher P. Barnes Date: September 28, 2021 Problem Statement: A fairly common statement you may hear is that data becomes information, information becomes knowledge, and knowledge becomes wisdom. Our job is primarily involved in using computer code, mathematics and experience to convert data into information. To become information, the data must be taken from a source, transformed into input, processed by a set of algorithms, transformed into output, and delivered to a consumer.

Date math and basic exploratory data analysis using descriptive statistics are a corner stone of writing computer code to manage real world data that occurs in a longitudinal manner. The goal of this problem is to give you a simple data set to allow you to demonstrate your understanding of how to apply computer code to solve a problem and then further use computer code to communicate your new information to people.

Using the given data and Python or R; add new variables called year_of_birth, lived_years, lived_months, lived_days then make two well formatted output tables ranking the top 10 Presidents from longest lived to shortest lived and then the top 10 presidents from shortest lived to longest lived.

Then using your newly created data calculate the mean, weighted mean, median, mode, max, min and standard deviation of lived_days for your data set. Output these measures in a well formatted table. Then, make a plot of a type that you think best shows the distribution of this data.

Assemble your tables and plot into a single report with a title, author and date. Start the report with a 3 or 4 sentence summary of what you found, the body should have your tables and plot and any commentary about your methods or assumptions you think the reader would need to know. Finish the report with a conclusions section, where you state the conclusions you reached through this analysis.

To finish commit all your code and your report to your personal Github repository and then email back CTS-IT with a link to your completed problem.

Good Luck!

References: https://eng.libretexts.org/Bookshelves/Industrial_and_Systems_Engineering/Book%3A_Chemical_Process_Dynamics_and_Controls_(Woolf)/13%3A_Statistics_and_Probability_Background/13.01%3A_Basic_statistics-_mean%2C_median%2C_average%2C_standard_deviation%2C_z-scores%2C_and_p-value

References: https://github.com/senrabc/a_problem_with_presidents

About

Solution to a problem with presidents

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published