Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
tracycrown
Creator III
Creator III

Standard Deviation

Dear Sir/Madam

Can someone help to advise how to compute column 3 (X-Mean), column 4 (X-Mean)^2 and standard deviation ?.

The answer is as follows:

   

StudentXX-Mean(X- Mean)^2Standard Deviation
A65.0-7.3353.8
B60.0-12.33152.1
C70.0-2.335.4
D83.010.67113.8
E56.0-16.33266.8
F100.027.67765.4
Total434.00.01,357.3
Mean72.3
Standard Deviation 16.5

Thank You

Tracy

1 Solution

Accepted Solutions
shiveshsingh
Master
Master

Capture.JPG

Expression for your SD, put this in last column

pow(sum(TOTAL (aggr(pow(sum(X)-sum(TOTAL(X))/count(TOTAL(Student)),2),Student)))/5,0.5)

View solution in original post

8 Replies
shiveshsingh
Master
Master

Please refer attached app

Capture.JPG

swuehl
MVP
MVP

The standard deviation can just be calculated using Stdev() function:

=Stdev(X)

e.g. in a text box.

2018-03-18 12_17_02-QlikView x64 - [C__Users_Stefan_Downloads_Meam.qvw_].png

shiveshsingh
Master
Master

Capture.JPG

Expression for your SD, put this in last column

pow(sum(TOTAL (aggr(pow(sum(X)-sum(TOTAL(X))/count(TOTAL(Student)),2),Student)))/5,0.5)

MarcoWedel

Hi,

you could also use the straight table in-built total mode or a statistics box to calculate the StDev:

QlikCommunity_Thread_295087_Pic1.JPG

QlikCommunity_Thread_295087_Pic2.JPG

QlikCommunity_Thread_295087_Pic3.JPG

QlikCommunity_Thread_295087_Pic4.JPG

hope this helps

regards

Marco

tracycrown
Creator III
Creator III
Author

Dear Mr Macro Wedel

You have enlightened me a new way to get the answers by using Statistical Function in Qlikview which I have not used it before, thank you very much.

Also, many thanks for your full support.

Best Regards

Tracy. 

tracycrown
Creator III
Creator III
Author

Dear Mr. Shivesh Singh

Thank you for your quick advice, I have learned from you how to use the pow command.

Best Regards

Tracy

tracycrown
Creator III
Creator III
Author

Dear Mr. Stefan Wuhl

Thank you for teaching me a new command to compute standard deviation easily.

Best Regards

Tracy 

shiveshsingh
Master
Master

Glad to know it worked