Hola,
¿Hay alguna manera de que JMP pueda enviar un correo electrónico de alerta para la detección de un punto de cambio utilizando el gráfico de control multivariante?
Gracias por adelantado,
Valerie
Usando el enfoque a continuación, supongo que puede enviar alertas desde más o menos cualquier plataforma. ¡Sin embargo, no probado en este caso!
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;
);
);