こんにちは、
多変量管理図を使用して、JMPが変化点検出のアラートメールを送信する方法はありますか。
前もって感謝します、
ヴァレリー
以下のアプローチを使用すると、多かれ少なかれ任意のプラットフォームからアラートを送信できると思います。 ただし、この場合はテストされていません。
NamesDefaultToHere(1);
dt = Open("$SAMPLE_DATA/Quality Control/Gravel.jmp");
// Do the change point detection
mvcc = dt << Multivariate Control Chart(
Y( :Large, :Medium ),
T Square Chart( 0 ),
Change Point Detection( 1 ),
SendToReport(
Dispatch(
{"Change Point Detection"},
"Change Point Detection",
FrameBox,
{Frame Size( 338, 127 )}
)
)
);
// Get the data 'behind' the Test Statistic plot
fb = Report(mvcc)[FrameBox(1)];
seg = (fb << Find Seg( Marker Seg( 1 ) ));
x = seg << getXvalues;
y = seg << getYvalues;
// Find any test statistics bigger than 1.0
bigYpos = Loc(y > 1.0);
// Alert on the first exception (if there is one)
if (NRow(bigY) > 0,
yVal = y[bigYpos[1]];
xVal = x[bigYpos[1]];
Mail(
"ian.cox@jmp.com",
"Change Point Detected",
"At row number "||Char(xVal)||".",
dt << getName;
);
);