Consider the following data: 5, 14, 7, 6, 12, 13, 4, 9, 8, 8, 17, 10, 8,
Fantastic news! We've Found the answer you've been seeking!
Question:
Consider the following data: 5, 14, 7, 6, 12, 13, 4, 9, 8, 8, 17, 10, 8, 6, 11, 20, 7, 8, 15, 9.
Give a Python program that puts this data into a numpy array and prints out the descriptive statistics (i.e. the four moments). (How do you know your answers are right?)
3.) Provide a Python program that calculates the Rule of 72. Your program should demonstrate that it calculates correctly by calling it using returns of 2%, 5%, and 10%. (How do you know your answers are right?)
4.) Do codes for a Python program that sums up the numbers from 1 to 100 using a for loop and prints the answer. (How do you know your answers are right?)
Related Book For
Introductory Statistics Exploring The World Through Data
ISBN: 9780321978271
2nd Edition
Authors: Robert Gould, Colleen Ryan
Posted Date: