Skip to Content
0
Former Member
Nov 30, 2006 at 10:20 AM

To calculate the standard deviation & mean with an internal table

734 Views

Hi,

I need to create a function module to compute the standard deviation .

The parameters of the function module would be :

1. Tables : a table containing a list of number ( type of numbers would be packed with 2 decimals)

2. Export : average value and standard deviation of the numbers input in the above table.

How to calculate the mean & standard deviation?

N--> given by the user in selection-screen

If possible , provide the code also

Thanks & points will be rewarded

N is the number of values input, and average is