22. 표준 점수
수학 공식을 Tableau 수식으로 변환
𝑥𝑖 = each point of data = AVG([Calories]) for each Display_Name
𝑥 = the average of all points = WINDOW_AVG(AVG([Calories]))
𝑠 𝑥= standard deviation of all points = WINDOW_STDEV(AVG([Calories]))
24. Np 관리도 수식
Where:
n = sample size
P-bar = percent of defective units.
This is (Number of Defectives)/(Total
Sample Size)
25. Explanation of Translating NP calc into
Tableau
P-bar:
WINDOW_SUM(SUM([Defectives]))/WINDOW_SUM(SUM([Sample Size]))
N :
SUM([Sample Size])
여러 번 출현하는 것은 별도의 계산 필드로 작성.
여기서는 n*p-bar를 여러 번 사용하게 되므로 계산 필드로 만들어 놓기로 함
Np-bar:
[N]*[P-bar]
하나의 계산 필드에서 +와 –를 동시에 표현할 수 없으므로 별도의 계산식으로
분리. Upper Control Limit (UCL) 및 Lower Control Limit (LCL)
UCL:
[np-bar]+3*SQRT( [np-bar]*(1-[P-bar]) )
LCL:
[np-bar]-3*SQRT( [np-bar]*(1-[P-bar]) )
26. UCL과 LCL을 벗어나는 마크 색상 표시
IF
SUM ( [Defectives] ) > [UCL] OR
SUM ( [Defectives] ) < [LCL]
THEN ‘Out of Control’
ELSE ‘In Control’
END