Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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:
| Student | X | X-Mean | (X- Mean)^2 | Standard Deviation |
| A | 65.0 | -7.33 | 53.8 | |
| B | 60.0 | -12.33 | 152.1 | |
| C | 70.0 | -2.33 | 5.4 | |
| D | 83.0 | 10.67 | 113.8 | |
| E | 56.0 | -16.33 | 266.8 | |
| F | 100.0 | 27.67 | 765.4 | |
| Total | 434.0 | 0.0 | 1,357.3 | |
| Mean | 72.3 | |||
| Standard Deviation | 16.5 |
Thank You
Tracy
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)
Please refer attached app
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](/legacyfs/online/196642_2018-03-18 12_17_02-QlikView x64 - [C__Users_Stefan_Downloads_Meam.qvw_].png)
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)
Hi,
you could also use the straight table in-built total mode or a statistics box to calculate the StDev:
hope this helps
regards
Marco
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.
Dear Mr. Shivesh Singh
Thank you for your quick advice, I have learned from you how to use the pow command.
Best Regards
Tracy
Dear Mr. Stefan Wuhl
Thank you for teaching me a new command to compute standard deviation easily.
Best Regards
Tracy
Glad to know it worked ![]()