Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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?)

Step by Step Solution

3.45 Rating (145 Votes )

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introductory Statistics Exploring The World Through Data

Authors: Robert Gould, Colleen Ryan

2nd Edition

9780321978509, 321978277, 321978501, 978-0321978271

More Books

Students also viewed these Programming questions

Question

discuss marketing organizational structures

Answered: 1 week ago

Question

Subtract the polynomials. (-x+x-5) - (x-x + 5)

Answered: 1 week ago