Write two functions respectively: one to get the mean of a data vector; the other one by
Fantastic news! We've Found the answer you've been seeking!
Question:
- Write two functions respectively: one to get the mean of a data vector; the other one by using the short cut formula to calculate the sample variance of a data vector. Use the vector y=(11,11,10,8,11,3,15,11,7,6) as your test vector.
Related Book For
Systems Analysis and Design
ISBN: 978-1305494602
11th Edition
Authors: Scott Tilley, Harry J. Rosenblatt
Posted Date: