cancel
Showing results for 
Search instead for 
Did you mean: 

How to caluculate standarard deviation in SAP xMII

Former Member
0 Kudos

Hi friends,

can please guide how to caluculate standarard deviation in SAP xMII

Thanks

srikanth

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Srikanth

U need not to calculate Standard Deviation manually as there is xMII-defined Action block <b>Aggregate Statistics</b> under XML function option in Business Logic Services.

Regards

Som

Former Member
0 Kudos

Hi Som,

The problem was solved by using Aggregate statistics.

But can you please explain what is difference between Statistics service and Aggregate Statistics service

Thanks

Srikanth

Former Member
0 Kudos

Srikanth

Where did u hv got <b>Statistics Services</b> in xMII?

But in general, u r saying both terms in different names, though both r same in function (return a set of Statistical Calculations, eg - Max, Min, Average, Count, Total, Standard Deviation).

But in xMII BLS, wat u r using is called with name <b>Aggragate Statistics</b> term.

Pls dont get confused with Terminology

Regards

Som

Former Member
0 Kudos

Hi Som,

Simple statistics function was In Misc Functions .

"Simple statistics" and "Aggragate Statistics" also having same functions Max, Min, Average, Count, Total, Standard Deviation.

But i am not getting the O/P by using "simple statistics"

In the standard deviation i am getting first column of table as the o/p

Thanks

sriknath

Former Member
0 Kudos

Srikanth

Thats right. there is an Action Block called <b>Simple Statistics</b>, whose function is much different from that of <b>Aggregate Statistics</b> in the usage of BLS.

<b>Aggregate Statistics</b>

This is used to return Statistical Calculation Values for a set of Values at one time. This is used with XPath Target (Value Source) hitting a Column in an XML Result. In turn, this gives the Statistical Calculation for the set of values in that column.

<b>Simple Statistics</b>

This is used to return Statistical Calculation Values for a dataset which dynamically gets updated with newly added value. So this Action Block is used inside a Repeater Action block, which in turn gets the value from an XML Source, sets that value with ValueSource Property in Simple Statistics. Hence, the calculated statistical value will be dynamically updated with newly added value while looping the XML Source.

Regards

Som

Answers (2)

Answers (2)

Former Member
0 Kudos

Question was answered

Former Member
0 Kudos

Hi Srikanth,

U can calculate S.D with help of SPC Chart,

-Select Query Template and select display template type SPC Chart and There use S.D

Thanks

Ramesh

Former Member
0 Kudos

Hi,

Formula=sqrt(sum(x-m)2/n-1

where X=Samples

M=sample Mean values

N=No.of Samples

Thanks

Ramesh