Question: Thanks in advance for the help! Develop a user defined function MyVar that calculates a variance by using the following equation, MySummer = i =1

 Thanks in advance for the help!Develop a user defined function "MyVar"

Thanks in advance for the help!

Develop a user defined function "MyVar" that calculates a variance by using the following equation,

MySummer = i=1 n

And, test your own function by using the values

n

(X Avg)2

n

(X4 2X5 +13X7)

iii (5X4 13X3 X2)

i 2n1

MyVar= i=1

where Avg represents the average of variable X i . And, test your own function by using the

values given on the sheet "P3". Remember that this function must have three arguments (X, Avg, and n).

(b) Develop a user defined function "MySummer" that calculate the weighted average with the

equation, given. Reminder: this function must have two arguments, X, and n.

that calculates a variance by using the following equation, MySummer = i=1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!