Write the missing functions myAverage, myStandardDev, myMin, and myCorrelation in the following code

computer science

Description

Question I: 

Generate a list of 300 random values in the range 1–99. Determine, print, and remove duplicate values of numbers from the list that appears more than 2 times. Your program should print 

- sorted original list generated randomly, (Ex: [1,1,4,4,4,5,6,6,10,10,10,10]) 

- duplicate values that appear more than 2 times, and (Ex : [4,4,4,10,10,10,10]) 

- the list without duplicates that appear more than 2 times. (Ex: [1,1,5,6,6])


Question II: Write the missing functions myAverage, myStandardDev, myMin, and myCorrelation in the following code. The formulas for average (mean), standard deviation and correlation are given below.

Instruction Files

Related Questions in computer science category