Hello
I have a quality database and I calculated the standard deviation for my accuracy rate.
I have calculated:
the accuracy rate + 1 standard deviation (STDevplus1)
the accuracy rate + 2 standard deviations (STDevplus2)
the accuracy rate - 1 standard deviation (STDevminus1)
the accuracy rate - 2 standard deviations (STDevminus2)
Now.. I'm trying to make sure that these totals don't display weird numbers
For example if my accuracy rate is 97% and my standard deviation is 8.6% then my standard deviation +1 is 105.6%. But since my accuracy rate can never be over 100% I only want to display 100% when it goes over.
I wrote something like this: STDevplus1limited: IIf([STDevplus1]>"100",100,[STDevplus1])
but with that i get 105.6%.
If i change it to: STDevplus1limited: IIf([STDevplus1]>100,100,[STDevplus1])
I get 105.6%
If I change it to: STDevplus1limited: IIf([STDevplus1]>100,"100",[STDevplus1])
I get everything after the decimal point.
I'm stumped.
Thanks!
~Nova
I have a quality database and I calculated the standard deviation for my accuracy rate.
I have calculated:
the accuracy rate + 1 standard deviation (STDevplus1)
the accuracy rate + 2 standard deviations (STDevplus2)
the accuracy rate - 1 standard deviation (STDevminus1)
the accuracy rate - 2 standard deviations (STDevminus2)
Now.. I'm trying to make sure that these totals don't display weird numbers
For example if my accuracy rate is 97% and my standard deviation is 8.6% then my standard deviation +1 is 105.6%. But since my accuracy rate can never be over 100% I only want to display 100% when it goes over.
I wrote something like this: STDevplus1limited: IIf([STDevplus1]>"100",100,[STDevplus1])
but with that i get 105.6%.
If i change it to: STDevplus1limited: IIf([STDevplus1]>100,100,[STDevplus1])
I get 105.6%
If I change it to: STDevplus1limited: IIf([STDevplus1]>100,"100",[STDevplus1])
I get everything after the decimal point.
I'm stumped.
Thanks!
~Nova