0

plz i have question that is statistical
which is course that i still missed ..

how i can make code for median , mean,strdDevition , mode else
presented as class and object

i will realy thanks for whom will help me ,,

4
Contributors
4
Replies
6
Views
5 Years
Discussion Span
Last Post by adityatandon
Featured Replies
  • 1
    Narue 5,707   5 Years Ago

    [QUOTE]i am don't know what median is ? or strdDevition ?[/QUOTE] [URL="http://lmgtfy.com/?q=mean+median+mode+%22standard+deviation%22"]Do you know what Google is?[/URL] Read More

0

First you need to know what those topics are. Then if you know how to manipulate arrays the code to do this becomes pretty straight forward. Post specific question about a specific problem with relevant code and/or error messages and you will likely get all the help you need to work your way through the assignment. However, doing the assignment for you is discouraged here at Daniweb.

0

Ok... If u still havent found it !

Mean - Average value - Can be found by adding all the numbers and then divided by the total number of numbers added
Formula : Mean = a + b + c + d / 4
eg : 1 + 2 + 3 + 4 = 10/4 = 2.5

Mode - The number that appears maximum no of times, whose frequency is the maximum
eg : 2 5 6 7 2 3 4 5 2 2 2 8 7 9
In the above numbers '2' appears the most number of times, hence 2 is the mode

Median - From a list either in ascending or descending order, the centre most element
eg: 1 2 3 4 5 6 7 8 9 10 11
From the list above, the median is 6

Std Dev -
Formula = Sum of (x^2) - sum of(x)^2
where x is the mean value
Note : x^2 represents x to the power 2 or x square

This article has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.