diff -r f0c93ea97e4c -r 9ced58c5c3b6 statistics/questions.rst --- a/statistics/questions.rst Thu Oct 21 18:22:07 2010 +0530 +++ b/statistics/questions.rst Tue Oct 26 15:44:09 2010 +0530 @@ -8,15 +8,13 @@ sum 2. Calcutate the mean of the given list? - student_marks=[74,78,56,87,91,82] mean(student_marks) -3. Given a two dimensional list,:: +3. Given a two dimensional list, two_dimensional_list=[[3,5,8,2,1],[4,3,6,2,1]] - how do we calculate the mean of each row? @@ -27,7 +25,6 @@ std 5. Calcutate the median of the given list? - student_marks=[74,78,56,87,91,82] median(age_list) @@ -50,5 +47,10 @@ .. A minimum of 2 questions here (along with answers) -1. Question 1 -2. Question 2 +1. Get the weighted mean of [74,64,86,76,83] where the weights are + [2,2,1,4,4] respectively. + + Hint: Readup on function average using average? + +2. Calculate the weighted standard deviation for the sequence [74,64,86,76,83], such that the weights are [2,2,1,4,4] . +