Community Trekker

Joined:

Dec 24, 2015

How can I extract change point value of multivariate control chart by JSL?

Hi all:

Recently I'm studying statistical process control theory.

And I found there's "multivariate control chart" function in JMP, which also be able to conduct change point analysis (CPA) inside.

However, I'm curious about how to write JSL to extract value of "change point", which is always shown as text of "The change point appears at row N".

From "copy script" option, only "(1) Change Point Analysis" is related to CPA and it's just to enable function, not to extract value.

This question bothered me for a while and thanks all for reading!

1 ACCEPTED SOLUTION

Accepted Solutions

Staff

Joined:

Jun 23, 2011

Solution

Re: How can I extract change point value of multivariate control chart by JSL?

You can always dig it out of the report:

dt = Open("\$SAMPLE_DATA/Quality Control/Gravel.jmp");

mvc = dt << RunScript("Multivariate Control Chart");

cpText = Report(mvc)[TextBox(8)] << getText;

cpTextWords = Words(cpText);

rn = Num(Substr(cpTextWords[7], 1, Length(cpTextWords[7])-1));

Print(rn);

3 REPLIES

Staff

Joined:

Jun 23, 2011

Solution

Re: How can I extract change point value of multivariate control chart by JSL?

You can always dig it out of the report:

dt = Open("\$SAMPLE_DATA/Quality Control/Gravel.jmp");

mvc = dt << RunScript("Multivariate Control Chart");

cpText = Report(mvc)[TextBox(8)] << getText;

cpTextWords = Words(cpText);

rn = Num(Substr(cpTextWords[7], 1, Length(cpTextWords[7])-1));

Print(rn);

Community Trekker

Joined:

Dec 24, 2015

Re: How can I extract change point value of multivariate control chart by JSL?

Hi Ian:

It's amazing! I've tried it today and found change point could be recorded as a variable.

But could I ask one more question?

Currently I've written some SAS codes in enterprise guide (SAS ver: 9.3), and is there any fast way to read JMP variable from SAS?

So far I think I can call JMP script to execute from SAS, then put rn in a JMP / SAS table. And finally use SAS to import the table to get the value.

However I thought it contains too much procedures...so I'm searching if other better way for it.

Staff

Joined:

Jun 23, 2011