Folks

I have an engineering function issue with PEs. I need to obtain the 95th percentile of a range of values associated with a tag. How would I do this using performance equations? If not possible via PEs any alternative suggestions would be appreciated.

Kind Regards

Paul J.

There are several definitions of percentile but if you are using the statistical deviation you can use performance equations to find the time-weighted average and the time-weighted standard deviation. You can add two standard deviations to the average to find the 95th percentile. Check out TagAvg and stDev PE functions. If you are using AF 2018 and higher and can use array functions, you could try the SStDev function on the array to return an event weighted standard deviation.

If the above functions do not work for you, let me know and I will provide other methods I have used for percentile calculations for my customers.