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 ,,

Recommended Answers

All 4 Replies

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.

thank you
..
i am don't know what median is ?
or strdDevition ?

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.