Skip to main content
June 5, 2016
Answered

calculating standard deviation

  • June 5, 2016
  • 1 reply
  • 1355 views

Hello,

in pdf form, i want to calculate the standard deviation for 5 feilds named (F1,F2,F3,F4,F5) which is numeric and i think that this can be done through a custom calculating script.. can you help me please in a code to perform this calculation...

thank you

This topic has been closed for replies.
Correct answer gkaiseril

i'm sorry that i'm a bignner but if u can send the form that you used to calculate the Standard deviation i will be gratefull. i will use it as a guide. thanks alot


Here is a tested link to the drop box file. You do not need to join, just click "continue to view" and download the form to use the form.

Calculate Standard Deviation

1 reply

Inspiring
June 5, 2016

Please see the response to your first post.

please help me

For a link to a post that has the functions to compute the mean average, sum, count and standard deviation from an array of values. Using the array allows one to use the filter method of the array to remove unwanted values like null strings.

June 5, 2016

i put it, but it does not work

i place the feilds name (F1,F2,F3,F4,F5) instead the numbers that he use.. how i could correct it

Inspiring
June 5, 2016

This is all custom JavaScript.

You need to create an array of the non-null values form your fields. Then  use that array of values as the parameter to the function calls to get the result of the function returned back to your script. You then need to use more JavaScript to set your field values.

With your values my form calculates a sum of 6.26, an average of 1.252, and a standard deviation of 0.24252010225958592

Calculate Standard Deviation